summaryrefslogtreecommitdiff
path: root/scheme/plt/geiser/utils.ss
diff options
context:
space:
mode:
authorJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-04 20:49:46 +0200
committerJose Antonio Ortega Ruiz <jao@gnu.org>2009-05-04 20:49:46 +0200
commit1de0625a0a4ec28744e6d7fec45e7713ee505cfa (patch)
treea3d59e611fba6418bc43b2b1fa3c647f4c00fa08 /scheme/plt/geiser/utils.ss
parent41ec4384042deaf4a6093594a4dbff2958485e32 (diff)
downloadgeiser-guile-1de0625a0a4ec28744e6d7fec45e7713ee505cfa.tar.gz
geiser-guile-1de0625a0a4ec28744e6d7fec45e7713ee505cfa.tar.bz2
PLT: argument position and syntax and variable recognition in autodoc.
Diffstat (limited to 'scheme/plt/geiser/utils.ss')
-rw-r--r--scheme/plt/geiser/utils.ss4
1 files changed, 3 insertions, 1 deletions
diff --git a/scheme/plt/geiser/utils.ss b/scheme/plt/geiser/utils.ss
index 258a55d..557cf26 100644
--- a/scheme/plt/geiser/utils.ss
+++ b/scheme/plt/geiser/utils.ss
@@ -28,7 +28,8 @@
(provide module-path-name->name
pair->list
- keyword->symbol)
+ keyword->symbol
+ symbol->keyword)
(require srfi/13)
@@ -58,5 +59,6 @@
(else (loop (cdr d) (cons (car d) s))))))
(define keyword->symbol (compose string->symbol keyword->string))
+(define (symbol->keyword sym) (string->keyword (format "~a" sym)))
;;; utils.ss ends here