(mac this-is-a-well-documented-macro (a b c) ; documentation for me! `(foo ,a ,b ,c)) (mac this-is-an-undocumented-macro (a b c) `(baz ,a ,b ,c)) (def this-is-a-well-documented-def (a b c) ; documentation for me! (foo a b c)) (def this-is-an-undocumented-def (a b c) (baz a b c)) (examples-for isa-comment? ("identifies a comment" (isa-comment? '(comment "yes, it is")) t) ("identifies a non-comment" (isa-comment? "not this time") nil)) (examples-for dox-gather-comments ("find no comments" (dox-gather-comments '((this) (that))) (nil ((this) (that)))) ("finds one comment" (dox-gather-comments '((comment "hello") (this) (that))) (("hello") ((this) (that)))) ("finds more comments" (dox-gather-comments '((comment "hello") (comment "more details") (comment "very rigourous") (this) (that))) (("hello" "more details" "very rigourous") ((this) (that))))) (examples-for dox-show-info ("shows each item" (dox-show-info "bingo" 'def '("there was a farmer had a dog" "and Bingo was his name-o") '(count) '(def bingo (count) (times count (bark)))) "Function : bingo args : (count) there was a farmer had a dog and Bingo was his name-o source ====== \(def bingo (count) (times count (bark))) ")) (examples-for dox-lookup ("finds info for a documented macro" (dox-lookup 'this-is-a-well-documented-macro) ((this-is-a-well-documented-macro mac ("documentation for me!") (a b c) (mac this-is-a-well-documented-macro (a b c) `(foo ,a ,b ,c))))) ("finds info for an undocumented macro" (dox-lookup 'this-is-an-undocumented-macro) ((this-is-an-undocumented-macro mac nil (a b c) (mac this-is-an-undocumented-macro (a b c) `(baz ,a ,b ,c))))) ("finds info for a documented def" (dox-lookup 'this-is-a-well-documented-def) ((this-is-a-well-documented-def def ("documentation for me!") (a b c) (def this-is-a-well-documented-def (a b c) (foo a b c))))) ("finds info for an undocumented def" (dox-lookup 'this-is-an-undocumented-def) ((this-is-an-undocumented-def def nil (a b c) (def this-is-an-undocumented-def (a b c) (baz a b c)))))) (examples-for dox-arg-names ("macro" (dox-arg-names 'this-is-a-well-documented-macro) (a b c)) ("function def" (dox-arg-names 'this-is-a-well-documented-def) (a b c))) (examples-for dox-src ("mac src" (dox-src 'this-is-a-well-documented-macro) (mac this-is-a-well-documented-macro (a b c) (quasiquote (foo (unquote a) (unquote b) (unquote c))))) ("def src" (dox-src 'this-is-a-well-documented-def) (def this-is-a-well-documented-def (a b c) (foo a b c)))) (examples-for dox-what-is? ("for mac" (dox-what-is? 'this-is-a-well-documented-macro) mac) ("is a def" (dox-what-is? 'this-is-a-well-documented-def) def)) (examples-for dox-show-one-example ("produces a string representation of a given example" (dox-show-one-example 'foo '("this is an example of an example" (foo bar yadda 1 2 3) 720)) "foo this is an example of an example example : (foo bar yadda 1 2 3) returns : 720 -------------------------------- "))