Skip to content

Instantly share code, notes, and snippets.

@giisyu
Created October 27, 2014 09:55
Show Gist options
  • Save giisyu/db696ccfc9a5d6f0ebd4 to your computer and use it in GitHub Desktop.
Save giisyu/db696ccfc9a5d6f0ebd4 to your computer and use it in GitHub Desktop.
listing the signal
main= eventFlow <| ---(signal)
eventFlow : Signal a -> Signal Element
eventFlow signal = let step a list = [(asText a)] ++ list
in flow down <~ foldp step [] signal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment