I just did this exercise too! My solution was to perform the validation from the update function and to save the error messages in the model.
On Saturday, 25 February 2017 06:55:06 UTC, Anurup Mitra wrote: > > Dear Alex, > > This is very elegant indeed! I am bowled over by the simplicity of it all. > So its like chaining mathematical functions... > > I'm off to read Learn You a Haskell. > > Thanks a ton mate! > > Best Regards > Anurup > -- 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 elm-discuss+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.