Tutorial by Examples

Using sequence function you can easily describe a message that calls a list of other messages. It's useful when dealing with semantics of your messages. Example 1: You are making a game engine, and you need to refresh the screen on every frame. module Video exposing (..) type Message = module Vid...
The andThen function allows update call composition. Can be used with the pipeline operator (|>) to chain updates. Example: You are making a document editor, and you want that each modification message you send to your document, you also save it: import Update.Extra exposing (andThen) import U...

Page 1 of 1