summaryrefslogtreecommitdiff
path: root/scheme
diff options
context:
space:
mode:
Diffstat (limited to 'scheme')
-rw-r--r--scheme/guile/geiser/modules.scm5
-rw-r--r--scheme/guile/geiser/utils.scm6
2 files changed, 4 insertions, 7 deletions
diff --git a/scheme/guile/geiser/modules.scm b/scheme/guile/geiser/modules.scm
index df53acb..780d39e 100644
--- a/scheme/guile/geiser/modules.scm
+++ b/scheme/guile/geiser/modules.scm
@@ -1,6 +1,6 @@
;;; modules.scm -- module metadata
-;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -64,7 +64,7 @@
(define (all-modules)
(define (maybe-name m)
- (and (module-kind m) (format "~A" (module-name m))))
+ (and (module-kind m) (format #f "~A" (module-name m))))
(let* ((guile (resolve-module '(guile)))
(roots (remove (lambda (m) (eq? m guile)) (root-modules)))
(children (append-map all-child-modules roots)))
@@ -75,4 +75,3 @@
(fold (lambda (m all) (append (all-child-modules m all) all))
(list mod)
cs)))
-
diff --git a/scheme/guile/geiser/utils.scm b/scheme/guile/geiser/utils.scm
index 654cae8..92ed7ae 100644
--- a/scheme/guile/geiser/utils.scm
+++ b/scheme/guile/geiser/utils.scm
@@ -1,6 +1,6 @@
;;; utils.scm -- utility functions
-;; Copyright (C) 2009, 2010 Jose Antonio Ortega Ruiz
+;; Copyright (C) 2009, 2010, 2011 Jose Antonio Ortega Ruiz
;; This program is free software; you can redistribute it and/or
;; modify it under the terms of the Modified BSD License. You should
@@ -46,9 +46,7 @@
(sort! syms cmp))))
(define (gensym? sym)
- (and (symbol? sym) (gensym-name? (format "~A" sym))))
+ (and (symbol? sym) (gensym-name? (format #f "~A" sym))))
(define (gensym-name? name)
(and (string-match "^#[{]" name) #t))
-
-;;; utils.scm ends here