Sorry, I'm still not sure how to pass a received date or model to 
comparison function.

On Tuesday, November 22, 2016 at 3:41:07 AM UTC+1, Max Goldstein wrote:
>
> You can partially apply the comparison function to the current date before 
> passing it to List.filter. The trick is that you have to get the current 
> date through a command, and either run the filter when the command comes 
> back, or keep the current date in the model. 

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" 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