Module

SodiumFRP.Cell

#sample

sample :: forall a cel. SodiumCell cel => cel a -> Effect a

Sample

#loopCell

loopCell :: forall a cel. SodiumCell cel => CellLoop a -> cel a -> Effect Unit

Resolve the loop to specify what the CellLoop was a forward reference to. It must be invoked inside the same transaction as the place where the CellLoop is used. This requires you to create an explicit transaction

#lift

lift :: forall a b c cel. SodiumCell cel => (a -> b -> c) -> cel a -> cel b -> Cell c

#lift3

lift3 :: forall a b c d cel. SodiumCell cel => (a -> b -> c -> d) -> cel a -> cel b -> cel c -> Cell d

#lift4

lift4 :: forall a b c d e cel. SodiumCell cel => (a -> b -> c -> d -> e) -> cel a -> cel b -> cel c -> cel d -> Cell e

#lift5

lift5 :: forall a b c d e f cel. SodiumCell cel => (a -> b -> c -> d -> e -> f) -> cel a -> cel b -> cel c -> cel d -> cel e -> Cell f

#lift6

lift6 :: forall a b c d e f g cel. SodiumCell cel => (a -> b -> c -> d -> e -> f -> g) -> cel a -> cel b -> cel c -> cel d -> cel e -> cel f -> Cell g

#switchC

switchC :: forall a cel. SodiumCell cel => cel (Cell a) -> Effect (Cell a)

#switchS

switchS :: forall a cel. SodiumCell cel => cel (Stream a) -> Stream a

Modules