| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Ext.Multi
Description
A pair-like data type to represent a core type that has extra information
as well.
Documentation
data family core :+ (extras :: [*]) :: * infixr 1 Source #
Instances
| Eq core => Eq (core :+ ('[] :: [Type])) Source # | |
| Ord core => Ord (core :+ ('[] :: [Type])) Source # | |
Defined in Data.Ext.Multi Methods compare :: (core :+ '[]) -> (core :+ '[]) -> Ordering # (<) :: (core :+ '[]) -> (core :+ '[]) -> Bool # (<=) :: (core :+ '[]) -> (core :+ '[]) -> Bool # (>) :: (core :+ '[]) -> (core :+ '[]) -> Bool # (>=) :: (core :+ '[]) -> (core :+ '[]) -> Bool # | |
| Show core => Show (core :+ ('[] :: [Type])) Source # | |
| Generic (core :+ ('[] :: [Type])) Source # | |
| Arbitrary core => Arbitrary (core :+ ('[] :: [Type])) Source # | |
| NFData core => NFData (core :+ ('[] :: [Type])) Source # | |
Defined in Data.Ext.Multi | |
| newtype core :+ ('[] :: [Type]) Source # | |
Defined in Data.Ext.Multi | |
| data core :+ (t ': ts) Source # | |
Defined in Data.Ext.Multi | |
| type Rep (core :+ ('[] :: [Type])) Source # | |
Defined in Data.Ext.Multi | |