* moved date-string to ikarus.date-string.ss
This commit is contained in:
parent
b3f5d5780a
commit
77f87faeaa
BIN
src/ikarus.boot
BIN
src/ikarus.boot
Binary file not shown.
|
@ -16,11 +16,6 @@
|
|||
(lambda (x)
|
||||
(pointer-value x)))
|
||||
|
||||
(primitive-set! 'date-string
|
||||
(lambda ()
|
||||
(let ([s (make-string 10)])
|
||||
(foreign-call "ikrt_strftime" s "%F")
|
||||
s)))
|
||||
|
||||
|
||||
)
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
|
||||
(library (ikarus date-string)
|
||||
(export date-string)
|
||||
(import (except (ikarus) date-string))
|
||||
(define date-string
|
||||
(lambda ()
|
||||
(let ([s (make-string 10)])
|
||||
(foreign-call "ikrt_strftime" s "%F")
|
||||
s))))
|
|
@ -35,6 +35,7 @@
|
|||
"ikarus.chars.ss"
|
||||
"ikarus.records.ss"
|
||||
"ikarus.strings.ss"
|
||||
"ikarus.date-string.ss"
|
||||
"ikarus.symbols.ss"
|
||||
"ikarus.vectors.ss"
|
||||
"ikarus.numerics.ss"
|
||||
|
|
Loading…
Reference in New Issue