From ... From: Erik Naggum Subject: Re: Waving the lambda flag again (was: Constants and DEFCONSTANT) Date: 1999/04/07 Message-ID: <3132487825915707@naggum.no>#1/1 X-Deja-AN: 463665329 References: <7dr23c$2re$1@shell5.ba.best.com> <3131961221139730@naggum.no> <4niubflwhf.fsf@rtp.ericsson.se> <41UM2.19154$134.197089@tor-nn1.netcom.ca> <3132042770550791@naggum.no> <3132050414299555@naggum.no> mail-copies-to: never Organization: Naggum Software; +47 8800 8879; http://www.naggum.no Newsgroups: comp.lang.lisp * David Gadbois | I'm stumped. Are you talking about doing: | | (defun encode-time-values (days seconds milliseconds) | (dpb seconds (byte 17 10) | (dpb milliseconds (byte 10 0) | (ash days 27)))) | | ? no. I'm hinting at encoding year-month-day and hour-minute-second as bytes in a fixnum. little did I know this would be paper material in complexity. #:Erik