mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-05 20:26:35 +02:00
Added (make-string)
This commit is contained in:
parent
9ecb6d6668
commit
b578e13509
1 changed files with 6 additions and 0 deletions
|
@ -178,6 +178,12 @@
|
||||||
(return #f)))
|
(return #f)))
|
||||||
objs)
|
objs)
|
||||||
#t))))
|
#t))))
|
||||||
|
(define (make-string k . fill)
|
||||||
|
(let ((fill* (if (null? fill)
|
||||||
|
'(#\space)
|
||||||
|
fill)))
|
||||||
|
(list->string
|
||||||
|
(apply make-list (cons k fill*)))))
|
||||||
(define (error msg . args)
|
(define (error msg . args)
|
||||||
(raise (cons msg args)))
|
(raise (cons msg args)))
|
||||||
(define (raise obj)
|
(define (raise obj)
|
||||||
|
|
Loading…
Add table
Reference in a new issue