Sugar.Data
data Type a m c Source #
Constructors
Defined in Sugar.Data
Methods
(==) :: Type a m c -> Type a m c -> Bool #
(/=) :: Type a m c -> Type a m c -> Bool #
showsPrec :: Int -> Type a m c -> ShowS #
show :: Type a m c -> String #
showList :: [Type a m c] -> ShowS #
data TypeRef Source #
Fields
(==) :: TypeRef -> TypeRef -> Bool #
(/=) :: TypeRef -> TypeRef -> Bool #
showsPrec :: Int -> TypeRef -> ShowS #
show :: TypeRef -> String #
showList :: [TypeRef] -> ShowS #
data Ty a Source #
(==) :: Ty a -> Ty a -> Bool #
(/=) :: Ty a -> Ty a -> Bool #
showsPrec :: Int -> Ty a -> ShowS #
show :: Ty a -> String #
showList :: [Ty a] -> ShowS #
data Rec a m Source #
(==) :: Rec a m -> Rec a m -> Bool #
(/=) :: Rec a m -> Rec a m -> Bool #
showsPrec :: Int -> Rec a m -> ShowS #
show :: Rec a m -> String #
showList :: [Rec a m] -> ShowS #
data Mem m Source #
(==) :: Mem m -> Mem m -> Bool #
(/=) :: Mem m -> Mem m -> Bool #
showsPrec :: Int -> Mem m -> ShowS #
show :: Mem m -> String #
showList :: [Mem m] -> ShowS #
data Adt a m c Source #
(==) :: Adt a m c -> Adt a m c -> Bool #
(/=) :: Adt a m c -> Adt a m c -> Bool #
showsPrec :: Int -> Adt a m c -> ShowS #
show :: Adt a m c -> String #
showList :: [Adt a m c] -> ShowS #
data Cons m c Source #
(==) :: Cons m c -> Cons m c -> Bool #
(/=) :: Cons m c -> Cons m c -> Bool #
showsPrec :: Int -> Cons m c -> ShowS #
show :: Cons m c -> String #
showList :: [Cons m c] -> ShowS #
data ConsValue m Source #
(==) :: ConsValue m -> ConsValue m -> Bool #
(/=) :: ConsValue m -> ConsValue m -> Bool #
showsPrec :: Int -> ConsValue m -> ShowS #
show :: ConsValue m -> String #
showList :: [ConsValue m] -> ShowS #
data Err e Source #
(==) :: Err e -> Err e -> Bool #
(/=) :: Err e -> Err e -> Bool #
showsPrec :: Int -> Err e -> ShowS #
show :: Err e -> String #
showList :: [Err e] -> ShowS #
data Error e Source #
(==) :: Error e -> Error e -> Bool #
(/=) :: Error e -> Error e -> Bool #
showsPrec :: Int -> Error e -> ShowS #
show :: Error e -> String #
showList :: [Error e] -> ShowS #
data ParamFns a m c e Source #
tokenToTypes :: ParamFns a m c e -> TokenStep -> Either [Error e] [Type a m c] Source #
tokenToType :: ParamFns a m c e -> TokenStep -> TokenStep -> Either [Error e] (Type a m c) Source #