Created
December 7, 2015 17:51
-
-
Save odoe/6cd5728cc341ed1c9f93 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inbox : Signal.Mailbox Action | |
inbox = | |
Signal.mailbox NoOp | |
actions : Signal Action | |
actions = | |
Signal.merge inbox.signal (Signal.map UpdateModel portalItems) | |
model : Signal Model | |
model = | |
Signal.foldp update initialModel actions | |
main : Signal Html | |
main = | |
Signal.map (view inbox.address) model |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment