On Friday, January 27, 2017 at 10:15:49 AM UTC, Rupert Smith wrote:
>
> I think what is missing is DB access.
>

What would be even cooler is if you didn't need to worry about the 
database. If there was a way of declaring a Model in Elm, and every time 
you make an update to it, it automatically gets saved to the database, no 
need invoke a port to save it. I've always though a language which has 
persistence built in would be really cool. It could be done with Elm using 
the same trick as the time travelling debugger - just spool all the updates 
to disk and they form an 'event source' to recover the state from in the 
event of a crash. Occasionally you would check-point the entire state model 
to disk to make a fast recovery point. 

-- 
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