Created
March 28, 2012 15:22
-
-
Save keenbug/2227217 to your computer and use it in GitHub Desktop.
fix for describe meta-command in guile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(define-meta-command (describe repl (form)) | |
"describe OBJ | |
Show description/documentation." | |
(display | |
(object-documentation | |
(let ((input (repl-parse repl form))) | |
(if (symbol? input) | |
(module-ref (current-module) input) | |
(repl-eval repl input))))) | |
(newline)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment