[Haskell-cafe] What is the good way to work with list comprehension and UTCTime?
Magicloud Magiclouds
magicloud.magiclouds at gmail.com
Fri Sep 14 07:29:52 CEST 2012
Hi,
Simple usage, I could make an instance of Enum to UTCTime, so
[utcTime..] could work. But that is so stiff. How if sometimes I want
to step by 1 min, sometimes I want to step by 1 sec?
So I think some way like [ t | addUTCTime last 60 ] could be nice.
But I cannot figure it out....
Any idea?
--
竹密岂妨流水过
山高哪阻野云飞
And for G+, please use magiclouds#gmail.com.
More information about the Haskell-Cafe
mailing list