Module
Sijidou
- Package
 - purescript-sijidou
 - Repository
 - justinwoo/purescript-sijidou
 
#matchString Source
matchString :: forall a rl r. RowToList r rl => MatchString rl r a => Record r -> String -> Maybe aMatch a record of functions on a string, where if the string is equal to
the reflected symbol, the function will be called with the symbol proxy.
The functions must have the same return type of a.
#MatchString Source
class MatchString (rl :: RowList) (r :: Row Type) a | rl -> r a whereMembers
matchStringImpl :: RLProxy rl -> Record r -> String -> Maybe a
Instances
MatchString Nil r a(IsSymbol name, Cons name (SProxy name -> a) r' r, MatchString tail r a) => MatchString (Cons name ty tail) r a
- Modules
 - Sijidou