> On Sep 22, 2016, at 2:04 PM, Geoffrey Knauth <ge...@knauth.org> 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


> 
> -- 
> 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 racket-users+unsubscr...@googlegroups.com.
> 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 racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to