Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Manual does not show DEFINES function definitions #656

Open
acoglio opened this issue Oct 15, 2016 · 0 comments
Open

Manual does not show DEFINES function definitions #656

acoglio opened this issue Oct 15, 2016 · 0 comments

Comments

@acoglio
Copy link
Member

acoglio commented Oct 15, 2016

Loading a file with the content below in an ACL2 session and then opening test-manual/index.html (tried Safari and Firefox) does not show the definitions of F and G in their manual pages.

(in-package "ACL2")

(include-book "std/util/defines" :dir :system)
(include-book "xdoc/save" :dir :system)

(defines f
  :parents (top)

  (define f ((term pseudo-termp))
    (cond ((variablep term) t)
          ((fquotep term) t)
          (t (g (fargs term)))))

  (define g ((terms pseudo-term-listp))
    (cond ((endp terms) t)
          (t (and (f (car terms))
                  (g (cdr terms)))))))

(xdoc::save (oslib::catpath (cbd) "test-manual")
            :redef-okp t)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant