hgeometry-0.6.0.0: Geometric Algorithms, Data structures, and Data types.

Safe HaskellNone
LanguageHaskell2010

Data.Ext

Documentation

data core :+ extra infixr 1 Source #

Constructors

core :+ extra infixr 1 

Instances

Bifunctor (:+) Source # 

Methods

bimap :: (a -> b) -> (c -> d) -> (a :+ c) -> b :+ d #

first :: (a -> b) -> (a :+ c) -> b :+ c #

second :: (b -> c) -> (a :+ b) -> a :+ c #

Biapplicative (:+) Source # 

Methods

bipure :: a -> b -> a :+ b #

(<<*>>) :: ((a -> b) :+ (c -> d)) -> (a :+ c) -> b :+ d #

(*>>) :: (a :+ b) -> (c :+ d) -> c :+ d #

(<<*) :: (a :+ b) -> (c :+ d) -> a :+ b #

Bitraversable (:+) Source # 

Methods

bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> (a :+ b) -> f (c :+ d) #

Bifoldable (:+) Source # 

Methods

bifold :: Monoid m => (m :+ m) -> m #

bifoldMap :: Monoid m => (a -> m) -> (b -> m) -> (a :+ b) -> m #

bifoldr :: (a -> c -> c) -> (b -> c -> c) -> c -> (a :+ b) -> c #

bifoldl :: (c -> a -> c) -> (c -> b -> c) -> c -> (a :+ b) -> c #

Bitraversable1 (:+) Source # 

Methods

bitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> (a :+ c) -> f (b :+ d) #

bisequence1 :: Apply f => (f a :+ f b) -> f (a :+ b) #

Biapply (:+) Source # 

Methods

(<<.>>) :: ((a -> b) :+ (c -> d)) -> (a :+ c) -> b :+ d #

(.>>) :: (a :+ b) -> (c :+ d) -> c :+ d #

(<<.) :: (a :+ b) -> (c :+ d) -> a :+ b #

Bifoldable1 (:+) Source # 

Methods

bifold1 :: Semigroup m => (m :+ m) -> m #

bifoldMap1 :: Semigroup m => (a -> m) -> (b -> m) -> (a :+ b) -> m #

(Bounded extra, Bounded core) => Bounded ((:+) core extra) Source # 

Methods

minBound :: core :+ extra #

maxBound :: core :+ extra #

(Eq extra, Eq core) => Eq ((:+) core extra) Source # 

Methods

(==) :: (core :+ extra) -> (core :+ extra) -> Bool #

(/=) :: (core :+ extra) -> (core :+ extra) -> Bool #

(Ord extra, Ord core) => Ord ((:+) core extra) Source # 

Methods

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 extra, Read core) => Read ((:+) core extra) Source # 

Methods

readsPrec :: Int -> ReadS (core :+ extra) #

readList :: ReadS [core :+ extra] #

readPrec :: ReadPrec (core :+ extra) #

readListPrec :: ReadPrec [core :+ extra] #

(Show extra, Show core) => Show ((:+) core extra) Source # 

Methods

showsPrec :: Int -> (core :+ extra) -> ShowS #

show :: (core :+ extra) -> String #

showList :: [core :+ extra] -> ShowS #

Generic ((:+) core extra) Source # 

Associated Types

type Rep ((:+) core extra) :: * -> * #

Methods

from :: (core :+ extra) -> Rep (core :+ extra) x #

to :: Rep (core :+ extra) x -> core :+ extra #

(Semigroup core, Semigroup extra) => Semigroup ((:+) core extra) Source # 

Methods

(<>) :: (core :+ extra) -> (core :+ extra) -> core :+ extra #

sconcat :: NonEmpty (core :+ extra) -> core :+ extra #

stimes :: Integral b => b -> (core :+ extra) -> core :+ extra #

(NFData extra, NFData core) => NFData ((:+) core extra) Source # 

Methods

rnf :: (core :+ extra) -> () #

(AllSatisfy AttributeUniverse IpeAttrName rs, RecAll AttributeUniverse (Attr AttributeUniverse f) rs IpeWriteText, IpeWrite g) => IpeWrite ((:+) g (Attributes AttributeUniverse f rs)) Source # 
type Rep ((:+) core extra) Source # 
type Rep ((:+) core extra) = D1 (MetaData ":+" "Data.Ext" "hgeometry-0.6.0.0-ODn7ZyBfwj6IkLPAAzetJ" False) (C1 (MetaCons ":+" (InfixI RightAssociative 1) False) ((:*:) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 core)) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 extra))))
type NumType (PlaneGraph k s w v e f r) Source # 
type NumType (PlaneGraph k s w v e f r) = r

_core :: (core :+ extra) -> core Source #

_extra :: (core :+ extra) -> extra Source #

core :: Lens (core :+ extra) (core' :+ extra) core core' Source #

extra :: Lens (core :+ extra) (core :+ extra') extra extra' Source #

ext :: a -> a :+ () Source #