Module

SodiumFRP.Cell

Package
purescript-sodium
Repository
SodiumFRP/purescript-sodium

#sample Source

sample :: forall c a. SodiumCell c => c a -> a

Sample

#loopCell Source

loopCell :: forall c a. SodiumCell c => c a -> CellLoop 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 Source

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

#lift3 Source

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

#lift4 Source

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

#lift5 Source

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

#lift6 Source

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

#switchC Source

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

#switchS Source

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