* moved date-string to ikarus.date-string.ss

This commit is contained in:
Abdulaziz Ghuloum 2007-05-05 23:03:29 -04:00
parent b3f5d5780a
commit 77f87faeaa
4 changed files with 10 additions and 5 deletions

Binary file not shown.

View File

@ -16,11 +16,6 @@
(lambda (x) (lambda (x)
(pointer-value x))) (pointer-value x)))
(primitive-set! 'date-string
(lambda ()
(let ([s (make-string 10)])
(foreign-call "ikrt_strftime" s "%F")
s)))
) )

View File

@ -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))))

View File

@ -35,6 +35,7 @@
"ikarus.chars.ss" "ikarus.chars.ss"
"ikarus.records.ss" "ikarus.records.ss"
"ikarus.strings.ss" "ikarus.strings.ss"
"ikarus.date-string.ss"
"ikarus.symbols.ss" "ikarus.symbols.ss"
"ikarus.vectors.ss" "ikarus.vectors.ss"
"ikarus.numerics.ss" "ikarus.numerics.ss"