unison-parser-typechecker-0.0.0
Safe HaskellSafe-Inferred
LanguageHaskell2010

Unison.Util.Text.Pattern

Documentation

data CPattern Source #

Constructors

CP Pattern (Text -> Maybe ([Text], Text)) 

Instances

Instances details
Eq CPattern Source # 
Instance details

Defined in Unison.Util.Text.Pattern

Ord CPattern Source # 
Instance details

Defined in Unison.Util.Text.Pattern

data Stack Source #

Constructors

Empty !Captures 
Mark !Captures !Text !Stack 

type Captures = [Text] -> [Text] Source #

type Compiled r = (Stack -> Text -> r) -> (Stack -> Text -> r) -> Stack -> Text -> r Source #