Module

Concur.Core

Package
purescript-concur-react
Repository
ajnsit/purescript-concur

#WidgetStep Source

newtype WidgetStep v a

Constructors

Instances

#unWidgetStep Source

unWidgetStep :: forall a v. WidgetStep v a -> IOSync { cont :: IO a, view :: v }

#displayStep Source

displayStep :: forall v a. v -> WidgetStep v a

#Widget Source

newtype Widget v a

Constructors

Instances

#unWidget Source

unWidget :: forall a v. Widget v a -> Free (WidgetStep v) a

#mapView Source

mapView :: forall v a. (v -> v) -> Widget v a -> Widget v a

#mapViewStep Source

mapViewStep :: forall a v2 v1. (v1 -> v2) -> WidgetStep v1 a -> WidgetStep v2 a

#display Source

display :: forall v a. v -> Widget v a

#orr Source

orr :: forall a m. Plus m => Array (m a) -> m a

#effAction Source

effAction :: forall eff v a. v -> Eff eff a -> Widget v a

#unsafeBlockingEffAction Source

unsafeBlockingEffAction :: forall eff v a. v -> Eff eff a -> Widget v a

#affAction Source

affAction :: forall eff v a. v -> Aff eff a -> Widget v a

#withViewEvent Source

withViewEvent :: forall v a. ((a -> IOSync Unit) -> v) -> Widget v a

#wrapViewEvent Source

wrapViewEvent :: forall v b a. ((a -> IOSync Unit) -> v -> v) -> Widget v b -> Widget v (Either a b)