Re: Leap second bug?

2008-06-08 Thread Ondrej Zajicek
On Sat, Jun 07, 2008 at 10:40:54PM +0200, Ondrej Zajicek wrote: > (date->str (time-utc->date (date->time-utc (str->date "01-01-2006" > -> "31-12-2005" > > Is is a bug in leap second handling or is it a expected behavior? I forgot to mention t

Leap second bug?

2008-06-07 Thread Ondrej Zajicek
Hello I found this: (use-modules (srfi srfi-19)) (define (str->date str) (string->date str "~d-~m-~Y")) (define (date->str str) (date->string str "~d-~m-~Y")) (date->str (time-utc->date (date->time-utc (str->date "01-01-2006" -> "31-12-2005" Is is a bug in leap second handling or is it a e

c interface to modules

2005-06-17 Thread Ondrej Zajicek
Hello I would like to export two sets (low-level and high-level interface) of C functions to Scheme. I think it is a good idea to have each interface in different module. What is a good way to define C function in specific module? Should i just replace scm_c_define_gsubr with combination of scm_c_m