Module

Type.Regex.Match

Package
purescript-typelevel-regex
Repository
thought2/purescript-typelevel-regex

#MatchRegex Source

class MatchRegex :: Regex -> Symbol -> Constraintclass MatchRegex (regex :: Regex) (str :: Symbol) 

Instances

#MatchRegexResult Source

class MatchRegexResult :: Symbol -> Boolean -> Constraintclass MatchRegexResult (rest :: Symbol) (matches :: Boolean) 

Instances

#ScanRegexGo Source

class ScanRegexGo :: Regex -> Symbol -> Symbol -> Boolean -> Constraintclass ScanRegexGo (regex :: Regex) (str :: Symbol) (rest :: Symbol) (matches :: Boolean) | regex str -> rest matches

Instances

#ScanRegexResult Source

class ScanRegexResult :: Boolean -> Regex -> Symbol -> Symbol -> Boolean -> Constraintclass ScanRegexResult (result :: Boolean) (regex :: Regex) (str :: Symbol) (rest :: Symbol) (matches :: Boolean) | result regex str -> rest matches

Instances

#RegexAttemptGo Source

class RegexAttemptGo :: Regex -> Symbol -> Symbol -> Boolean -> Constraintclass RegexAttemptGo (regex :: Regex) (str :: Symbol) (rest :: Symbol) (matches :: Boolean) | regex str -> rest matches

Instances

#RegexAttemptMatch Source

class RegexAttemptMatch :: Regex -> Symbol -> Symbol -> Symbol -> Boolean -> Constraintclass RegexAttemptMatch (regex :: Regex) (head :: Symbol) (tail :: Symbol) (rest :: Symbol) (matches :: Boolean) | regex head tail -> rest matches

Instances

#RegexAttemptMatchCatResult Source

class RegexAttemptMatchCatResult :: Regex -> Boolean -> Symbol -> Symbol -> Boolean -> Constraintclass RegexAttemptMatchCatResult (regex :: Regex) (matched :: Boolean) (restIn :: Symbol) (restOut :: Symbol) (matches :: Boolean) | regex matched restIn -> restOut matches

Instances

#RegexAttemptMatchAltResult Source

class RegexAttemptMatchAltResult :: Regex -> Boolean -> Symbol -> Symbol -> Symbol -> Boolean -> Constraintclass RegexAttemptMatchAltResult (regex :: Regex) (matched :: Boolean) (restInLeft :: Symbol) (restInRight :: Symbol) (restOut :: Symbol) (matches :: Boolean) | regex matched restInLeft restInRight -> restOut matches

Instances

#RegexAttemptMatchManyResult Source

class RegexAttemptMatchManyResult :: Boolean -> Regex -> Symbol -> Symbol -> Symbol -> Boolean -> Constraintclass RegexAttemptMatchManyResult (matched :: Boolean) (regex :: Regex) (backtrace :: Symbol) (restIn :: Symbol) (restOut :: Symbol) (matches :: Boolean) | matched regex backtrace restIn -> restOut matches

Instances

#IsFinalRegex Source

class IsFinalRegex :: Regex -> Boolean -> Constraintclass IsFinalRegex (regex :: Regex) (bool :: Boolean) | regex -> bool

Instances

#Contains Source

class Contains :: Symbol -> Symbol -> Boolean -> Constraintclass Contains (chars :: Symbol) (char :: Symbol) (result :: Boolean) | chars char -> result

Instances

#ContainsMatch Source

class ContainsMatch :: Symbol -> Symbol -> Symbol -> Boolean -> Constraintclass ContainsMatch (head :: Symbol) (tail :: Symbol) (char :: Symbol) (result :: Boolean) | head tail char -> result

Instances