Module

Routing

Package
purescript-routing
Repository
slamdata/purescript-routing

#hashChanged Source

hashChanged :: forall e. (String -> String -> Eff e Unit) -> Eff e Unit

#hashes Source

hashes :: forall e. (String -> String -> Eff e Unit) -> Eff e Unit

#matches Source

matches :: forall a e. Match a -> (Maybe a -> a -> Eff e Unit) -> Eff e Unit

Stream of hash changed, callback called when new hash can be matched First argument of callback is Just a when old hash can be matched and Nothing when it can't.

#matches' Source

matches' :: forall a e. (String -> String) -> Match a -> (Maybe a -> a -> Eff e Unit) -> Eff e Unit

#matchesAff' Source

matchesAff' :: forall a e. (String -> String) -> Match a -> Aff e (Tuple (Maybe a) a)

#matchesAff Source

matchesAff :: forall a e. Match a -> Aff e (Tuple (Maybe a) a)

#match Source

match :: forall a. Match a -> String -> Either String a

#matchWith Source

matchWith :: forall a. (String -> String) -> Match a -> String -> Either String a