Kevin Ryde <[EMAIL PROTECTED]> writes: > [EMAIL PROTECTED] (Ludovic Courtès) writes: >> >> + ABDAY_1 ABDAY_2 ABDAY_3 ABDAY_4 ABDAY_5 ABDAY_6 ABDAY_7 >> + DAY_1 DAY_2 DAY_3 DAY_4 DAY_5 DAY_6 DAY_7 > > By way of concrete suggestion, something like > > (locale-weekday N) > (locale-weekday-short N) > (locale-month N) > (locale-month-short N)
Yes, that looks nice. > or similar names would be much nicer than messing about with > > (... (+ ABDAY_1 N)) > (... (+ MON_1 N -1)) ;; if N is 1 to 12 Not sure about 1..12 though; 0-based indices are a pretty well established convention in Scheme, aren't they? Regards, Neil _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel