ramus-0.1.2: Elm signal system for Haskell
Ramus.Channel
Synopsis
newtype Channel a #
Constructors
channel :: a -> IO (Channel a) #
Creates a channel, which allows you to feed arbitrary values into a signal.
send :: Channel a -> a -> IO () #
Sends a value to a given channel.
subscribe :: Channel a -> Signal a #
Takes a channel and returns a signal of the values sent to it.