-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Oct 20, 2006, at 2:54 AM, [EMAIL PROTECTED] wrote:
Fri, 20 Oct 2006 09:13:47 +0200 (CEST), Sven.Hartrumpf wrote:
Don't know. The srfi-29.meta (for ver 1.5, the current) needs
'miscmacros misc-extn lookup-table locale'.
I see. It looks like manual installation of single eggs might
be too complicated to get it right (at least for me, sorry).
But the fully automatic installation (i.e. chicken-setup srfi-19)
works perfectly for me.
One minor annoyance when converting from times to dates
is that one ends up with inexact values from date-year, date-month,
etc.:
(time-utc->date (make-time 'time-utc 0 1161337098))
#,(date 0 18 38 9 20 10 2006 0 CET #f #f) ; <-- fine
(time-utc->date (current-time))
#,(date 0 34.0 39.0 9.0 20.0 10.0 2006.0 0 CET #f #f) <-- not so fine
The just posted srfi-19 egg has the '->fixnum' operation re-
activated, so '20.0' stored as '20'.
The reason for this is that srfi-19.scm uses (current-seconds)
directly. A quick fix would be to replace this by
(inexact->exact (current-seconds)) but this might become
problematic looking at the ChangeLog entry for (current-seconds):
2004-01-12 flw <[EMAIL PROTECTED]>
- library.scm: `current-seconds' returns a flonum, now
[Thanks to Alejandro Forero Cuervo]
Greetings
Sven
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iEYEARECAAYFAkU5RV0ACgkQJJNoeGe+5O6ROgCfYxfL7M3K8ln0P70ZdXnnbgL/
KxUAn1VgO46rT3GjMrN/pNiL4nHSsBNR
=xCv2
-----END PGP SIGNATURE-----
_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users