import public Core
data TyRE : Type -> Type
Untyped : (r : CoreRE) -> TyRE (Shape r)
(<*>) : TyRE a -> TyRE b -> TyRE (a, b)
Conv : TyRE a -> (a -> b) -> TyRE b
(<|>) : TyRE a -> TyRE b -> TyRE (Either a b)
Rep : TyRE a -> TyRE (List a)
Functor TyRE
compile : TyRE a -> CoreRE
extract : (tyre : TyRE a) -> Shape (compile tyre) -> a
predicate : (Char -> Bool) -> TyRE Char
empty : TyRE ()
any : TyRE Char
group : TyRE a -> TyRE String
ignore : TyRE a -> TyRE ()
range : Char -> Char -> TyRE Char
digit : TyRE Integer
digitChar : TyRE Char
oneOfList : List Char -> TyRE Char
oneOf : String -> TyRE Char
match : Char -> TyRE ()
rep0 : TyRE a -> TyRE (List a)
rep1 : TyRE a -> TyRE (List a)
option : TyRE a -> TyRE (Maybe a)
(*>) : TyRE a -> TyRE b -> TyRE b
(<*) : TyRE a -> TyRE b -> TyRE a
or : TyRE a -> TyRE a -> TyRE a
letter : TyRE Char
repFrom : Nat -> TyRE a -> TyRE (List a)
repTo : Nat -> TyRE a -> TyRE (List a)
repFromTo : (from : Nat) -> (to : Nat) -> from <= to = True => TyRE a -> TyRE (List a)
repTimesType : Nat -> Type -> Type
repTimes : (n : Nat) -> TyRE a -> TyRE (repTimesType n a)