Created
September 14, 2015 01:07
-
-
Save rrichardson/a24d1c0461e909385d2c to your computer and use it in GitHub Desktop.
This file contains hidden or 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
import Effects exposing (Never) | |
import Board exposing (init, update, view, Action(..)) | |
import StartApp | |
import Task | |
import Window | |
import Signal | |
app = | |
StartApp.start | |
{ init = init | |
, update = update | |
, view = view | |
, inputs = [windowAct] | |
} | |
type Action = | |
Window (Int, Int) | |
| Foo | |
main = | |
app.html | |
port tasks : Signal (Task.Task Never ()) | |
port tasks = | |
app.tasks | |
windowAct : Signal Action | |
windowAct = Signal.map Window Window.dimensions |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment