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