Having needed to work a fair bit with times and dates lately, I whipped up a literal syntax to represent SRFI-19 [1] date objects in a facile ISO-8601 [2] format:
#;1> (use date-literals) #;2> (current-date) [EMAIL PROTECTED]:40:15Z #;3> [EMAIL PROTECTED]:59:59Z [EMAIL PROTECTED]:59:59Z #;4> ,d [EMAIL PROTECTED] structure of type `date': ... The egg is called `date-literals' [3] and builds on Kon's SRFI-19 implementation. Hopefully someone finds this useful. [1] http://srfi.schemers.org/srfi-19/srfi-19.html [2] http://en.wikipedia.org/wiki/ISO_8601 [3] http://chicken.wiki.br/date-literals -- Arto Bendiken | http://bendiken.net/ _______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
