Module

PsSpa.Effect

Package
purescript-ps-spa
Repository
the-man-with-a-golden-mind/ps-spa

#Effect Source

data Effect command shared route

Constructors

#batch Source

batch :: forall command shared route. Array (Effect command shared route) -> Effect command shared route

#fromCommand Source

fromCommand :: forall command shared route. command -> Effect command shared route

#fromShared Source

fromShared :: forall command shared route. shared -> Effect command shared route

#mapCommand Source

mapCommand :: forall commandA commandB shared route. (commandA -> commandB) -> Effect commandA shared route -> Effect commandB shared route

#mapRoute Source

mapRoute :: forall command shared routeA routeB. (routeA -> routeB) -> Effect command shared routeA -> Effect command shared routeB

#mapShared Source

mapShared :: forall command sharedA sharedB route. (sharedA -> sharedB) -> Effect command sharedA route -> Effect command sharedB route

#none Source

none :: forall command shared route. Effect command shared route

#push Source

push :: forall command shared route. route -> Effect command shared route

#replace Source

replace :: forall command shared route. route -> Effect command shared route