• Top
    • Documentation
    • Books
    • Recursion-and-induction
    • Boolean-reasoning
    • Projects
    • Debugging
    • Std
    • Proof-automation
    • Macro-libraries
    • ACL2
    • Interfacing-tools
      • Io
      • Defttag
      • Sys-call
      • Save-exec
      • Quicklisp
      • Oslib
        • File-types
          • File-kind
          • Regular-files
          • Existing-paths
          • Missing-paths
          • Directories
          • Path-exists-p
          • Regular-file-p
          • Directory-p
          • Regular-files-p
          • Paths-all-missing-p
          • Paths-all-exist-p
          • Directories-p
          • Regular-files-exec
          • File-kind-p
          • Existing-paths-exec
          • Missing-paths-exec
            • Directories-exec
          • Argv
          • Copy
          • Catpath
          • Universal-time
          • Ls
          • Basename
          • Tempfile
          • Dirname
          • Copy!
          • Mkdir
          • Ls-files
          • Lisp-version
          • Rmtree
          • Ls-subdirs
          • Lisp-type
          • Date
          • Getpid
          • Basenames
          • Dirnames
          • Ls-subdirs!
          • Ls-files!
          • Dirname!
          • Basename!
          • Catpaths
          • Mkdir!
          • Ls!
          • Rmtree!
          • Remove-nonstrings
        • Std/io
        • Bridge
        • Clex
        • Tshell
        • Unsound-eval
        • Hacker
        • Startup-banner
        • Command-line
      • Hardware-verification
      • Software-verification
      • Testing-utilities
      • Math
    • File-types

    Missing-paths-exec

    Signature
    (missing-paths-exec paths acc &key (state 'state)) 
      → 
    (mv * * state)
    Arguments
    paths — Guard (string-listp paths).

    Definitions and Theorems

    Function: missing-paths-exec-fn

    (defun missing-paths-exec-fn (paths acc state)
           (declare (xargs :stobjs (state)))
           (declare (xargs :guard (string-listp paths)))
           "Tail recursive version for execution."
           (let ((__function__ 'missing-paths-exec))
                (declare (ignorable __function__))
                (b* (((when (atom paths)) (mv nil acc state))
                     ((mv err exists-p state)
                      (path-exists-p (car paths)))
                     ((when err) (mv err acc state))
                     (acc (if exists-p acc (cons (car paths) acc))))
                    (missing-paths-exec (cdr paths) acc))))