Module
Kushiyaki
- Package
- purescript-kushiyaki
- Repository
- justinwoo/purescript-kushiyaki
#ParseURLImpl Source
class ParseURLImpl (xs :: FList) (from :: Row Type) (to :: Row Type) | xs -> from to where
Members
Instances
ParseURLImpl FNil () ()
(ParseTypedParam s name ty, ReadParam ty, IsSymbol name, Cons name ty from' to, Lacks name from', ParseURLImpl tail from from') => ParseURLImpl (FCons (Var s) tail) from to
(IsSymbol segment, ParseURLImpl tail from to) => ParseURLImpl (FCons (Lit segment) tail) from to
#ParseTypedParam Source
class ParseTypedParam (s :: Symbol) (name :: Symbol) (ty :: Type) | s -> name ty
Instances
(Cons x xs s, ParseTypedParamImpl x xs "" name ty) => ParseTypedParam s name ty
#ParseTypedParamImpl Source
class ParseTypedParamImpl (x :: Symbol) (xs :: Symbol) (acc :: Symbol) (name :: Symbol) (ty :: Type) | x xs acc -> name ty
Instances
(Append acc x name) => ParseTypedParamImpl x "" acc name String
(MatchTypeName tyName ty) => ParseTypedParamImpl ":" tyName name name ty
(Cons y ys xs, Append acc x acc', ParseTypedParamImpl y ys acc' name ty) => ParseTypedParamImpl x xs acc name ty
#MatchTypeName Source
class MatchTypeName (s :: Symbol) (ty :: Type) | s -> ty
Instances
MatchTypeName "String" String
MatchTypeName "Int" Int
(Append "Can\'t match type annotation to type: " s msg, Fail (Text msg)) => MatchTypeName s ty
- Modules
- Kushiyaki