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 # | |
(AllSatisfy IpeAttrName rs, RecAll (Attr f) rs IpeWriteText, IpeWrite g) => IpeWrite (g :+ Attributes f rs) Source # | |
Defined in Data.Geometry.Ipe.Writer | |
(HasDefaultIpeOut g, a ~ IpeAttributes (DefaultIpeOut g) (NumType g)) => HasDefaultIpeOut (g :+ a) Source # | |
type Rep (core :+ extra) Source # | |
Defined in Data.Ext type Rep (core :+ extra) = D1 (MetaData ":+" "Data.Ext" "hgeometry-0.8.0.0-2B18HmKepFxHOPvqiUEkND" 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))) | |
type NumType (core :+ ext) Source # | |
type Dimension (core :+ ext) Source # | |
type DefaultIpeOut (g :+ a) Source # | |
Defined in Data.Geometry.Ipe.IpeOut |