mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-05 12:16: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)))
|
||||
objs)
|
||||
#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)
|
||||
(raise (cons msg args)))
|
||||
(define (raise obj)
|
||||
|
|
Loading…
Add table
Reference in a new issue