aboutsummaryrefslogtreecommitdiff
path: root/src/Main.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-07 12:16:32 +0100
committerJoris Guyonvarch2015-03-07 12:16:32 +0100
commit8f8df67f3795b02c6918d7df832580e9de7d0802 (patch)
treee8788ff319b0b18f7cf3bead073a8e90a36608ee /src/Main.elm
parent1b23d8adcd01345eb4a2e7299e07b1f37fee7e8a (diff)
downloadcatchvoid-8f8df67f3795b02c6918d7df832580e9de7d0802.tar.gz
catchvoid-8f8df67f3795b02c6918d7df832580e9de7d0802.tar.bz2
catchvoid-8f8df67f3795b02c6918d7df832580e9de7d0802.zip
Generate html with elm
Diffstat (limited to 'src/Main.elm')
-rw-r--r--src/Main.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.elm b/src/Main.elm
index fcafbda..9286ed9 100644
--- a/src/Main.elm
+++ b/src/Main.elm
@@ -3,6 +3,7 @@ module Main where
import Signal
import Random
import Graphics.Element (Element)
+import Html (Html)
import Game (Game, initialGame)
import Display (display)
@@ -10,7 +11,7 @@ import Step (step)
import Input (getInput)
import Vec2 (originVec)
-main : Signal Element
+main : Signal Html
main = Signal.map display game
game : Signal Game