| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Types.GeneralType
Documentation
data GeneralType a Source #
Constructors
| SingleType | |
Fields
| |
| TypeMerge | |
Fields
| |
Instances
| Show GeneralInstance Source # | |
Defined in Types.TypeInstance Methods showsPrec :: Int -> GeneralInstance -> ShowS # show :: GeneralInstance -> String # showList :: [GeneralInstance] -> ShowS # | |
| ParseFromSource GeneralInstance Source # | |
Defined in Parser.TypeInstance Methods | |
| Eq a => Eq (GeneralType a) Source # | |
Defined in Types.GeneralType Methods (==) :: GeneralType a -> GeneralType a -> Bool # (/=) :: GeneralType a -> GeneralType a -> Bool # | |
| Ord a => Ord (GeneralType a) Source # | |
Defined in Types.GeneralType Methods compare :: GeneralType a -> GeneralType a -> Ordering # (<) :: GeneralType a -> GeneralType a -> Bool # (<=) :: GeneralType a -> GeneralType a -> Bool # (>) :: GeneralType a -> GeneralType a -> Bool # (>=) :: GeneralType a -> GeneralType a -> Bool # max :: GeneralType a -> GeneralType a -> GeneralType a # min :: GeneralType a -> GeneralType a -> GeneralType a # | |
Constructors
| MergeUnion | |
| MergeIntersect |
Instances
| Eq MergeType Source # | |
| Ord MergeType Source # | |
checkGeneralType :: (MergeableM m, Mergeable c) => (a -> b -> m c) -> GeneralType a -> GeneralType b -> m c Source #