Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
A pair-like data type to represent a core
type that has extra information
as well.
Documentation
data core :+ extra infixr 1 Source #
Our Ext type that represents the core datatype core extended with extra
information of type extra
.
core :+ extra infixr 1 |
Instances
Bitraversable (:+) Source # | |
Defined in Data.Ext bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> (a :+ b) -> f (c :+ d) # | |
Bifoldable (:+) Source # | |
Bifunctor (:+) Source # | |
Biapplicative (:+) Source # | |
Bitraversable1 (:+) Source # | |
Bifoldable1 (:+) Source # | |
Biapply (:+) Source # | |
(Bounded core, Bounded extra) => Bounded (core :+ extra) Source # | |
(Eq core, Eq extra) => Eq (core :+ extra) Source # | |
(Ord core, Ord extra) => Ord (core :+ extra) Source # | |
Defined in Data.Ext compare :: (core :+ extra) -> (core :+ extra) -> Ordering # (<) :: (core :+ extra) -> (core :+ extra) -> Bool # (<=) :: (core :+ extra) -> (core :+ extra) -> Bool # (>) :: (core :+ extra) -> (core :+ extra) -> Bool # (>=) :: (core :+ extra) -> (core :+ extra) -> Bool # max :: (core :+ extra) -> (core :+ extra) -> core :+ extra # min :: (core :+ extra) -> (core :+ extra) -> core :+ extra # | |
(Read core, Read extra) => Read (core :+ extra) Source # | |
(Show core, Show extra) => Show (core :+ extra) Source # | |
Generic (core :+ extra) Source # | |
(Semigroup core, Semigroup extra) => Semigroup (core :+ extra) Source # | |
(Arbitrary c, Arbitrary e) => Arbitrary (c :+ e) Source # | |
(ToJSON core, ToJSON extra) => ToJSON (core :+ extra) Source # | |
(FromJSON core, FromJSON extra) => FromJSON (core :+ extra) Source # | |
(NFData core, NFData extra) => NFData (core :+ extra) Source # | |
type Rep (core :+ extra) Source # | |
Defined in Data.Ext type Rep (core :+ extra) = D1 (MetaData ":+" "Data.Ext" "hgeometry-combinatorial-0.10.0.0-KBhA9TX8xzkAsPm57THGXk" False) (C1 (MetaCons ":+" (InfixI RightAssociative 1) False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 core) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 extra))) |