Safe Haskell | None |
---|---|
Language | Haskell2010 |
Symantic for '[]'.
- class Sym_List term where
- tyList :: Source src => LenInj vs => Type src vs a -> Type src vs [a]
- teList_empty :: Source src => SymInj ss [] => Term src ss ts '[Proxy a] (() #> [a])
- teList_cons :: Source src => SymInj ss [] => Term src ss ts '[Proxy a] (() #> (a -> [a] -> [a]))
- teList_zipWith :: Source src => SymInj ss [] => Term src ss ts '[Proxy a, Proxy b, Proxy c] (() #> ((a -> b -> c) -> [a] -> [b] -> [c]))
Class Sym_List
class Sym_List term where Source #
list_empty :: term [a] Source #
list_cons :: term a -> term [a] -> term [a] infixr 5 Source #
list :: [term a] -> term [a] Source #
zipWith :: term (a -> b -> c) -> term [a] -> term [b] -> term [c] Source #
list_empty :: Sym_List (UnT term) => Trans term => term [a] Source #
list_cons :: Sym_List (UnT term) => Trans term => term a -> term [a] -> term [a] infixr 5 Source #
list :: Sym_List (UnT term) => Trans term => [term a] -> term [a] Source #
zipWith :: Sym_List (UnT term) => Trans term => term (a -> b -> c) -> term [a] -> term [b] -> term [c] Source #
Type
s
Term
s
teList_cons :: Source src => SymInj ss [] => Term src ss ts '[Proxy a] (() #> (a -> [a] -> [a])) Source #
teList_zipWith :: Source src => SymInj ss [] => Term src ss ts '[Proxy a, Proxy b, Proxy c] (() #> ((a -> b -> c) -> [a] -> [b] -> [c])) Source #
Orphan instances
ClassInstancesFor (* -> *) [] Source # | |
TypeInstancesFor (* -> *) [] Source # | |
NameTyOf (* -> *) [] Source # | |
FixityOf (* -> *) [] Source # | |
(Source src, SymInj (* -> *) ss []) => ModuleFor (* -> *) src ss [] Source # | |
(Gram_App g, Gram_Rule g, Gram_Comment g, Gram_Term src ss g, SymInj (* -> *) ss []) => Gram_Term_AtomsFor (* -> *) src ss g [] Source # | |