Bulat Ziganshin <[email protected]> writes:

> Hello Jon,
>
> Monday, March 2, 2009, 2:22:55 PM, you wrote:
>
>> take 10 $ map (addDays (-1)) $ repeat $ utctDay $ zonedTimeToUTC now
>
> take 10 $ iterate (addDays (-1)) $ utctDay $ zonedTimeToUTC now

take anything I post before 14:00 with a pinch of salt. Or
something stronger.

-- 
Jón Fairbairn                                 [email protected]


_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to