Skip to content

Instantly share code, notes, and snippets.

@NalaGinrut
Created October 10, 2013 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NalaGinrut/6914993 to your computer and use it in GitHub Desktop.
Save NalaGinrut/6914993 to your computer and use it in GitHub Desktop.
print all doc-string in current-module in Guile
(for-each (lambda (s)
(let ((p (module-ref (current-module) s)))
(if (procedure? p)
(format #t "[~a]~%~@[~a~%~]" p (procedure-documentation p)))))
(apropos-internal ".*"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment