Module

Sijidou

Package
purescript-sijidou
Repository
justinwoo/purescript-sijidou

#matchString Source

matchString :: forall r rl a. RowToList r rl => MatchString rl r a => Record r -> String -> Maybe a

Match 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 :: # Type) a | rl -> r a where

Members

Instances

Modules
Sijidou