> On Sep 22, 2016, at 3:57 PM, Jon Zeppieri <zeppi...@gmail.com> wrote:
>>> On Sep 22, 2016, at 3:43 PM, Geoffrey Knauth <ge...@knauth.org> wrote:
>>> On Thursday, September 22, 2016 at 3:17:50 PM UTC-4, Jon Zeppieri wrote:
>>> 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).
>> The increment is a day (specifically 2016-01-01 through 2016-08-31, 00Z each
>> day. I was looking for a sequence so I could convert it a list and then map
>> a function that takes a moment over the list.
> I'm on my phone right now, so I can't actually test any code, but it should
> be pretty straightforward to create this:
> (lambda (x) (+days x 1))
> (lambda (x) (moment<? x end-moment))
> You may want to use an explicit offset resolver with +days, in case you land
> on a moment that doesn't exist in your chosen time zone.
Oh, but if you're just using UTC moments, you might consider using datetime
instead of moment. That way you don't need to worry about discontinuous
timelines at all.
>> 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.
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
For more options, visit https://groups.google.com/d/optout.