Created
August 28, 2015 20:14
-
-
Save amitaibu/671a66b22490b7f571f8 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
import Signal exposing (foldp, (<~)) | |
import Mouse | |
import Time exposing (Time, fps) | |
import Graphics.Element exposing (..) | |
import Debug exposing (watch) | |
timeSoFar : Signal Time | |
timeSoFar = | |
let | |
d = Debug.watch "foo" "bar" | |
in | |
foldp (+) 0 (fps 40) | |
main : Signal Element | |
main = | |
show <~ timeSoFar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment