Skip to content

Commit

Permalink
better example
Browse files Browse the repository at this point in the history
  • Loading branch information
rob7hunter committed Dec 17, 2008
1 parent 509de3d commit 0ab98a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util.scm
Expand Up @@ -436,7 +436,7 @@
;; (-> (listof any?) any? (listof any?))
;;
;; Analagous to string-join.
;; E.g., (list-join '(a b c) "hi!") => (a "hi" b "hi" c)
;; E.g., (list-join '(a b c) '(x x)) => (a (x x) b (x x) c)
;;
(define (list-join lst joiner)
(concatenate (pair-fold-right (lambda (pair acc)
Expand Down

0 comments on commit 0ab98a9

Please sign in to comment.