> On Sep 22, 2016, at 3:12 PM, Jon Zeppieri <[email protected]> wrote:
> 
> 
> 
>> On Sep 22, 2016, at 2:04 PM, Geoffrey Knauth <[email protected]> wrote:
>> 
>> Is it possible to build a sequence of moments?  (require gregor)
>> 
>> I had a sequence of seconds (since the epoch), as in:
>> 
>> (in-range start-seconds end-seconds seconds-in-a-day)
>> 
>> If I use moments, I'm wondering what goes in place of _HMM_:
>> 
>> (in-range start-moment end-moment _HMM_)
> 
> This should be more convenient than it is. There's a posix->datetime, and 
> then you'd have to construct a new moment from the resulting datetime's data, 
> plus a TZ. 
> 
> Internally, there's a function that makes this much easier, but it's not 
> provided. 
> 
> My apologies; I promise that the replacement library will make this easier.
> 
> - Jon
> 
> 

Oh, sorry: I thought you wanted a sequence of moments from start and end 
*seconds*. If you're starting with moments, you could just repeatedly add a 
second (if that's the increment you want).



>> 
>> -- 
>> You received this message because you we are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected].
>> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to