| Copyright | (c) Adam Conner-Sax 2019 |
|---|---|
| License | BSD-3-Clause |
| Maintainer | adam_conner_sax@yahoo.com |
| Stability | experimental |
| Safe Haskell | None |
| Language | Haskell2010 |
Knit.Report.Input.Visualization.Diagrams
Contents
Description
Functions to Diagrams (from the Diagrams library) to the current Pandoc document.
Synopsis
- addDiagramAsSVG :: (PandocEffects effs, Member ToPandoc effs, Member UnusedId effs) => Maybe Text -> Maybe Text -> Double -> Double -> QDiagram SVG V2 Double Any -> Sem effs Text
- (<$) :: Functor f => a -> f b -> f a
- class Functor f => Applicative (f :: Type -> Type) where
- class (Functor t, Foldable t) => Traversable (t :: Type -> Type) where
- traverse :: Applicative f => (a -> f b) -> t a -> f (t b)
- class Semigroup a where
- class Contravariant (f :: Type -> Type) where
- option :: b -> (a -> b) -> Option a -> b
- mtimesDefault :: (Integral b, Monoid a) => b -> a -> a
- diff :: Semigroup m => m -> Endo m
- cycle1 :: Semigroup m => m -> m
- newtype Min a = Min {
- getMin :: a
- newtype Max a = Max {
- getMax :: a
- data Arg a b = Arg a b
- type ArgMin a b = Min (Arg a b)
- type ArgMax a b = Max (Arg a b)
- newtype First a = First {
- getFirst :: a
- newtype Last a = Last {
- getLast :: a
- newtype WrappedMonoid m = WrapMonoid {
- unwrapMonoid :: m
- newtype Option a = Option {}
- class Bifunctor (p :: Type -> Type -> Type) where
- bimap :: (a -> b) -> (c -> d) -> p a c -> p b d
- newtype Identity a = Identity {
- runIdentity :: a
- newtype Const a (b :: k) :: forall k. Type -> k -> Type = Const {
- getConst :: a
- stimesMonoid :: (Integral b, Monoid a) => b -> a -> a
- stimesIdempotent :: Integral b => b -> a -> a
- newtype Dual a = Dual {
- getDual :: a
- newtype Endo a = Endo {
- appEndo :: a -> a
- newtype All = All {}
- newtype Any = Any {}
- newtype Sum a = Sum {
- getSum :: a
- newtype Product a = Product {
- getProduct :: a
- (&) :: a -> (a -> b) -> b
- (<&>) :: Functor f => f a -> (a -> b) -> f b
- (<$>) :: Functor f => (a -> b) -> f a -> f b
- liftA3 :: Applicative f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d
- liftA :: Applicative f => (a -> b) -> f a -> f b
- stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> a
- class Default a where
- def :: a
- alphaChannel :: AlphaColour a -> a
- alphaColourConvert :: (Fractional b, Real a) => AlphaColour a -> AlphaColour b
- black :: Num a => Colour a
- blend :: (Num a, AffineSpace f) => a -> f a -> f a -> f a
- colourConvert :: (Fractional b, Real a) => Colour a -> Colour b
- dissolve :: Num a => a -> AlphaColour a -> AlphaColour a
- opaque :: Num a => Colour a -> AlphaColour a
- transparent :: Num a => AlphaColour a
- withOpacity :: Num a => Colour a -> a -> AlphaColour a
- data AlphaColour a
- data Colour a
- class ColourOps (f :: Type -> Type) where
- data family MVector s a :: Type
- data family Vector a :: Type
- sRGBBounded :: (Ord b, Floating b, Integral a, Bounded a) => a -> a -> a -> Colour b
- data RGB a = RGB {
- channelRed :: !a
- channelGreen :: !a
- channelBlue :: !a
- toSRGBBounded :: (RealFrac b, Floating b, Integral a, Bounded a) => Colour b -> RGB a
- foldBy :: Foldable t => (a -> a -> a) -> a -> t a -> a
- foldMapBy :: Foldable t => (r -> r -> r) -> r -> (a -> r) -> t a -> r
- sequenceBy :: Traversable t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> t (f a) -> f (t a)
- traverseBy :: Traversable t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (a -> f b) -> t a -> f (t b)
- aliceblue :: (Ord a, Floating a) => Colour a
- antiquewhite :: (Ord a, Floating a) => Colour a
- aqua :: (Ord a, Floating a) => Colour a
- aquamarine :: (Ord a, Floating a) => Colour a
- azure :: (Ord a, Floating a) => Colour a
- beige :: (Ord a, Floating a) => Colour a
- bisque :: (Ord a, Floating a) => Colour a
- blanchedalmond :: (Ord a, Floating a) => Colour a
- blue :: (Ord a, Floating a) => Colour a
- blueviolet :: (Ord a, Floating a) => Colour a
- brown :: (Ord a, Floating a) => Colour a
- burlywood :: (Ord a, Floating a) => Colour a
- cadetblue :: (Ord a, Floating a) => Colour a
- chartreuse :: (Ord a, Floating a) => Colour a
- chocolate :: (Ord a, Floating a) => Colour a
- coral :: (Ord a, Floating a) => Colour a
- cornflowerblue :: (Ord a, Floating a) => Colour a
- cornsilk :: (Ord a, Floating a) => Colour a
- crimson :: (Ord a, Floating a) => Colour a
- cyan :: (Ord a, Floating a) => Colour a
- darkblue :: (Ord a, Floating a) => Colour a
- darkcyan :: (Ord a, Floating a) => Colour a
- darkgoldenrod :: (Ord a, Floating a) => Colour a
- darkgray :: (Ord a, Floating a) => Colour a
- darkgreen :: (Ord a, Floating a) => Colour a
- darkgrey :: (Ord a, Floating a) => Colour a
- darkkhaki :: (Ord a, Floating a) => Colour a
- darkmagenta :: (Ord a, Floating a) => Colour a
- darkolivegreen :: (Ord a, Floating a) => Colour a
- darkorange :: (Ord a, Floating a) => Colour a
- darkorchid :: (Ord a, Floating a) => Colour a
- darkred :: (Ord a, Floating a) => Colour a
- darksalmon :: (Ord a, Floating a) => Colour a
- darkseagreen :: (Ord a, Floating a) => Colour a
- darkslateblue :: (Ord a, Floating a) => Colour a
- darkslategray :: (Ord a, Floating a) => Colour a
- darkslategrey :: (Ord a, Floating a) => Colour a
- darkturquoise :: (Ord a, Floating a) => Colour a
- darkviolet :: (Ord a, Floating a) => Colour a
- deeppink :: (Ord a, Floating a) => Colour a
- deepskyblue :: (Ord a, Floating a) => Colour a
- dimgray :: (Ord a, Floating a) => Colour a
- dimgrey :: (Ord a, Floating a) => Colour a
- dodgerblue :: (Ord a, Floating a) => Colour a
- firebrick :: (Ord a, Floating a) => Colour a
- floralwhite :: (Ord a, Floating a) => Colour a
- forestgreen :: (Ord a, Floating a) => Colour a
- fuchsia :: (Ord a, Floating a) => Colour a
- gainsboro :: (Ord a, Floating a) => Colour a
- ghostwhite :: (Ord a, Floating a) => Colour a
- gold :: (Ord a, Floating a) => Colour a
- goldenrod :: (Ord a, Floating a) => Colour a
- gray :: (Ord a, Floating a) => Colour a
- green :: (Ord a, Floating a) => Colour a
- greenyellow :: (Ord a, Floating a) => Colour a
- grey :: (Ord a, Floating a) => Colour a
- honeydew :: (Ord a, Floating a) => Colour a
- hotpink :: (Ord a, Floating a) => Colour a
- indianred :: (Ord a, Floating a) => Colour a
- indigo :: (Ord a, Floating a) => Colour a
- ivory :: (Ord a, Floating a) => Colour a
- khaki :: (Ord a, Floating a) => Colour a
- lavender :: (Ord a, Floating a) => Colour a
- lavenderblush :: (Ord a, Floating a) => Colour a
- lawngreen :: (Ord a, Floating a) => Colour a
- lemonchiffon :: (Ord a, Floating a) => Colour a
- lightblue :: (Ord a, Floating a) => Colour a
- lightcoral :: (Ord a, Floating a) => Colour a
- lightcyan :: (Ord a, Floating a) => Colour a
- lightgoldenrodyellow :: (Ord a, Floating a) => Colour a
- lightgray :: (Ord a, Floating a) => Colour a
- lightgreen :: (Ord a, Floating a) => Colour a
- lightgrey :: (Ord a, Floating a) => Colour a
- lightpink :: (Ord a, Floating a) => Colour a
- lightsalmon :: (Ord a, Floating a) => Colour a
- lightseagreen :: (Ord a, Floating a) => Colour a
- lightskyblue :: (Ord a, Floating a) => Colour a
- lightslategray :: (Ord a, Floating a) => Colour a
- lightslategrey :: (Ord a, Floating a) => Colour a
- lightsteelblue :: (Ord a, Floating a) => Colour a
- lightyellow :: (Ord a, Floating a) => Colour a
- lime :: (Ord a, Floating a) => Colour a
- limegreen :: (Ord a, Floating a) => Colour a
- linen :: (Ord a, Floating a) => Colour a
- magenta :: (Ord a, Floating a) => Colour a
- maroon :: (Ord a, Floating a) => Colour a
- mediumaquamarine :: (Ord a, Floating a) => Colour a
- mediumblue :: (Ord a, Floating a) => Colour a
- mediumorchid :: (Ord a, Floating a) => Colour a
- mediumpurple :: (Ord a, Floating a) => Colour a
- mediumseagreen :: (Ord a, Floating a) => Colour a
- mediumslateblue :: (Ord a, Floating a) => Colour a
- mediumspringgreen :: (Ord a, Floating a) => Colour a
- mediumturquoise :: (Ord a, Floating a) => Colour a
- mediumvioletred :: (Ord a, Floating a) => Colour a
- midnightblue :: (Ord a, Floating a) => Colour a
- mintcream :: (Ord a, Floating a) => Colour a
- mistyrose :: (Ord a, Floating a) => Colour a
- moccasin :: (Ord a, Floating a) => Colour a
- navajowhite :: (Ord a, Floating a) => Colour a
- navy :: (Ord a, Floating a) => Colour a
- oldlace :: (Ord a, Floating a) => Colour a
- olive :: (Ord a, Floating a) => Colour a
- olivedrab :: (Ord a, Floating a) => Colour a
- orange :: (Ord a, Floating a) => Colour a
- orangered :: (Ord a, Floating a) => Colour a
- orchid :: (Ord a, Floating a) => Colour a
- palegoldenrod :: (Ord a, Floating a) => Colour a
- palegreen :: (Ord a, Floating a) => Colour a
- paleturquoise :: (Ord a, Floating a) => Colour a
- palevioletred :: (Ord a, Floating a) => Colour a
- papayawhip :: (Ord a, Floating a) => Colour a
- peachpuff :: (Ord a, Floating a) => Colour a
- peru :: (Ord a, Floating a) => Colour a
- pink :: (Ord a, Floating a) => Colour a
- plum :: (Ord a, Floating a) => Colour a
- powderblue :: (Ord a, Floating a) => Colour a
- purple :: (Ord a, Floating a) => Colour a
- readColourName :: (MonadFail m, Monad m, Ord a, Floating a) => String -> m (Colour a)
- red :: (Ord a, Floating a) => Colour a
- rosybrown :: (Ord a, Floating a) => Colour a
- royalblue :: (Ord a, Floating a) => Colour a
- saddlebrown :: (Ord a, Floating a) => Colour a
- salmon :: (Ord a, Floating a) => Colour a
- sandybrown :: (Ord a, Floating a) => Colour a
- seagreen :: (Ord a, Floating a) => Colour a
- seashell :: (Ord a, Floating a) => Colour a
- sienna :: (Ord a, Floating a) => Colour a
- silver :: (Ord a, Floating a) => Colour a
- skyblue :: (Ord a, Floating a) => Colour a
- slateblue :: (Ord a, Floating a) => Colour a
- slategray :: (Ord a, Floating a) => Colour a
- slategrey :: (Ord a, Floating a) => Colour a
- snow :: (Ord a, Floating a) => Colour a
- springgreen :: (Ord a, Floating a) => Colour a
- steelblue :: (Ord a, Floating a) => Colour a
- teal :: (Ord a, Floating a) => Colour a
- thistle :: (Ord a, Floating a) => Colour a
- tomato :: (Ord a, Floating a) => Colour a
- turquoise :: (Ord a, Floating a) => Colour a
- violet :: (Ord a, Floating a) => Colour a
- wheat :: (Ord a, Floating a) => Colour a
- white :: (Ord a, Floating a) => Colour a
- whitesmoke :: (Ord a, Floating a) => Colour a
- yellow :: (Ord a, Floating a) => Colour a
- yellowgreen :: (Ord a, Floating a) => Colour a
- sRGB :: (Ord b, Floating b) => b -> b -> b -> Colour b
- sRGB24 :: (Ord b, Floating b) => Word8 -> Word8 -> Word8 -> Colour b
- sRGB24read :: (Ord b, Floating b) => String -> Colour b
- sRGB24reads :: (Ord b, Floating b) => ReadS (Colour b)
- sRGB24show :: (RealFrac b, Floating b) => Colour b -> String
- sRGB24shows :: (RealFrac b, Floating b) => Colour b -> ShowS
- sRGBSpace :: (Ord a, Floating a) => RGBSpace a
- toSRGB :: (Ord b, Floating b) => Colour b -> RGB b
- toSRGB24 :: (RealFrac b, Floating b) => Colour b -> RGB Word8
- (->>) :: Semigroup a => Active a -> Active a -> Active a
- activeEnd :: Active a -> a
- activeEra :: Active a -> Maybe (Era Rational)
- activeStart :: Active a -> a
- after :: Active a -> Active a -> Active a
- atTime :: Time Rational -> Active a -> Active a
- backwards :: Active a -> Active a
- clamp :: Active a -> Active a
- clampAfter :: Active a -> Active a
- clampBefore :: Active a -> Active a
- discrete :: [a] -> Active a
- duration :: Num n => Era n -> Duration n
- during :: Active a -> Active a -> Active a
- end :: Era n -> Time n
- fromDuration :: Duration n -> n
- fromDynamic :: Dynamic a -> Active a
- fromTime :: Time n -> n
- interval :: Fractional a => Time Rational -> Time Rational -> Active a
- isConstant :: Active a -> Bool
- isDynamic :: Active a -> Bool
- mkActive :: Time Rational -> Time Rational -> (Time Rational -> a) -> Active a
- mkDynamic :: Time Rational -> Time Rational -> (Time Rational -> a) -> Dynamic a
- mkEra :: Time n -> Time n -> Era n
- modActive :: (a -> b) -> (Dynamic a -> Dynamic b) -> Active a -> Active b
- movie :: [Active a] -> Active a
- onActive :: (a -> b) -> (Dynamic a -> b) -> Active a -> b
- onDynamic :: (Time Rational -> Time Rational -> (Time Rational -> a) -> b) -> Dynamic a -> b
- runActive :: Active a -> Time Rational -> a
- setEra :: Era Rational -> Active a -> Active a
- shift :: Duration Rational -> Active a -> Active a
- shiftDynamic :: Duration Rational -> Dynamic a -> Dynamic a
- simulate :: Rational -> Active a -> [a]
- snapshot :: Time Rational -> Active a -> Active a
- start :: Era n -> Time n
- stretch :: Rational -> Active a -> Active a
- stretchTo :: Duration Rational -> Active a -> Active a
- toDuration :: n -> Duration n
- toTime :: n -> Time n
- trim :: Monoid a => Active a -> Active a
- trimAfter :: Monoid a => Active a -> Active a
- trimBefore :: Monoid a => Active a -> Active a
- ui :: Fractional a => Active a
- (|>>) :: Active a -> Active a -> Active a
- renderDia :: (Backend b v n, HasLinearMap v, Metric v, Typeable n, OrderedField n, Monoid' m) => b -> Options b v n -> QDiagram b v n m -> Result b v n
- renderDiaT :: (Backend b v n, HasLinearMap v, Metric v, Typeable n, OrderedField n, Monoid' m) => b -> Options b v n -> QDiagram b v n m -> (Transformation v n, Result b v n)
- appEnvelope :: Envelope v n -> Maybe (v n -> n)
- diameter :: (V a ~ v, N a ~ n, Enveloped a) => v n -> a -> n
- envelopeP :: (V a ~ v, N a ~ n, Enveloped a) => v n -> a -> Point v n
- envelopePMay :: (V a ~ v, N a ~ n, Enveloped a) => v n -> a -> Maybe (Point v n)
- envelopeV :: Enveloped a => Vn a -> a -> Vn a
- envelopeVMay :: Enveloped a => Vn a -> a -> Maybe (Vn a)
- mkEnvelope :: (v n -> n) -> Envelope v n
- onEnvelope :: ((v n -> n) -> v n -> n) -> Envelope v n -> Envelope v n
- radius :: (V a ~ v, N a ~ n, Enveloped a) => v n -> a -> n
- size :: (V a ~ v, N a ~ n, Enveloped a, HasBasis v) => a -> v n
- moveOriginBy :: (V t ~ v, N t ~ n, HasOrigin t) => v n -> t -> t
- moveTo :: (InSpace v n t, HasOrigin t) => Point v n -> t -> t
- place :: (InSpace v n t, HasOrigin t) => t -> Point v n -> t
- juxtaposeDefault :: (Enveloped a, HasOrigin a) => Vn a -> a -> a -> a
- atLeast :: Ord n => Measure n -> Measure n -> Measure n
- atMost :: Ord n => Measure n -> Measure n -> Measure n
- fromMeasured :: Num n => n -> n -> Measured n a -> a
- global :: Num n => n -> Measure n
- local :: Num n => n -> Measure n
- normalized :: Num n => n -> Measure n
- output :: n -> Measure n
- scaleLocal :: Num n => n -> Measured n a -> Measured n a
- (.>) :: (IsName a1, IsName a2) => a1 -> a2 -> Name
- eachName :: (Typeable a, Ord a, Show a) => Traversal' Name a
- (*.) :: (Functor v, Num n) => n -> Point v n -> Point v n
- applyAttr :: (AttributeClass a, HasStyle d) => a -> d -> d
- applyMAttr :: (AttributeClass a, N d ~ n, HasStyle d) => Measured n a -> d -> d
- applyTAttr :: (AttributeClass a, Transformable a, V a ~ V d, N a ~ N d, HasStyle d) => a -> d -> d
- atAttr :: AttributeClass a => Lens' (Style v n) (Maybe a)
- atMAttr :: (AttributeClass a, Typeable n) => Lens' (Style v n) (Maybe (Measured n a))
- atTAttr :: (V a ~ v, N a ~ n, AttributeClass a, Transformable a) => Lens' (Style v n) (Maybe a)
- getAttr :: AttributeClass a => Style v n -> Maybe a
- getSortedList :: SortedList a -> [a]
- maxRayTraceP :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (Point (V a) n)
- maxRayTraceV :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (V a n)
- maxTraceP :: (n ~ N a, Num n, Traced a) => Point (V a) n -> V a n -> a -> Maybe (Point (V a) n)
- maxTraceV :: (n ~ N a, Num n, Traced a) => Point (V a) n -> V a n -> a -> Maybe (V a n)
- mkSortedList :: Ord a => [a] -> SortedList a
- mkTrace :: (Point v n -> v n -> SortedList n) -> Trace v n
- rayTraceP :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (Point (V a) n)
- rayTraceV :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (V a n)
- traceP :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (Point (V a) n)
- traceV :: (n ~ N a, Num n, Traced a) => Point (V a) n -> V a n -> a -> Maybe (V a n)
- (<->) :: (u -> v) -> (v -> u) -> u :-: v
- apply :: Transformation v n -> v n -> v n
- avgScale :: (Additive v, Traversable v, Floating n) => Transformation v n -> n
- determinant :: (Additive v, Traversable v, Num n) => Transformation v n -> n
- dimension :: (Additive (V a), Traversable (V a)) => a -> Int
- dropTransl :: (Additive v, Num n) => Transformation v n -> Transformation v n
- eye :: (HasBasis v, Num n) => v (v n)
- fromLinear :: (Additive v, Num n) => (v n :-: v n) -> (v n :-: v n) -> Transformation v n
- inv :: (Functor v, Num n) => Transformation v n -> Transformation v n
- isReflection :: (Additive v, Traversable v, Num n, Ord n) => Transformation v n -> Bool
- lapp :: (u :-: v) -> u -> v
- linv :: (u :-: v) -> v :-: u
- papply :: (Additive v, Num n) => Transformation v n -> Point v n -> Point v n
- scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
- scaling :: (Additive v, Fractional n) => n -> Transformation v n
- transl :: Transformation v n -> v n
- translate :: Transformable t => Vn t -> t -> t
- translation :: v n -> Transformation v n
- transp :: Transformation v n -> v n :-: v n
- atop :: (OrderedField n, Metric v, Semigroup m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m
- envelope :: (OrderedField n, Metric v, Monoid' m) => Lens' (QDiagram b v n m) (Envelope v n)
- fromNames :: IsName a => [(a, Subdiagram b v n m)] -> SubMap b v n m
- getSub :: (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> QDiagram b v n m
- groupOpacity :: (Metric v, OrderedField n, Semigroup m) => Double -> QDiagram b v n m -> QDiagram b v n m
- href :: (Metric v, OrderedField n, Semigroup m) => String -> QDiagram b v n m -> QDiagram b v n m
- localize :: (Metric v, OrderedField n, Semigroup m) => QDiagram b v n m -> QDiagram b v n m
- location :: (Additive v, Num n) => Subdiagram b v n m -> Point v n
- lookupName :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> QDiagram b v n m -> Maybe (Subdiagram b v n m)
- lookupSub :: IsName nm => nm -> SubMap b v n m -> Maybe [Subdiagram b v n m]
- mkQD :: Prim b v n -> Envelope v n -> Trace v n -> SubMap b v n m -> Query v n m -> QDiagram b v n m
- mkSubdiagram :: QDiagram b v n m -> Subdiagram b v n m
- nameSub :: (IsName nm, Metric v, OrderedField n, Semigroup m) => (QDiagram b v n m -> Subdiagram b v n m) -> nm -> QDiagram b v n m -> QDiagram b v n m
- names :: (Metric v, Semigroup m, OrderedField n) => QDiagram b v n m -> [(Name, [Point v n])]
- opacityGroup :: (Metric v, OrderedField n, Semigroup m) => Double -> QDiagram b v n m -> QDiagram b v n m
- pointDiagram :: (Metric v, Fractional n) => Point v n -> QDiagram b v n m
- query :: Monoid m => QDiagram b v n m -> Query v n m
- rawSub :: Subdiagram b v n m -> QDiagram b v n m
- rememberAs :: IsName a => a -> QDiagram b v n m -> SubMap b v n m -> SubMap b v n m
- setEnvelope :: (OrderedField n, Metric v, Monoid' m) => Envelope v n -> QDiagram b v n m -> QDiagram b v n m
- setTrace :: (OrderedField n, Metric v, Semigroup m) => Trace v n -> QDiagram b v n m -> QDiagram b v n m
- subMap :: (Metric v, Semigroup m, OrderedField n) => Lens' (QDiagram b v n m) (SubMap b v n m)
- subPoint :: (Metric v, OrderedField n) => Point v n -> Subdiagram b v n m
- withName :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> (Subdiagram b v n m -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m
- withNameAll :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> ([Subdiagram b v n m] -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m
- withNames :: (IsName nm, Metric v, Semigroup m, OrderedField n) => [nm] -> ([Subdiagram b v n m] -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m
- align :: (InSpace v n a, Fractional n, Alignable a, HasOrigin a) => v n -> a -> a
- alignBy'Default :: (InSpace v n a, Fractional n, HasOrigin a) => (v n -> a -> Point v n) -> v n -> n -> a -> a
- center :: (InSpace v n a, Fractional n, Traversable v, Alignable a, HasOrigin a) => a -> a
- centerV :: (InSpace v n a, Fractional n, Alignable a, HasOrigin a) => v n -> a -> a
- envelopeBoundary :: (V a ~ v, N a ~ n, Enveloped a) => v n -> a -> Point v n
- snug :: (InSpace v n a, Fractional n, Alignable a, Traced a, HasOrigin a) => v n -> a -> a
- snugBy :: (InSpace v n a, Fractional n, Alignable a, Traced a, HasOrigin a) => v n -> n -> a -> a
- snugCenter :: (InSpace v n a, Traversable v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugCenterV :: (InSpace v n a, Fractional n, Alignable a, Traced a, HasOrigin a) => v n -> a -> a
- traceBoundary :: (V a ~ v, N a ~ n, Num n, Traced a) => v n -> a -> Point v n
- (@@) :: b -> AReview a b -> a
- acosA :: Floating n => n -> Angle n
- angleBetween :: (Metric v, Floating n, Ord n) => v n -> v n -> Angle n
- angleRatio :: Floating n => Angle n -> Angle n -> n
- asinA :: Floating n => n -> Angle n
- atan2A :: RealFloat n => n -> n -> Angle n
- atan2A' :: OrderedField n => n -> n -> Angle n
- atanA :: Floating n => n -> Angle n
- cosA :: Floating n => Angle n -> n
- deg :: Floating n => Iso' (Angle n) n
- fullTurn :: Floating v => Angle v
- halfTurn :: Floating v => Angle v
- normalizeAngle :: (Floating n, Real n) => Angle n -> Angle n
- quarterTurn :: Floating v => Angle v
- rad :: Iso' (Angle n) n
- rotate :: (InSpace V2 n t, Transformable t, Floating n) => Angle n -> t -> t
- rotation :: Floating n => Angle n -> Transformation V2 n
- sinA :: Floating n => Angle n -> n
- tanA :: Floating n => Angle n -> n
- turn :: Floating n => Iso' (Angle n) n
- animEnvelope :: (OrderedField n, Metric v, Monoid' m) => QAnimation b v n m -> QAnimation b v n m
- animEnvelope' :: (OrderedField n, Metric v, Monoid' m) => Rational -> QAnimation b v n m -> QAnimation b v n m
- animRect :: (InSpace V2 n t, Monoid' m, TrailLike t, Enveloped t, Transformable t, Monoid t) => QAnimation b V2 n m -> t
- animRect' :: (InSpace V2 n t, Monoid' m, TrailLike t, Enveloped t, Transformable t, Monoid t) => Rational -> QAnimation b V2 n m -> t
- _Commit :: Prism' (Recommend a) a
- _FillOpacity :: Iso' FillOpacity Double
- _LineMiterLimit :: Iso' LineMiterLimit Double
- _LineWidth :: Iso' (LineWidth n) n
- _LineWidthM :: Iso' (LineWidthM n) (Measure n)
- _Opacity :: Iso' Opacity Double
- _Recommend :: Prism' (Recommend a) a
- _SomeColor :: Iso' SomeColor (AlphaColour Double)
- _StrokeOpacity :: Iso' StrokeOpacity Double
- _dashing :: Typeable n => Lens' (Style v n) (Maybe (Measured n (Dashing n)))
- _dashingU :: Typeable n => Lens' (Style v n) (Maybe (Dashing n))
- _fillOpacity :: Lens' (Style v n) Double
- _lineCap :: Lens' (Style v n) LineCap
- _lineJoin :: Lens' (Style v n) LineJoin
- _lineMiterLimit :: Lens' (Style v n) Double
- _lineWidth :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measure n)
- _lineWidthU :: Typeable n => Lens' (Style v n) (Maybe n)
- _lw :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measure n)
- _opacity :: Lens' (Style v n) Double
- _recommend :: Lens (Recommend a) (Recommend b) a b
- _strokeOpacity :: Lens' (Style v n) Double
- colorToRGBA :: Color c => c -> (Double, Double, Double, Double)
- colorToSRGBA :: Color c => c -> (Double, Double, Double, Double)
- committed :: Iso (Recommend a) (Recommend b) a b
- dashing :: (N a ~ n, HasStyle a, Typeable n) => [Measure n] -> Measure n -> a -> a
- dashingG :: (N a ~ n, HasStyle a, Typeable n, Num n) => [n] -> n -> a -> a
- dashingL :: (N a ~ n, HasStyle a, Typeable n, Num n) => [n] -> n -> a -> a
- dashingN :: (N a ~ n, HasStyle a, Typeable n, Num n) => [n] -> n -> a -> a
- dashingO :: (N a ~ n, HasStyle a, Typeable n) => [n] -> n -> a -> a
- fillOpacity :: HasStyle a => Double -> a -> a
- getDashing :: Dashing n -> Dashing n
- getFillOpacity :: FillOpacity -> Double
- getLineCap :: LineCap -> LineCap
- getLineJoin :: LineJoin -> LineJoin
- getLineMiterLimit :: LineMiterLimit -> Double
- getLineWidth :: LineWidth n -> n
- getOpacity :: Opacity -> Double
- getStrokeOpacity :: StrokeOpacity -> Double
- huge :: OrderedField n => Measure n
- isCommitted :: Lens' (Recommend a) Bool
- large :: OrderedField n => Measure n
- lineCap :: HasStyle a => LineCap -> a -> a
- lineJoin :: HasStyle a => LineJoin -> a -> a
- lineMiterLimit :: HasStyle a => Double -> a -> a
- lineMiterLimitA :: HasStyle a => LineMiterLimit -> a -> a
- lineWidth :: (N a ~ n, HasStyle a, Typeable n) => Measure n -> a -> a
- lineWidthM :: (N a ~ n, HasStyle a, Typeable n) => LineWidthM n -> a -> a
- lw :: (N a ~ n, HasStyle a, Typeable n) => Measure n -> a -> a
- lwG :: (N a ~ n, HasStyle a, Typeable n, Num n) => n -> a -> a
- lwL :: (N a ~ n, HasStyle a, Typeable n, Num n) => n -> a -> a
- lwN :: (N a ~ n, HasStyle a, Typeable n, Num n) => n -> a -> a
- lwO :: (N a ~ n, HasStyle a, Typeable n) => n -> a -> a
- medium :: OrderedField n => Measure n
- none :: OrderedField n => Measure n
- normal :: OrderedField n => Measure n
- opacity :: HasStyle a => Double -> a -> a
- small :: OrderedField n => Measure n
- someToAlpha :: SomeColor -> AlphaColour Double
- strokeOpacity :: HasStyle a => Double -> a -> a
- thick :: OrderedField n => Measure n
- thin :: OrderedField n => Measure n
- tiny :: OrderedField n => Measure n
- ultraThick :: OrderedField n => Measure n
- ultraThin :: OrderedField n => Measure n
- veryLarge :: OrderedField n => Measure n
- verySmall :: OrderedField n => Measure n
- veryThick :: OrderedField n => Measure n
- veryThin :: OrderedField n => Measure n
- boundingBox :: (InSpace v n a, HasBasis v, Enveloped a) => a -> BoundingBox v n
- boxCenter :: (Additive v, Fractional n) => BoundingBox v n -> Maybe (Point v n)
- boxExtents :: (Additive v, Num n) => BoundingBox v n -> v n
- boxFit :: (InSpace v n a, HasBasis v, Enveloped a, Transformable a, Monoid a) => BoundingBox v n -> a -> a
- boxGrid :: (Traversable v, Additive v, Num n, Enum n) => n -> BoundingBox v n -> [Point v n]
- boxTransform :: (Additive v, Fractional n) => BoundingBox v n -> BoundingBox v n -> Maybe (Transformation v n)
- centerPoint :: (InSpace v n a, HasBasis v, Enveloped a) => a -> Point v n
- contains' :: (Additive v, Foldable v, Ord n) => BoundingBox v n -> Point v n -> Bool
- emptyBox :: BoundingBox v n
- fromCorners :: (Additive v, Foldable v, Ord n) => Point v n -> Point v n -> BoundingBox v n
- fromPoint :: Point v n -> BoundingBox v n
- fromPoints :: (Additive v, Ord n) => [Point v n] -> BoundingBox v n
- getAllCorners :: (Additive v, Traversable v) => BoundingBox v n -> [Point v n]
- getCorners :: BoundingBox v n -> Maybe (Point v n, Point v n)
- inside' :: (Additive v, Foldable v, Ord n) => BoundingBox v n -> BoundingBox v n -> Bool
- isEmptyBox :: BoundingBox v n -> Bool
- mCenterPoint :: (InSpace v n a, HasBasis v, Enveloped a) => a -> Maybe (Point v n)
- outside' :: (Additive v, Foldable v, Ord n) => BoundingBox v n -> BoundingBox v n -> Bool
- appends :: (Juxtaposable a, Monoid' a) => a -> [(Vn a, a)] -> a
- atDirection :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Semigroup a) => Direction v n -> a -> a -> a
- atPoints :: (InSpace v n a, HasOrigin a, Monoid' a) => [Point v n] -> [a] -> a
- beneath :: (Metric v, OrderedField n, Monoid' m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m
- beside :: (Juxtaposable a, Semigroup a) => Vn a -> a -> a -> a
- cat :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Monoid' a, HasOrigin a) => v n -> [a] -> a
- cat' :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Monoid' a, HasOrigin a) => v n -> CatOpts n -> [a] -> a
- catMethod :: Lens' (CatOpts n) CatMethod
- composeAligned :: (Monoid' m, Floating n, Ord n, Metric v) => (QDiagram b v n m -> QDiagram b v n m) -> ([QDiagram b v n m] -> QDiagram b v n m) -> [QDiagram b v n m] -> QDiagram b v n m
- extrudeEnvelope :: (Metric v, OrderedField n, Monoid' m) => v n -> QDiagram b v n m -> QDiagram b v n m
- frame :: (Metric v, OrderedField n, Monoid' m) => n -> QDiagram b v n m -> QDiagram b v n m
- intrudeEnvelope :: (Metric v, OrderedField n, Monoid' m) => v n -> QDiagram b v n m -> QDiagram b v n m
- pad :: (Metric v, OrderedField n, Monoid' m) => n -> QDiagram b v n m -> QDiagram b v n m
- phantom :: (InSpace v n a, Monoid' m, Enveloped a, Traced a) => a -> QDiagram b v n m
- position :: (InSpace v n a, HasOrigin a, Monoid' a) => [(Point v n, a)] -> a
- sep :: Lens' (CatOpts n) n
- strut :: (Metric v, OrderedField n) => v n -> QDiagram b v n m
- withEnvelope :: (InSpace v n a, Monoid' m, Enveloped a) => a -> QDiagram b v n m -> QDiagram b v n m
- withTrace :: (InSpace v n a, Metric v, OrderedField n, Monoid' m, Traced a) => a -> QDiagram b v n m -> QDiagram b v n m
- cubicSpline :: (V t ~ v, N t ~ n, TrailLike t, Fractional (v n)) => Bool -> [Point v n] -> t
- bspline :: (TrailLike t, V t ~ v, N t ~ n) => BSpline v n -> t
- asDeformation :: (Additive v, Num n) => Transformation v n -> Deformation v v n
- _Dir :: Iso' (Direction v n) (v n)
- angleBetweenDirs :: (Metric v, Floating n, Ord n) => Direction v n -> Direction v n -> Angle n
- dirBetween :: (Additive v, Num n) => Point v n -> Point v n -> Direction v n
- direction :: v n -> Direction v n
- fromDir :: (Metric v, Floating n) => Direction v n -> v n
- fromDirection :: (Metric v, Floating n) => Direction v n -> v n
- _loc :: Lens' (Located a) (Point (V a) (N a))
- at :: a -> Point (V a) (N a) -> Located a
- located :: SameSpace a b => Lens (Located a) (Located b) a b
- mapLoc :: SameSpace a b => (a -> b) -> Located a -> Located b
- viewLoc :: Located a -> (Point (V a) (N a), a)
- namePoint :: (IsName nm, Metric v, OrderedField n, Semigroup m) => (QDiagram b v n m -> Point v n) -> nm -> QDiagram b v n m -> QDiagram b v n m
- named :: (IsName nm, Metric v, OrderedField n, Semigroup m) => nm -> QDiagram b v n m -> QDiagram b v n m
- domainBounds :: DomainBounds p => p -> (N p, N p)
- stdTolerance :: Fractional a => a
- adjEps :: Lens' (AdjustOpts n) n
- adjMethod :: Lens' (AdjustOpts n) (AdjustMethod n)
- adjSide :: Lens' (AdjustOpts n) AdjustSide
- adjust :: (N t ~ n, Sectionable t, HasArcLength t, Fractional n) => t -> AdjustOpts n -> t
- explodePath :: (V t ~ v, N t ~ n, TrailLike t) => Path v n -> [[t]]
- fixPath :: (Metric v, OrderedField n) => Path v n -> [[FixedSegment v n]]
- partitionPath :: (Located (Trail v n) -> Bool) -> Path v n -> (Path v n, Path v n)
- pathCentroid :: (Metric v, OrderedField n) => Path v n -> Point v n
- pathFromLocTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> Path v n
- pathFromTrail :: (Metric v, OrderedField n) => Trail v n -> Path v n
- pathFromTrailAt :: (Metric v, OrderedField n) => Trail v n -> Point v n -> Path v n
- pathLocSegments :: (Metric v, OrderedField n) => Path v n -> [[Located (Segment Closed v n)]]
- pathOffsets :: (Metric v, OrderedField n) => Path v n -> [v n]
- pathTrails :: Path v n -> [Located (Trail v n)]
- pathVertices :: (Metric v, OrderedField n) => Path v n -> [[Point v n]]
- pathVertices' :: (Metric v, OrderedField n) => n -> Path v n -> [[Point v n]]
- reversePath :: (Metric v, OrderedField n) => Path v n -> Path v n
- scalePath :: (HasLinearMap v, Metric v, OrderedField n) => n -> Path v n -> Path v n
- centroid :: (Additive v, Fractional n) => [Point v n] -> Point v n
- clearValue :: QDiagram b v n m -> QDiagram b v n Any
- inquire :: HasQuery t Any => t -> Point (V t) (N t) -> Bool
- resetValue :: (Eq m, Monoid m) => QDiagram b v n m -> QDiagram b v n Any
- sample :: HasQuery t m => t -> Point (V t) (N t) -> m
- value :: Monoid m => m -> QDiagram b v n Any -> QDiagram b v n m
- bezier3 :: v n -> v n -> v n -> Segment Closed v n
- bézier3 :: v n -> v n -> v n -> Segment Closed v n
- fixedSegIso :: (Num n, Additive v) => Iso' (FixedSegment v n) (Located (Segment Closed v n))
- fromFixedSeg :: (Num n, Additive v) => FixedSegment v n -> Located (Segment Closed v n)
- getArcLengthBounded :: (Num n, Ord n) => n -> ArcLength n -> Interval n
- getArcLengthCached :: ArcLength n -> Interval n
- getArcLengthFun :: ArcLength n -> n -> Interval n
- mapSegmentVectors :: (v n -> v' n') -> Segment c v n -> Segment c v' n'
- mkFixedSeg :: (Num n, Additive v) => Located (Segment Closed v n) -> FixedSegment v n
- oeEnvelope :: Lens' (OffsetEnvelope v n) (Envelope v n)
- oeOffset :: Lens' (OffsetEnvelope v n) (TotalOffset v n)
- openCubic :: v n -> v n -> Segment Open v n
- openLinear :: Segment Open v n
- reverseSegment :: (Num n, Additive v) => Segment Closed v n -> Segment Closed v n
- segOffset :: Segment Closed v n -> v n
- straight :: v n -> Segment Closed v n
- absolute :: (Additive v, Num n) => SizeSpec v n
- dims :: v n -> SizeSpec v n
- getSpec :: (Functor v, Num n, Ord n) => SizeSpec v n -> v (Maybe n)
- mkSizeSpec :: (Functor v, Num n) => v (Maybe n) -> SizeSpec v n
- requiredScale :: (Additive v, Foldable v, Fractional n, Ord n) => SizeSpec v n -> v n -> n
- requiredScaling :: (Additive v, Foldable v, Fractional n, Ord n) => SizeSpec v n -> v n -> Transformation v n
- sizeAdjustment :: (Additive v, Foldable v, OrderedField n) => SizeSpec v n -> BoundingBox v n -> (v n, Transformation v n)
- sized :: (InSpace v n a, HasLinearMap v, Transformable a, Enveloped a) => SizeSpec v n -> a -> a
- sizedAs :: (InSpace v n a, SameSpace a b, HasLinearMap v, Transformable a, Enveloped a, Enveloped b) => b -> a -> a
- specToSize :: (Foldable v, Functor v, Num n, Ord n) => n -> SizeSpec v n -> v n
- normalAtEnd :: (InSpace V2 n t, EndValues (Tangent t), Floating n) => t -> V2 n
- normalAtParam :: (InSpace V2 n t, Parametric (Tangent t), Floating n) => t -> n -> V2 n
- normalAtStart :: (InSpace V2 n t, EndValues (Tangent t), Floating n) => t -> V2 n
- tangentAtEnd :: EndValues (Tangent t) => t -> Vn t
- tangentAtParam :: Parametric (Tangent t) => t -> N t -> Vn t
- tangentAtStart :: EndValues (Tangent t) => t -> Vn t
- alignXMax :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignXMin :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignYMax :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignYMin :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => n -> a -> a
- alignZMax :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignZMin :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerXYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerXZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- snugCenterXYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugCenterXZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugCenterYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugCenterZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugXMax :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugXMin :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugYMax :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugYMin :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugZ :: (V a ~ v, N a ~ n, Alignable a, Traced a, HasOrigin a, R3 v, Fractional n) => n -> a -> a
- snugZMax :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- snugZMin :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a
- _Ambient :: Iso' Ambient Double
- _Diffuse :: Iso' Diffuse Double
- _Highlight :: Iso' Highlight Specular
- _SurfaceColor :: Iso' SurfaceColor (Colour Double)
- _ambient :: Lens' (Style v n) (Maybe Double)
- _diffuse :: Lens' (Style v n) (Maybe Double)
- _highlight :: Lens' (Style v n) (Maybe Specular)
- _sc :: Lens' (Style v n) (Maybe (Colour Double))
- ambient :: HasStyle d => Double -> d -> d
- diffuse :: HasStyle d => Double -> d -> d
- highlight :: HasStyle d => Specular -> d -> d
- highlightIntensity :: Traversal' (Style v n) Double
- highlightSize :: Traversal' (Style v n) Double
- sc :: HasStyle d => Colour Double -> d -> d
- specularIntensity :: Lens' Specular Double
- specularSize :: Lens' Specular Double
- camAspect :: (Floating n, CameraLens l) => Camera l n -> n
- camForward :: Camera l n -> Direction V3 n
- camLens :: Camera l n -> l n
- camRight :: Fractional n => Camera l n -> Direction V3 n
- camUp :: Camera l n -> Direction V3 n
- facing_ZCamera :: (Floating n, Ord n, Typeable n, CameraLens l, Renderable (Camera l n) b) => l n -> QDiagram b V3 n Any
- horizontalFieldOfView :: Lens' (PerspectiveLens n) (Angle n)
- mm50 :: Floating n => PerspectiveLens n
- mm50Camera :: (Typeable n, Floating n, Ord n, Renderable (Camera PerspectiveLens n) b) => QDiagram b V3 n Any
- mm50Narrow :: Floating n => PerspectiveLens n
- mm50Wide :: Floating n => PerspectiveLens n
- orthoHeight :: Lens' (OrthoLens n) n
- orthoWidth :: Lens' (OrthoLens n) n
- verticalFieldOfView :: Lens' (PerspectiveLens n) (Angle n)
- facingZ :: (R3 v, Functor v, Fractional n) => Deformation v v n
- parallelZ0 :: (R3 v, Num n) => Deformation v v n
- perspectiveZ1 :: (R3 v, Functor v, Fractional n) => Deformation v v n
- parallelLight :: (Typeable n, OrderedField n, Renderable (ParallelLight n) b) => Direction V3 n -> Colour Double -> QDiagram b V3 n Any
- pointLight :: (Typeable n, Num n, Ord n, Renderable (PointLight n) b) => Colour Double -> QDiagram b V3 n Any
- cone :: Num n => Frustum n
- cube :: Num n => Box n
- cylinder :: Num n => Frustum n
- difference :: (CsgPrim a, CsgPrim b) => a n -> b n -> CSG n
- frustum :: Num n => n -> n -> Frustum n
- intersection :: (CsgPrim a, CsgPrim b) => a n -> b n -> CSG n
- sphere :: Num n => Ellipsoid n
- union :: (CsgPrim a, CsgPrim b) => a n -> b n -> CSG n
- aboutX :: Floating n => Angle n -> Transformation V3 n
- aboutY :: Floating n => Angle n -> Transformation V3 n
- aboutZ :: Floating n => Angle n -> Transformation V3 n
- pointAt :: (Floating n, Ord n) => Direction V3 n -> Direction V3 n -> Direction V3 n -> Transformation V3 n
- pointAt' :: (Floating n, Ord n) => V3 n -> V3 n -> V3 n -> Transformation V3 n
- reflectAcross :: (InSpace v n t, Metric v, Fractional n, Transformable t) => Point v n -> v n -> t -> t
- reflectZ :: (InSpace v n t, R3 v, Transformable t) => t -> t
- reflectionAcross :: (Metric v, Fractional n) => Point v n -> v n -> Transformation v n
- reflectionZ :: (Additive v, R3 v, Num n) => Transformation v n
- rotateAbout :: (InSpace V3 n t, Floating n, Transformable t) => Point V3 n -> Direction V3 n -> Angle n -> t -> t
- rotationAbout :: Floating n => Point V3 n -> Direction V3 n -> Angle n -> Transformation V3 n
- scaleZ :: (InSpace v n t, R3 v, Fractional n, Transformable t) => n -> t -> t
- scalingZ :: (Additive v, R3 v, Fractional n) => n -> Transformation v n
- translateZ :: (InSpace v n t, R3 v, Transformable t) => n -> t -> t
- translationZ :: (Additive v, R3 v, Num n) => n -> Transformation v n
- mkP3 :: n -> n -> n -> P3 n
- mkR3 :: n -> n -> n -> V3 n
- p3 :: (n, n, n) -> P3 n
- p3Iso :: Iso' (P3 n) (n, n, n)
- r3 :: (n, n, n) -> V3 n
- r3CylindricalIso :: RealFloat n => Iso' (V3 n) (n, Angle n, n)
- r3Iso :: Iso' (V3 n) (n, n, n)
- r3SphericalIso :: RealFloat n => Iso' (V3 n) (n, Angle n, Angle n)
- unp3 :: P3 n -> (n, n, n)
- unr3 :: V3 n -> (n, n, n)
- unitZ :: (R3 v, Additive v, Num n) => v n
- unit_Z :: (R3 v, Additive v, Num n) => v n
- zDir :: (R3 v, Additive v, Num n) => Direction v n
- boundaryFrom :: (OrderedField n, Metric v, Semigroup m) => Subdiagram b v n m -> v n -> Point v n
- boundaryFromMay :: (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> v n -> Maybe (Point v n)
- _Line :: Prism' (Trail v n) (Trail' Line v n)
- _LocLine :: Prism' (Located (Trail v n)) (Located (Trail' Line v n))
- _LocLoop :: Prism' (Located (Trail v n)) (Located (Trail' Loop v n))
- _Loop :: Prism' (Trail v n) (Trail' Loop v n)
- closeLine :: Trail' Line v n -> Trail' Loop v n
- closeTrail :: Trail v n -> Trail v n
- cutLoop :: (Metric v, OrderedField n) => Trail' Loop v n -> Trail' Line v n
- cutTrail :: (Metric v, OrderedField n) => Trail v n -> Trail v n
- emptyLine :: (Metric v, OrderedField n) => Trail' Line v n
- emptyTrail :: (Metric v, OrderedField n) => Trail v n
- fixTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> [FixedSegment v n]
- getSegment :: t -> GetSegment t
- glueLine :: (Metric v, OrderedField n) => Trail' Line v n -> Trail' Loop v n
- glueTrail :: (Metric v, OrderedField n) => Trail v n -> Trail v n
- isLine :: Trail v n -> Bool
- isLineEmpty :: (Metric v, OrderedField n) => Trail' Line v n -> Bool
- isLoop :: Trail v n -> Bool
- isTrailEmpty :: (Metric v, OrderedField n) => Trail v n -> Bool
- lineFromOffsets :: (Metric v, OrderedField n) => [v n] -> Trail' Line v n
- lineFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Trail' Line v n
- lineFromVertices :: (Metric v, OrderedField n) => [Point v n] -> Trail' Line v n
- lineOffset :: (Metric v, OrderedField n) => Trail' Line v n -> v n
- lineOffsets :: Trail' Line v n -> [v n]
- lineSegments :: Trail' Line v n -> [Segment Closed v n]
- lineVertices :: (Metric v, OrderedField n) => Located (Trail' Line v n) -> [Point v n]
- lineVertices' :: (Metric v, OrderedField n) => n -> Located (Trail' Line v n) -> [Point v n]
- loopFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Segment Open v n -> Trail' Loop v n
- loopOffsets :: (Metric v, OrderedField n) => Trail' Loop v n -> [v n]
- loopSegments :: Trail' Loop v n -> ([Segment Closed v n], Segment Open v n)
- loopVertices :: (Metric v, OrderedField n) => Located (Trail' Loop v n) -> [Point v n]
- loopVertices' :: (Metric v, OrderedField n) => n -> Located (Trail' Loop v n) -> [Point v n]
- numSegs :: (Num c, Measured (SegMeasure v n) a) => a -> c
- offset :: (OrderedField n, Metric v, Measured (SegMeasure v n) t) => t -> v n
- onLine :: (Metric v, OrderedField n) => (Trail' Line v n -> Trail' Line v n) -> Trail v n -> Trail v n
- onLineSegments :: (Metric v, OrderedField n) => ([Segment Closed v n] -> [Segment Closed v n]) -> Trail' Line v n -> Trail' Line v n
- onTrail :: (Trail' Line v n -> Trail' l1 v n) -> (Trail' Loop v n -> Trail' l2 v n) -> Trail v n -> Trail v n
- reverseLine :: (Metric v, OrderedField n) => Trail' Line v n -> Trail' Line v n
- reverseLocLine :: (Metric v, OrderedField n) => Located (Trail' Line v n) -> Located (Trail' Line v n)
- reverseLocLoop :: (Metric v, OrderedField n) => Located (Trail' Loop v n) -> Located (Trail' Loop v n)
- reverseLocTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> Located (Trail v n)
- reverseLoop :: (Metric v, OrderedField n) => Trail' Loop v n -> Trail' Loop v n
- reverseTrail :: (Metric v, OrderedField n) => Trail v n -> Trail v n
- trailFromOffsets :: (Metric v, OrderedField n) => [v n] -> Trail v n
- trailFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Trail v n
- trailFromVertices :: (Metric v, OrderedField n) => [Point v n] -> Trail v n
- trailLocSegments :: (Metric v, OrderedField n) => Located (Trail v n) -> [Located (Segment Closed v n)]
- trailMeasure :: (SegMeasure v n :>: m, Measured (SegMeasure v n) t) => a -> (m -> a) -> t -> a
- trailOffset :: (Metric v, OrderedField n) => Trail v n -> v n
- trailOffsets :: (Metric v, OrderedField n) => Trail v n -> [v n]
- trailSegments :: (Metric v, OrderedField n) => Trail v n -> [Segment Closed v n]
- trailVertices :: (Metric v, OrderedField n) => Located (Trail v n) -> [Point v n]
- trailVertices' :: (Metric v, OrderedField n) => n -> Located (Trail v n) -> [Point v n]
- unfixTrail :: (Metric v, Ord n, Floating n) => [FixedSegment v n] -> Located (Trail v n)
- withLine :: (Metric v, OrderedField n) => (Trail' Line v n -> r) -> Trail v n -> r
- withTrail :: (Trail' Line v n -> r) -> (Trail' Loop v n -> r) -> Trail v n -> r
- withTrail' :: (Trail' Line v n -> r) -> (Trail' Loop v n -> r) -> Trail' l v n -> r
- wrapLine :: Trail' Line v n -> Trail v n
- wrapLoop :: Trail' Loop v n -> Trail v n
- wrapTrail :: Trail' l v n -> Trail v n
- explodeTrail :: (V t ~ v, N t ~ n, TrailLike t) => Located (Trail v n) -> [t]
- fromLocOffsets :: (V t ~ v, N t ~ n, V (v n) ~ v, N (v n) ~ n, TrailLike t) => Located [v n] -> t
- fromLocSegments :: TrailLike t => Located [Segment Closed (V t) (N t)] -> t
- fromOffsets :: TrailLike t => [Vn t] -> t
- fromSegments :: TrailLike t => [Segment Closed (V t) (N t)] -> t
- fromVertices :: TrailLike t => [Point (V t) (N t)] -> t
- (~~) :: (V t ~ v, N t ~ n, TrailLike t) => Point v n -> Point v n -> t
- conjugate :: (Additive v, Num n) => Transformation v n -> Transformation v n -> Transformation v n
- movedFrom :: (InSpace v n a, SameSpace a b, HasOrigin a, HasOrigin b) => Point v n -> Iso a b a b
- movedTo :: (InSpace v n a, SameSpace a b, HasOrigin a, HasOrigin b) => Point v n -> Iso a b a b
- transformed :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => Transformation v n -> Iso a b a b
- translated :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => v n -> Iso a b a b
- underT :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => (a -> b) -> Transformation v n -> a -> b
- alignB :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignBL :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignBR :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignL :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignR :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignT :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignTL :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignTR :: (InSpace V2 n a, Fractional n, Alignable a, HasOrigin a) => a -> a
- alignX :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a) => n -> a -> a
- alignY :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a) => n -> a -> a
- centerX :: (InSpace v n a, R1 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerXY :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- centerY :: (InSpace v n a, R2 v, Fractional n, Alignable a, HasOrigin a) => a -> a
- snugB :: (InSpace V2 n a, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugCenterX :: (InSpace v n a, R1 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugCenterXY :: (InSpace v n a, R2 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugCenterY :: (InSpace v n a, R2 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugL :: (InSpace V2 n a, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugR :: (InSpace V2 n a, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugT :: (InSpace V2 n a, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a
- snugX :: (InSpace v n a, R1 v, Fractional n, Alignable a, Traced a, HasOrigin a) => n -> a -> a
- snugY :: (InSpace v n a, R2 v, Fractional n, Alignable a, Traced a, HasOrigin a) => n -> a -> a
- annularWedge :: (TrailLike t, V t ~ V2, N t ~ n, RealFloat n) => n -> n -> Direction V2 n -> Angle n -> t
- arc :: (InSpace V2 n t, OrderedField n, TrailLike t) => Direction V2 n -> Angle n -> t
- arc' :: (InSpace V2 n t, OrderedField n, TrailLike t) => n -> Direction V2 n -> Angle n -> t
- arcBetween :: (TrailLike t, V t ~ V2, N t ~ n, RealFloat n) => Point V2 n -> Point V2 n -> n -> t
- arcCCW :: (InSpace V2 n t, RealFloat n, TrailLike t) => Direction V2 n -> Direction V2 n -> t
- arcCW :: (InSpace V2 n t, RealFloat n, TrailLike t) => Direction V2 n -> Direction V2 n -> t
- wedge :: (InSpace V2 n t, OrderedField n, TrailLike t) => n -> Direction V2 n -> Angle n -> t
- arrow :: (TypeableFloat n, Renderable (Path V2 n) b) => n -> QDiagram b V2 n Any
- arrow' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> n -> QDiagram b V2 n Any
- arrowAt :: (TypeableFloat n, Renderable (Path V2 n) b) => Point V2 n -> V2 n -> QDiagram b V2 n Any
- arrowAt' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> Point V2 n -> V2 n -> QDiagram b V2 n Any
- arrowBetween :: (TypeableFloat n, Renderable (Path V2 n) b) => Point V2 n -> Point V2 n -> QDiagram b V2 n Any
- arrowBetween' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> Point V2 n -> Point V2 n -> QDiagram b V2 n Any
- arrowHead :: Lens' (ArrowOpts n) (ArrowHT n)
- arrowShaft :: Lens' (ArrowOpts n) (Trail V2 n)
- arrowTail :: Lens' (ArrowOpts n) (ArrowHT n)
- arrowV :: (TypeableFloat n, Renderable (Path V2 n) b) => V2 n -> QDiagram b V2 n Any
- arrowV' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> V2 n -> QDiagram b V2 n Any
- connect :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- connect' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- connectOutside :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- connectOutside' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- connectPerim :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> Angle n -> Angle n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- connectPerim' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> Angle n -> Angle n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- gap :: Traversal' (ArrowOpts n) (Measure n)
- gaps :: Traversal' (ArrowOpts n) (Measure n)
- headGap :: Lens' (ArrowOpts n) (Measure n)
- headLength :: Lens' (ArrowOpts n) (Measure n)
- headStyle :: Lens' (ArrowOpts n) (Style V2 n)
- headTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n)
- lengths :: Traversal' (ArrowOpts n) (Measure n)
- shaftStyle :: Lens' (ArrowOpts n) (Style V2 n)
- shaftTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n)
- straightShaft :: OrderedField n => Trail V2 n
- tailGap :: Lens' (ArrowOpts n) (Measure n)
- tailLength :: Lens' (ArrowOpts n) (Measure n)
- tailStyle :: Lens' (ArrowOpts n) (Style V2 n)
- tailTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n)
- arrowheadDart :: RealFloat n => Angle n -> ArrowHT n
- arrowheadHalfDart :: RealFloat n => Angle n -> ArrowHT n
- arrowheadSpike :: RealFloat n => Angle n -> ArrowHT n
- arrowheadThorn :: RealFloat n => Angle n -> ArrowHT n
- arrowheadTriangle :: RealFloat n => Angle n -> ArrowHT n
- arrowtailBlock :: RealFloat n => Angle n -> ArrowHT n
- arrowtailQuill :: OrderedField n => Angle n -> ArrowHT n
- block :: RealFloat n => ArrowHT n
- dart :: RealFloat n => ArrowHT n
- dart' :: RealFloat n => ArrowHT n
- halfDart :: RealFloat n => ArrowHT n
- halfDart' :: RealFloat n => ArrowHT n
- lineHead :: RealFloat n => ArrowHT n
- lineTail :: RealFloat n => ArrowHT n
- noHead :: ArrowHT n
- noTail :: ArrowHT n
- quill :: (Floating n, Ord n) => ArrowHT n
- spike :: RealFloat n => ArrowHT n
- spike' :: RealFloat n => ArrowHT n
- thorn :: RealFloat n => ArrowHT n
- thorn' :: RealFloat n => ArrowHT n
- tri :: RealFloat n => ArrowHT n
- tri' :: RealFloat n => ArrowHT n
- _AC :: Prism' (Texture n) (AlphaColour Double)
- _FillTexture :: Iso' (FillTexture n) (Recommend (Texture n))
- _LG :: Prism' (Texture n) (LGradient n)
- _LineTexture :: Iso (LineTexture n) (LineTexture n') (Texture n) (Texture n')
- _RG :: Prism' (Texture n) (RGradient n)
- _SC :: Prism' (Texture n) SomeColor
- _fillTexture :: (Typeable n, Floating n) => Lens' (Style V2 n) (Texture n)
- _lineTexture :: (Floating n, Typeable n) => Lens' (Style V2 n) (Texture n)
- defaultLG :: Fractional n => Texture n
- defaultRG :: Fractional n => Texture n
- fc :: (InSpace V2 n a, Floating n, Typeable n, HasStyle a) => Colour Double -> a -> a
- fcA :: (InSpace V2 n a, Floating n, Typeable n, HasStyle a) => AlphaColour Double -> a -> a
- fillColor :: (InSpace V2 n a, Color c, Typeable n, Floating n, HasStyle a) => c -> a -> a
- fillTexture :: (InSpace V2 n a, Typeable n, Floating n, HasStyle a) => Texture n -> a -> a
- getFillTexture :: FillTexture n -> Texture n
- getLineTexture :: LineTexture n -> Texture n
- lGradEnd :: Lens' (LGradient n) (Point V2 n)
- lGradSpreadMethod :: Lens' (LGradient n) SpreadMethod
- lGradStart :: Lens' (LGradient n) (Point V2 n)
- lGradStops :: Lens' (LGradient n) [GradientStop n]
- lGradTrans :: Lens' (LGradient n) (Transformation V2 n)
- lc :: (InSpace V2 n a, Typeable n, Floating n, HasStyle a) => Colour Double -> a -> a
- lcA :: (InSpace V2 n a, Typeable n, Floating n, HasStyle a) => AlphaColour Double -> a -> a
- lineColor :: (InSpace V2 n a, Color c, Typeable n, Floating n, HasStyle a) => c -> a -> a
- lineTexture :: (InSpace V2 n a, Typeable n, Floating n, HasStyle a) => Texture n -> a -> a
- lineTextureA :: (InSpace V2 n a, Typeable n, Floating n, HasStyle a) => LineTexture n -> a -> a
- mkLinearGradient :: Num n => [GradientStop n] -> Point V2 n -> Point V2 n -> SpreadMethod -> Texture n
- mkRadialGradient :: Num n => [GradientStop n] -> Point V2 n -> n -> Point V2 n -> n -> SpreadMethod -> Texture n
- mkStops :: [(Colour Double, d, Double)] -> [GradientStop d]
- rGradCenter0 :: Lens' (RGradient n) (Point V2 n)
- rGradCenter1 :: Lens' (RGradient n) (Point V2 n)
- rGradRadius0 :: Lens' (RGradient n) n
- rGradRadius1 :: Lens' (RGradient n) n
- rGradSpreadMethod :: Lens' (RGradient n) SpreadMethod
- rGradStops :: Lens' (RGradient n) [GradientStop n]
- rGradTrans :: Lens' (RGradient n) (Transformation V2 n)
- recommendFillColor :: (InSpace V2 n a, Color c, Typeable n, Floating n, HasStyle a) => c -> a -> a
- solid :: Color a => a -> Texture n
- stopColor :: Lens' (GradientStop n) SomeColor
- stopFraction :: Lens' (GradientStop n) n
- (===) :: (InSpace V2 n a, Juxtaposable a, Semigroup a) => a -> a -> a
- bg :: (TypeableFloat n, Renderable (Path V2 n) b) => Colour Double -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- bgFrame :: (TypeableFloat n, Renderable (Path V2 n) b) => n -> Colour Double -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- boundingRect :: (InSpace V2 n a, SameSpace a t, Enveloped t, Transformable t, TrailLike t, Monoid t, Enveloped a) => a -> t
- extrudeBottom :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m
- extrudeLeft :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m
- extrudeRight :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m
- extrudeTop :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m
- hcat :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => [a] -> a
- hcat' :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => CatOpts n -> [a] -> a
- hsep :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => n -> [a] -> a
- padX :: (Metric v, R2 v, OrderedField n, Monoid' m) => n -> QDiagram b v n m -> QDiagram b v n m
- padY :: (Metric v, R2 v, Monoid' m, OrderedField n) => n -> QDiagram b v n m -> QDiagram b v n m
- rectEnvelope :: (OrderedField n, Monoid' m) => Point V2 n -> V2 n -> QDiagram b V2 n m -> QDiagram b V2 n m
- strutX :: (Metric v, R1 v, OrderedField n) => n -> QDiagram b v n m
- strutY :: (Metric v, R2 v, OrderedField n) => n -> QDiagram b v n m
- vcat :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => [a] -> a
- vcat' :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => CatOpts n -> [a] -> a
- vsep :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => n -> [a] -> a
- (|||) :: (InSpace V2 n a, Juxtaposable a, Semigroup a) => a -> a -> a
- facingX :: (R1 v, Functor v, Fractional n) => Deformation v v n
- facingY :: (R2 v, Functor v, Fractional n) => Deformation v v n
- parallelX0 :: (R1 v, Num n) => Deformation v v n
- parallelY0 :: (R2 v, Num n) => Deformation v v n
- perspectiveX1 :: (R1 v, Functor v, Fractional n) => Deformation v v n
- perspectiveY1 :: (R2 v, Functor v, Floating n) => Deformation v v n
- circle :: (TrailLike t, V t ~ V2, N t ~ n, Transformable t) => n -> t
- ellipse :: (TrailLike t, V t ~ V2, N t ~ n, Transformable t) => n -> t
- ellipseXY :: (TrailLike t, V t ~ V2, N t ~ n, Transformable t) => n -> n -> t
- unitCircle :: (TrailLike t, V t ~ V2, N t ~ n) => t
- image :: (TypeableFloat n, Typeable a, Renderable (DImage n a) b) => DImage n a -> QDiagram b V2 n Any
- loadImageEmb :: Num n => FilePath -> IO (Either String (DImage n Embedded))
- loadImageExt :: Num n => FilePath -> IO (Either String (DImage n External))
- raster :: Num n => (Int -> Int -> AlphaColour Double) -> Int -> Int -> DImage n Embedded
- rasterDia :: (TypeableFloat n, Renderable (DImage n Embedded) b) => (Int -> Int -> AlphaColour Double) -> Int -> Int -> QDiagram b V2 n Any
- uncheckedImageRef :: Num n => FilePath -> Int -> Int -> DImage n External
- eColor :: Lens' (EnvelopeOpts n) (Colour Double)
- eLineWidth :: Lens (EnvelopeOpts n1) (EnvelopeOpts n2) (Measure n1) (Measure n2)
- ePoints :: Lens' (EnvelopeOpts n) Int
- oColor :: Lens' (OriginOpts n) (Colour Double)
- oMinSize :: Lens' (OriginOpts n) n
- oScale :: Lens' (OriginOpts n) n
- showEnvelope :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => QDiagram b V2 n Any -> QDiagram b V2 n Any
- showEnvelope' :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => EnvelopeOpts n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- showLabels :: (TypeableFloat n, Renderable (Text n) b, Semigroup m) => QDiagram b V2 n m -> QDiagram b V2 n Any
- showOrigin :: (TypeableFloat n, Renderable (Path V2 n) b, Monoid' m) => QDiagram b V2 n m -> QDiagram b V2 n m
- showOrigin' :: (TypeableFloat n, Renderable (Path V2 n) b, Monoid' m) => OriginOpts n -> QDiagram b V2 n m -> QDiagram b V2 n m
- showTrace :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => QDiagram b V2 n Any -> QDiagram b V2 n Any
- showTrace' :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => TraceOpts n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- tColor :: Lens' (TraceOpts n) (Colour Double)
- tMinSize :: Lens' (TraceOpts n) n
- tPoints :: Lens' (TraceOpts n) Int
- tScale :: Lens' (TraceOpts n) n
- _Clip :: Iso (Clip n) (Clip n') [Path V2 n] [Path V2 n']
- _clip :: (Typeable n, OrderedField n) => Lens' (Style V2 n) [Path V2 n]
- _fillRule :: Lens' (Style V2 n) FillRule
- clipBy :: (HasStyle a, V a ~ V2, N a ~ n, TypeableFloat n) => Path V2 n -> a -> a
- clipTo :: TypeableFloat n => Path V2 n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- clipped :: TypeableFloat n => Path V2 n -> QDiagram b V2 n Any -> QDiagram b V2 n Any
- fillRule :: HasStyle a => FillRule -> a -> a
- intersectPoints :: (InSpace V2 n t, SameSpace t s, ToPath t, ToPath s, OrderedField n) => t -> s -> [P2 n]
- intersectPoints' :: (InSpace V2 n t, SameSpace t s, ToPath t, ToPath s, OrderedField n) => n -> t -> s -> [P2 n]
- intersectPointsP :: OrderedField n => Path V2 n -> Path V2 n -> [P2 n]
- intersectPointsP' :: OrderedField n => n -> Path V2 n -> Path V2 n -> [P2 n]
- intersectPointsT :: OrderedField n => Located (Trail V2 n) -> Located (Trail V2 n) -> [P2 n]
- intersectPointsT' :: OrderedField n => n -> Located (Trail V2 n) -> Located (Trail V2 n) -> [P2 n]
- queryFillRule :: Lens' (StrokeOpts a) FillRule
- stroke :: (InSpace V2 n t, ToPath t, TypeableFloat n, Renderable (Path V2 n) b) => t -> QDiagram b V2 n Any
- stroke' :: (InSpace V2 n t, ToPath t, TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> t -> QDiagram b V2 n Any
- strokeLine :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail' Line V2 n -> QDiagram b V2 n Any
- strokeLocLine :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail' Line V2 n) -> QDiagram b V2 n Any
- strokeLocLoop :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail' Loop V2 n) -> QDiagram b V2 n Any
- strokeLocT :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail V2 n) -> QDiagram b V2 n Any
- strokeLocTrail :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail V2 n) -> QDiagram b V2 n Any
- strokeLoop :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail' Loop V2 n -> QDiagram b V2 n Any
- strokeP :: (TypeableFloat n, Renderable (Path V2 n) b) => Path V2 n -> QDiagram b V2 n Any
- strokeP' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Path V2 n -> QDiagram b V2 n Any
- strokePath :: (TypeableFloat n, Renderable (Path V2 n) b) => Path V2 n -> QDiagram b V2 n Any
- strokePath' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Path V2 n -> QDiagram b V2 n Any
- strokeT :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail V2 n -> QDiagram b V2 n Any
- strokeT' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Trail V2 n -> QDiagram b V2 n Any
- strokeTrail :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail V2 n -> QDiagram b V2 n Any
- strokeTrail' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Trail V2 n -> QDiagram b V2 n Any
- vertexNames :: Lens (StrokeOpts a) (StrokeOpts a') [[a]] [[a']]
- polyCenter :: Lens' (PolygonOpts n) (Point V2 n)
- polyOrient :: Lens' (PolygonOpts n) (PolyOrientation n)
- polyTrail :: OrderedField n => PolygonOpts n -> Located (Trail V2 n)
- polyType :: Lens' (PolygonOpts n) (PolyType n)
- polygon :: (InSpace V2 n t, TrailLike t) => PolygonOpts n -> t
- star :: OrderedField n => StarOpts -> [Point V2 n] -> Path V2 n
- decagon :: (InSpace V2 n t, TrailLike t) => n -> t
- dodecagon :: (InSpace V2 n t, TrailLike t) => n -> t
- eqTriangle :: (InSpace V2 n t, TrailLike t) => n -> t
- hendecagon :: (InSpace V2 n t, TrailLike t) => n -> t
- heptagon :: (InSpace V2 n t, TrailLike t) => n -> t
- hexagon :: (InSpace V2 n t, TrailLike t) => n -> t
- hrule :: (InSpace V2 n t, TrailLike t) => n -> t
- nonagon :: (InSpace V2 n t, TrailLike t) => n -> t
- octagon :: (InSpace V2 n t, TrailLike t) => n -> t
- pentagon :: (InSpace V2 n t, TrailLike t) => n -> t
- radiusBL :: Lens' (RoundedRectOpts d) d
- radiusBR :: Lens' (RoundedRectOpts d) d
- radiusTL :: Lens' (RoundedRectOpts d) d
- radiusTR :: Lens' (RoundedRectOpts d) d
- rect :: (InSpace V2 n t, TrailLike t) => n -> n -> t
- regPoly :: (InSpace V2 n t, TrailLike t) => Int -> n -> t
- roundedRect :: (InSpace V2 n t, TrailLike t, RealFloat n) => n -> n -> n -> t
- roundedRect' :: (InSpace V2 n t, TrailLike t, RealFloat n) => n -> n -> RoundedRectOpts n -> t
- septagon :: (InSpace V2 n t, TrailLike t) => n -> t
- square :: (InSpace V2 n t, TrailLike t) => n -> t
- triangle :: (InSpace V2 n t, TrailLike t) => n -> t
- unitSquare :: (InSpace V2 n t, TrailLike t) => t
- vrule :: (InSpace V2 n t, TrailLike t) => n -> t
- dims2D :: n -> n -> SizeSpec V2 n
- extentX :: (InSpace v n a, R1 v, Enveloped a) => a -> Maybe (n, n)
- extentY :: (InSpace v n a, R2 v, Enveloped a) => a -> Maybe (n, n)
- height :: (InSpace V2 n a, Enveloped a) => a -> n
- mkHeight :: Num n => n -> SizeSpec V2 n
- mkSizeSpec2D :: Num n => Maybe n -> Maybe n -> SizeSpec V2 n
- mkWidth :: Num n => n -> SizeSpec V2 n
- width :: (InSpace V2 n a, Enveloped a) => a -> n
- _font :: Lens' (Style v n) (Maybe String)
- _fontSize :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measure n)
- _fontSizeR :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measured n (Recommend n))
- alignedText :: (TypeableFloat n, Renderable (Text n) b) => n -> n -> String -> QDiagram b V2 n Any
- baselineText :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any
- bold :: HasStyle a => a -> a
- bolder :: HasStyle a => a -> a
- font :: HasStyle a => String -> a -> a
- fontSize :: (N a ~ n, Typeable n, HasStyle a) => Measure n -> a -> a
- fontSizeG :: (N a ~ n, Typeable n, Num n, HasStyle a) => n -> a -> a
- fontSizeL :: (N a ~ n, Typeable n, Num n, HasStyle a) => n -> a -> a
- fontSizeN :: (N a ~ n, Typeable n, Num n, HasStyle a) => n -> a -> a
- fontSizeO :: (N a ~ n, Typeable n, HasStyle a) => n -> a -> a
- heavy :: HasStyle a => a -> a
- italic :: HasStyle a => a -> a
- light :: HasStyle a => a -> a
- lighter :: HasStyle a => a -> a
- mediumWeight :: HasStyle a => a -> a
- oblique :: HasStyle a => a -> a
- semiBold :: HasStyle a => a -> a
- text :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any
- thinWeight :: HasStyle a => a -> a
- topLeftText :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any
- ultraBold :: HasStyle a => a -> a
- ultraLight :: HasStyle a => a -> a
- reflectAbout :: (InSpace V2 n t, OrderedField n, Transformable t) => P2 n -> Direction V2 n -> t -> t
- reflectX :: (InSpace v n t, R1 v, Transformable t) => t -> t
- reflectXY :: (InSpace v n t, R2 v, Transformable t) => t -> t
- reflectY :: (InSpace v n t, R2 v, Transformable t) => t -> t
- reflectionAbout :: OrderedField n => P2 n -> Direction V2 n -> T2 n
- reflectionX :: (Additive v, R1 v, Num n) => Transformation v n
- reflectionXY :: (Additive v, R2 v, Num n) => Transformation v n
- reflectionY :: (Additive v, R2 v, Num n) => Transformation v n
- rotateAround :: (InSpace V2 n t, Transformable t, Floating n) => P2 n -> Angle n -> t -> t
- rotateBy :: (InSpace V2 n t, Transformable t, Floating n) => n -> t -> t
- rotateTo :: (InSpace V2 n t, OrderedField n, Transformable t) => Direction V2 n -> t -> t
- rotated :: (InSpace V2 n a, Floating n, SameSpace a b, Transformable a, Transformable b) => Angle n -> Iso a b a b
- rotationAround :: Floating n => P2 n -> Angle n -> T2 n
- rotationTo :: OrderedField n => Direction V2 n -> T2 n
- scaleRotateTo :: (InSpace V2 n t, Transformable t, Floating n) => V2 n -> t -> t
- scaleToX :: (InSpace v n t, R2 v, Enveloped t, Transformable t) => n -> t -> t
- scaleToY :: (InSpace v n t, R2 v, Enveloped t, Transformable t) => n -> t -> t
- scaleUToX :: (InSpace v n t, R1 v, Enveloped t, Transformable t) => n -> t -> t
- scaleUToY :: (InSpace v n t, R2 v, Enveloped t, Transformable t) => n -> t -> t
- scaleX :: (InSpace v n t, R2 v, Fractional n, Transformable t) => n -> t -> t
- scaleY :: (InSpace v n t, R2 v, Fractional n, Transformable t) => n -> t -> t
- scalingRotationTo :: Floating n => V2 n -> T2 n
- scalingX :: (Additive v, R1 v, Fractional n) => n -> Transformation v n
- scalingY :: (Additive v, R2 v, Fractional n) => n -> Transformation v n
- shearX :: (InSpace V2 n t, Transformable t) => n -> t -> t
- shearY :: (InSpace V2 n t, Transformable t) => n -> t -> t
- shearingX :: Num n => n -> T2 n
- shearingY :: Num n => n -> T2 n
- translateX :: (InSpace v n t, R1 v, Transformable t) => n -> t -> t
- translateY :: (InSpace v n t, R2 v, Transformable t) => n -> t -> t
- translationX :: (Additive v, R1 v, Num n) => n -> Transformation v n
- translationY :: (Additive v, R2 v, Num n) => n -> Transformation v n
- mkP2 :: n -> n -> P2 n
- mkR2 :: n -> n -> V2 n
- p2 :: (n, n) -> P2 n
- r2 :: (n, n) -> V2 n
- r2PolarIso :: RealFloat n => Iso' (V2 n) (n, Angle n)
- unp2 :: P2 n -> (n, n)
- unr2 :: V2 n -> (n, n)
- angleDir :: Floating n => Angle n -> Direction V2 n
- angleV :: Floating n => Angle n -> V2 n
- leftTurn :: (Num n, Ord n) => V2 n -> V2 n -> Bool
- signedAngleBetween :: RealFloat n => V2 n -> V2 n -> Angle n
- signedAngleBetweenDirs :: RealFloat n => Direction V2 n -> Direction V2 n -> Angle n
- unitX :: (R1 v, Additive v, Num n) => v n
- unitY :: (R2 v, Additive v, Num n) => v n
- unit_X :: (R1 v, Additive v, Num n) => v n
- unit_Y :: (R2 v, Additive v, Num n) => v n
- xDir :: (R1 v, Additive v, Num n) => Direction v n
- yDir :: (R2 v, Additive v, Num n) => Direction v n
- (#) :: a -> (a -> b) -> b
- (##) :: AReview t b -> b -> t
- applyAll :: [a -> a] -> a -> a
- findHsFile :: FilePath -> IO (Maybe FilePath)
- findSandbox :: [FilePath] -> IO (Maybe FilePath)
- foldB :: (a -> a -> a) -> a -> [a] -> a
- globalPackage :: IO FilePath
- iterateN :: Int -> (a -> a) -> a -> [a]
- tau :: Floating a => a
- with :: Default d => d
- (#.) :: Coercible c b => (b -> c) -> (a -> b) -> a -> c
- (.#) :: Coercible b a => (b -> c) -> (a -> b) -> a -> c
- _Point :: Iso' (Point f a) (f a)
- distanceA :: (Floating a, Foldable (Diff p), Affine p) => p a -> p a -> a
- lensP :: Lens' (Point g a) (g a)
- origin :: (Additive f, Num a) => Point f a
- qdA :: (Affine p, Foldable (Diff p), Num a) => p a -> p a -> a
- relative :: (Additive f, Num a) => Point f a -> Iso' (Point f a) (f a)
- unP :: Point f a -> f a
- normalize :: (Floating a, Metric f, Epsilon a) => f a -> f a
- project :: (Metric v, Fractional a) => v a -> v a -> v a
- perp :: Num a => V2 a -> V2 a
- (*^) :: (Functor f, Num a) => a -> f a -> f a
- (^*) :: (Functor f, Num a) => f a -> a -> f a
- (^/) :: (Functor f, Fractional a) => f a -> a -> f a
- basis :: (Additive t, Traversable t, Num a) => [t a]
- basisFor :: (Traversable t, Num a) => t b -> [t a]
- negated :: (Functor f, Num a) => f a -> f a
- outer :: (Functor f, Functor g, Num a) => f a -> g a -> f (g a)
- scaled :: (Traversable t, Num a) => t a -> t (t a)
- sumV :: (Foldable f, Additive v, Num a) => f (v a) -> v a
- unit :: (Additive t, Num a) => ASetter' (t a) a -> t a
- iat :: At m => Index m -> IndexedLens' (Index m) m (Maybe (IxValue m))
- icontains :: Contains m => Index m -> IndexedLens' (Index m) m Bool
- iix :: Ixed m => Index m -> IndexedTraversal' (Index m) m (IxValue m)
- ixAt :: At m => Index m -> Traversal' m (IxValue m)
- sans :: At m => Index m -> m -> m
- pattern (:<) :: forall b a. Cons b b a a => a -> b -> b
- pattern (:>) :: forall a b. Snoc a a b b => a -> b -> a
- (<|) :: Cons s s a a => a -> s -> s
- _head :: Cons s s a a => Traversal' s a
- _init :: Snoc s s a a => Traversal' s s
- _last :: Snoc s s a a => Traversal' s a
- _tail :: Cons s s a a => Traversal' s s
- cons :: Cons s s a a => a -> s -> s
- snoc :: Snoc s s a a => s -> a -> s
- uncons :: Cons s s a a => s -> Maybe (a, s)
- unsnoc :: Snoc s s a a => s -> Maybe (s, a)
- (|>) :: Snoc s s a a => s -> a -> s
- pattern Empty :: forall s. AsEmpty s => s
- fromEq :: AnEquality s t a b -> Equality b a t s
- mapEq :: AnEquality s t a b -> f s -> f a
- runEq :: AnEquality s t a b -> Identical s t a b
- simple :: Equality' a a
- simply :: (Optic' p f s a -> r) -> Optic' p f s a -> r
- substEq :: AnEquality s t a b -> ((s ~ a) -> (t ~ b) -> r) -> r
- (^..) :: s -> Getting (Endo [a]) s a -> [a]
- (^?) :: s -> Getting (First a) s a -> Maybe a
- (^?!) :: HasCallStack => s -> Getting (Endo a) s a -> a
- (^@..) :: s -> IndexedGetting i (Endo [(i, a)]) s a -> [(i, a)]
- (^@?) :: s -> IndexedGetting i (Endo (Maybe (i, a))) s a -> Maybe (i, a)
- (^@?!) :: HasCallStack => s -> IndexedGetting i (Endo (i, a)) s a -> (i, a)
- allOf :: Getting All s a -> (a -> Bool) -> s -> Bool
- andOf :: Getting All s Bool -> s -> Bool
- anyOf :: Getting Any s a -> (a -> Bool) -> s -> Bool
- asumOf :: Alternative f => Getting (Endo (f a)) s (f a) -> s -> f a
- concatMapOf :: Getting [r] s a -> (a -> [r]) -> s -> [r]
- concatOf :: Getting [r] s [r] -> s -> [r]
- cycled :: Apply f => LensLike f s t a b -> LensLike f s t a b
- droppingWhile :: (Conjoined p, Profunctor q, Applicative f) => (a -> Bool) -> Optical p q (Compose (State Bool) f) s t a a -> Optical p q f s t a a
- elemIndexOf :: Eq a => IndexedGetting i (First i) s a -> a -> s -> Maybe i
- elemIndicesOf :: Eq a => IndexedGetting i (Endo [i]) s a -> a -> s -> [i]
- elemOf :: Eq a => Getting Any s a -> a -> s -> Bool
- filtered :: (Choice p, Applicative f) => (a -> Bool) -> Optic' p f a a
- findIndexOf :: IndexedGetting i (First i) s a -> (a -> Bool) -> s -> Maybe i
- findIndicesOf :: IndexedGetting i (Endo [i]) s a -> (a -> Bool) -> s -> [i]
- findMOf :: Monad m => Getting (Endo (m (Maybe a))) s a -> (a -> m Bool) -> s -> m (Maybe a)
- findOf :: Getting (Endo (Maybe a)) s a -> (a -> Bool) -> s -> Maybe a
- first1Of :: Getting (First a) s a -> s -> a
- firstOf :: Getting (Leftmost a) s a -> s -> Maybe a
- foldByOf :: Fold s a -> (a -> a -> a) -> a -> s -> a
- foldMapByOf :: Fold s a -> (r -> r -> r) -> r -> (a -> r) -> s -> r
- foldMapOf :: Getting r s a -> (a -> r) -> s -> r
- foldOf :: Getting a s a -> s -> a
- folded :: Foldable f => IndexedFold Int (f a) a
- folded64 :: Foldable f => IndexedFold Int64 (f a) a
- folding :: Foldable f => (s -> f a) -> Fold s a
- foldl1Of :: HasCallStack => Getting (Dual (Endo (Maybe a))) s a -> (a -> a -> a) -> s -> a
- foldl1Of' :: HasCallStack => Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> a) -> s -> a
- foldlMOf :: Monad m => Getting (Endo (r -> m r)) s a -> (r -> a -> m r) -> r -> s -> m r
- foldlOf :: Getting (Dual (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
- foldlOf' :: Getting (Endo (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
- foldr1Of :: HasCallStack => Getting (Endo (Maybe a)) s a -> (a -> a -> a) -> s -> a
- foldr1Of' :: HasCallStack => Getting (Dual (Endo (Endo (Maybe a)))) s a -> (a -> a -> a) -> s -> a
- foldrMOf :: Monad m => Getting (Dual (Endo (r -> m r))) s a -> (a -> r -> m r) -> r -> s -> m r
- foldrOf :: Getting (Endo r) s a -> (a -> r -> r) -> r -> s -> r
- foldrOf' :: Getting (Dual (Endo (Endo r))) s a -> (a -> r -> r) -> r -> s -> r
- foldring :: (Contravariant f, Applicative f) => ((a -> f a -> f a) -> f a -> s -> f a) -> LensLike f s t a b
- for1Of_ :: Functor f => Getting (TraversedF r f) s a -> s -> (a -> f r) -> f ()
- forMOf_ :: Monad m => Getting (Sequenced r m) s a -> s -> (a -> m r) -> m ()
- forOf_ :: Functor f => Getting (Traversed r f) s a -> s -> (a -> f r) -> f ()
- has :: Getting Any s a -> s -> Bool
- hasn't :: Getting All s a -> s -> Bool
- iallOf :: IndexedGetting i All s a -> (i -> a -> Bool) -> s -> Bool
- ianyOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
- iconcatMapOf :: IndexedGetting i [r] s a -> (i -> a -> [r]) -> s -> [r]
- idroppingWhile :: (Indexable i p, Profunctor q, Applicative f) => (i -> a -> Bool) -> Optical (Indexed i) q (Compose (State Bool) f) s t a a -> Optical p q f s t a a
- ifiltered :: (Indexable i p, Applicative f) => (i -> a -> Bool) -> Optical' p (Indexed i) f a a
- ifindMOf :: Monad m => IndexedGetting i (Endo (m (Maybe a))) s a -> (i -> a -> m Bool) -> s -> m (Maybe a)
- ifindOf :: IndexedGetting i (Endo (Maybe a)) s a -> (i -> a -> Bool) -> s -> Maybe a
- ifoldMapOf :: IndexedGetting i m s a -> (i -> a -> m) -> s -> m
- ifolding :: (Foldable f, Indexable i p, Contravariant g, Applicative g) => (s -> f (i, a)) -> Over p g s t a b
- ifoldlMOf :: Monad m => IndexedGetting i (Endo (r -> m r)) s a -> (i -> r -> a -> m r) -> r -> s -> m r
- ifoldlOf :: IndexedGetting i (Dual (Endo r)) s a -> (i -> r -> a -> r) -> r -> s -> r
- ifoldlOf' :: IndexedGetting i (Endo (r -> r)) s a -> (i -> r -> a -> r) -> r -> s -> r
- ifoldrMOf :: Monad m => IndexedGetting i (Dual (Endo (r -> m r))) s a -> (i -> a -> r -> m r) -> r -> s -> m r
- ifoldrOf :: IndexedGetting i (Endo r) s a -> (i -> a -> r -> r) -> r -> s -> r
- ifoldrOf' :: IndexedGetting i (Dual (Endo (r -> r))) s a -> (i -> a -> r -> r) -> r -> s -> r
- ifoldring :: (Indexable i p, Contravariant f, Applicative f) => ((i -> a -> f a -> f a) -> f a -> s -> f a) -> Over p f s t a b
- iforMOf_ :: Monad m => IndexedGetting i (Sequenced r m) s a -> s -> (i -> a -> m r) -> m ()
- iforOf_ :: Functor f => IndexedGetting i (Traversed r f) s a -> s -> (i -> a -> f r) -> f ()
- imapMOf_ :: Monad m => IndexedGetting i (Sequenced r m) s a -> (i -> a -> m r) -> s -> m ()
- inoneOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
- ipre :: IndexedGetting i (First (i, a)) s a -> IndexPreservingGetter s (Maybe (i, a))
- ipreuse :: MonadState s m => IndexedGetting i (First (i, a)) s a -> m (Maybe (i, a))
- ipreuses :: MonadState s m => IndexedGetting i (First r) s a -> (i -> a -> r) -> m (Maybe r)
- ipreview :: MonadReader s m => IndexedGetting i (First (i, a)) s a -> m (Maybe (i, a))
- ipreviews :: MonadReader s m => IndexedGetting i (First r) s a -> (i -> a -> r) -> m (Maybe r)
- itakingWhile :: (Indexable i p, Profunctor q, Contravariant f, Applicative f) => (i -> a -> Bool) -> Optical' (Indexed i) q (Const (Endo (f s)) :: Type -> Type) s a -> Optical' p q f s a
- iterated :: Apply f => (a -> a) -> LensLike' f a a
- itoListOf :: IndexedGetting i (Endo [(i, a)]) s a -> s -> [(i, a)]
- itraverseOf_ :: Functor f => IndexedGetting i (Traversed r f) s a -> (i -> a -> f r) -> s -> f ()
- last1Of :: Getting (Last a) s a -> s -> a
- lastOf :: Getting (Rightmost a) s a -> s -> Maybe a
- lengthOf :: Getting (Endo (Endo Int)) s a -> s -> Int
- lined :: Applicative f => IndexedLensLike' Int f String String
- lookupOf :: Eq k => Getting (Endo (Maybe v)) s (k, v) -> k -> s -> Maybe v
- mapMOf_ :: Monad m => Getting (Sequenced r m) s a -> (a -> m r) -> s -> m ()
- maximum1Of :: Ord a => Getting (Max a) s a -> s -> a
- maximumByOf :: Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
- maximumOf :: Ord a => Getting (Endo (Endo (Maybe a))) s a -> s -> Maybe a
- minimum1Of :: Ord a => Getting (Min a) s a -> s -> a
- minimumByOf :: Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
- minimumOf :: Ord a => Getting (Endo (Endo (Maybe a))) s a -> s -> Maybe a
- msumOf :: MonadPlus m => Getting (Endo (m a)) s (m a) -> s -> m a
- noneOf :: Getting Any s a -> (a -> Bool) -> s -> Bool
- notElemOf :: Eq a => Getting All s a -> a -> s -> Bool
- notNullOf :: Getting Any s a -> s -> Bool
- nullOf :: Getting All s a -> s -> Bool
- orOf :: Getting Any s Bool -> s -> Bool
- pre :: Getting (First a) s a -> IndexPreservingGetter s (Maybe a)
- preuse :: MonadState s m => Getting (First a) s a -> m (Maybe a)
- preuses :: MonadState s m => Getting (First r) s a -> (a -> r) -> m (Maybe r)
- preview :: MonadReader s m => Getting (First a) s a -> m (Maybe a)
- previews :: MonadReader s m => Getting (First r) s a -> (a -> r) -> m (Maybe r)
- productOf :: Num a => Getting (Endo (Endo a)) s a -> s -> a
- repeated :: Apply f => LensLike' f a a
- replicated :: Int -> Fold a a
- sequence1Of_ :: Functor f => Getting (TraversedF a f) s (f a) -> s -> f ()
- sequenceAOf_ :: Functor f => Getting (Traversed a f) s (f a) -> s -> f ()
- sequenceOf_ :: Monad m => Getting (Sequenced a m) s (m a) -> s -> m ()
- sumOf :: Num a => Getting (Endo (Endo a)) s a -> s -> a
- takingWhile :: (Conjoined p, Applicative f) => (a -> Bool) -> Over p (TakingWhile p f a a) s t a a -> Over p f s t a a
- toListOf :: Getting (Endo [a]) s a -> s -> [a]
- toNonEmptyOf :: Getting (NonEmptyDList a) s a -> s -> NonEmpty a
- traverse1Of_ :: Functor f => Getting (TraversedF r f) s a -> (a -> f r) -> s -> f ()
- traverseOf_ :: Functor f => Getting (Traversed r f) s a -> (a -> f r) -> s -> f ()
- unfolded :: (b -> Maybe (a, b)) -> Fold b a
- worded :: Applicative f => IndexedLensLike' Int f String String
- (^.) :: s -> Getting a s a -> a
- (^@.) :: s -> IndexedGetting i (i, a) s a -> (i, a)
- getting :: (Profunctor p, Profunctor q, Functor f, Contravariant f) => Optical p q f s t a b -> Optical' p q f s a
- ilike :: (Indexable i p, Contravariant f, Functor f) => i -> a -> Over' p f s a
- ilistening :: MonadWriter w m => IndexedGetting i (i, u) w u -> m a -> m (a, (i, u))
- ilistenings :: MonadWriter w m => IndexedGetting i v w u -> (i -> u -> v) -> m a -> m (a, v)
- ito :: (Indexable i p, Contravariant f) => (s -> (i, a)) -> Over' p f s a
- iuse :: MonadState s m => IndexedGetting i (i, a) s a -> m (i, a)
- iuses :: MonadState s m => IndexedGetting i r s a -> (i -> a -> r) -> m r
- iview :: MonadReader s m => IndexedGetting i (i, a) s a -> m (i, a)
- iviews :: MonadReader s m => IndexedGetting i r s a -> (i -> a -> r) -> m r
- like :: (Profunctor p, Contravariant f, Functor f) => a -> Optic' p f s a
- listening :: MonadWriter w m => Getting u w u -> m a -> m (a, u)
- listenings :: MonadWriter w m => Getting v w u -> (u -> v) -> m a -> m (a, v)
- to :: (Profunctor p, Contravariant f) => (s -> a) -> Optic' p f s a
- use :: MonadState s m => Getting a s a -> m a
- uses :: MonadState s m => LensLike' (Const r :: Type -> Type) s a -> (a -> r) -> m r
- view :: MonadReader s m => Getting a s a -> m a
- views :: MonadReader s m => LensLike' (Const r :: Type -> Type) s a -> (a -> r) -> m r
- (<.) :: Indexable i p => (Indexed i s t -> r) -> ((a -> b) -> s -> t) -> p a b -> r
- iall :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool
- iany :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool
- icompose :: Indexable p c => (i -> j -> p) -> (Indexed i s t -> r) -> (Indexed j a b -> s -> t) -> c a b -> r
- iconcatMap :: FoldableWithIndex i f => (i -> a -> [b]) -> f a -> [b]
- ifind :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Maybe (i, a)
- ifoldMapBy :: FoldableWithIndex i t => (r -> r -> r) -> r -> (i -> a -> r) -> t a -> r
- ifoldMapByOf :: IndexedFold i t a -> (r -> r -> r) -> r -> (i -> a -> r) -> t -> r
- ifoldlM :: (FoldableWithIndex i f, Monad m) => (i -> b -> a -> m b) -> b -> f a -> m b
- ifoldrM :: (FoldableWithIndex i f, Monad m) => (i -> a -> b -> m b) -> b -> f a -> m b
- ifor :: (TraversableWithIndex i t, Applicative f) => t a -> (i -> a -> f b) -> f (t b)
- iforM :: (TraversableWithIndex i t, Monad m) => t a -> (i -> a -> m b) -> m (t b)
- iforM_ :: (FoldableWithIndex i t, Monad m) => t a -> (i -> a -> m b) -> m ()
- ifor_ :: (FoldableWithIndex i t, Applicative f) => t a -> (i -> a -> f b) -> f ()
- imapAccumL :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b)
- imapAccumR :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b)
- imapM :: (TraversableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m (t b)
- imapM_ :: (FoldableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m ()
- index :: (Indexable i p, Eq i, Applicative f) => i -> Optical' p (Indexed i) f a a
- inone :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool
- itoList :: FoldableWithIndex i f => f a -> [(i, a)]
- itraverseBy :: TraversableWithIndex i t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (i -> a -> f b) -> t a -> f (t b)
- itraverseByOf :: IndexedTraversal i s t a b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (i -> a -> f b) -> s -> f t
- itraverse_ :: (FoldableWithIndex i t, Applicative f) => (i -> a -> f b) -> t a -> f ()
- reindexed :: Indexable j p => (i -> j) -> (Indexed i a b -> r) -> p a b -> r
- selfIndex :: Indexable a p => p a fb -> a -> fb
- asIndex :: (Indexable i p, Contravariant f, Functor f) => p i (f i) -> Indexed i s (f s)
- indexing :: Indexable Int p => ((a -> Indexing f b) -> s -> Indexing f t) -> p a (f b) -> s -> f t
- indexing64 :: Indexable Int64 p => ((a -> Indexing64 f b) -> s -> Indexing64 f t) -> p a (f b) -> s -> f t
- withIndex :: (Indexable i p, Functor f) => p (i, s) (f (j, t)) -> Indexed i s (f t)
- makeClassyPrisms :: Name -> DecsQ
- makePrisms :: Name -> DecsQ
- retagged :: (Profunctor p, Bifunctor p) => p a b -> p s b
- pattern Lazy :: forall t s. Strict t s => t -> s
- pattern List :: forall l. IsList l => [Item l] -> l
- pattern Reversed :: forall t. Reversing t => t -> t
- pattern Strict :: forall s t. Strict s t => t -> s
- pattern Swapped :: forall (p :: Type -> Type -> Type) c d. Swapped p => p d c -> p c d
- anon :: a -> (a -> Bool) -> Iso' (Maybe a) a
- au :: Functor f => AnIso s t a b -> ((b -> t) -> f s) -> f a
- auf :: Optic (Costar f) g s t a b -> (f a -> g b) -> f s -> g t
- bimapping :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> AnIso s' t' a' b' -> Iso (f s s') (g t t') (f a a') (g b b')
- cloneIso :: AnIso s t a b -> Iso s t a b
- coerced :: (Coercible s a, Coercible t b) => Iso s t a b
- contramapping :: Contravariant f => AnIso s t a b -> Iso (f a) (f b) (f s) (f t)
- curried :: Iso ((a, b) -> c) ((d, e) -> f) (a -> b -> c) (d -> e -> f)
- dimapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> AnIso s' t' a' b' -> Iso (p a s') (q b t') (p s a') (q t b')
- enum :: Enum a => Iso' Int a
- firsting :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f s x) (g t y) (f a x) (g b y)
- flipped :: Iso (a -> b -> c) (a' -> b' -> c') (b -> a -> c) (b' -> a' -> c')
- from :: AnIso s t a b -> Iso b a t s
- imagma :: Over (Indexed i) (Molten i a b) s t a b -> Iso s t' (Magma i t b a) (Magma j t' c c)
- involuted :: (a -> a) -> Iso' a a
- iso :: (s -> a) -> (b -> t) -> Iso s t a b
- lazy :: Strict lazy strict => Iso' strict lazy
- lmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p a x) (q b y) (p s x) (q t y)
- magma :: LensLike (Mafic a b) s t a b -> Iso s u (Magma Int t b a) (Magma j u c c)
- mapping :: (Functor f, Functor g) => AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
- non :: Eq a => a -> Iso' (Maybe a) a
- non' :: APrism' a () -> Iso' (Maybe a) a
- reversed :: Reversing a => Iso' a a
- rmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p x s) (q y t) (p x a) (q y b)
- seconding :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f x s) (g y t) (f x a) (g y b)
- uncurried :: Iso (a -> b -> c) (d -> e -> f) ((a, b) -> c) ((d, e) -> f)
- under :: AnIso s t a b -> (t -> s) -> b -> a
- withIso :: AnIso s t a b -> ((s -> a) -> (b -> t) -> r) -> r
- (#%%=) :: MonadState s m => ALens s s a b -> (a -> (r, b)) -> m r
- (#%%~) :: Functor f => ALens s t a b -> (a -> f b) -> s -> f t
- (#%=) :: MonadState s m => ALens s s a b -> (a -> b) -> m ()
- (#%~) :: ALens s t a b -> (a -> b) -> s -> t
- (#=) :: MonadState s m => ALens s s a b -> b -> m ()
- (#~) :: ALens s t a b -> b -> s -> t
- (%%=) :: MonadState s m => Over p ((,) r) s s a b -> p a (r, b) -> m r
- (%%@=) :: MonadState s m => Over (Indexed i) ((,) r) s s a b -> (i -> a -> (r, b)) -> m r
- (%%@~) :: Over (Indexed i) f s t a b -> (i -> a -> f b) -> s -> f t
- (%%~) :: LensLike f s t a b -> (a -> f b) -> s -> f t
- (&~) :: s -> State s a -> s
- (<#%=) :: MonadState s m => ALens s s a b -> (a -> b) -> m b
- (<#%~) :: ALens s t a b -> (a -> b) -> s -> (b, t)
- (<#=) :: MonadState s m => ALens s s a b -> b -> m b
- (<#~) :: ALens s t a b -> b -> s -> (b, t)
- (<%=) :: MonadState s m => LensLike ((,) b) s s a b -> (a -> b) -> m b
- (<%@=) :: MonadState s m => Over (Indexed i) ((,) b) s s a b -> (i -> a -> b) -> m b
- (<%@~) :: Over (Indexed i) ((,) b) s t a b -> (i -> a -> b) -> s -> (b, t)
- (<%~) :: LensLike ((,) b) s t a b -> (a -> b) -> s -> (b, t)
- (<&&=) :: MonadState s m => LensLike' ((,) Bool) s Bool -> Bool -> m Bool
- (<&&~) :: LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
- (<**=) :: (MonadState s m, Floating a) => LensLike' ((,) a) s a -> a -> m a
- (<**~) :: Floating a => LensLike ((,) a) s t a a -> a -> s -> (a, t)
- (<*=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<*~) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)
- (<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<+~) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)
- (<-=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<-~) :: Num a => LensLike ((,) a) s t a a -> a -> s -> (a, t)
- (<//=) :: (MonadState s m, Fractional a) => LensLike' ((,) a) s a -> a -> m a
- (<//~) :: Fractional a => LensLike ((,) a) s t a a -> a -> s -> (a, t)
- (<<%=) :: (Strong p, MonadState s m) => Over p ((,) a) s s a b -> p a b -> m a
- (<<%@=) :: MonadState s m => Over (Indexed i) ((,) a) s s a b -> (i -> a -> b) -> m a
- (<<%@~) :: Over (Indexed i) ((,) a) s t a b -> (i -> a -> b) -> s -> (a, t)
- (<<%~) :: LensLike ((,) a) s t a b -> (a -> b) -> s -> (a, t)
- (<<&&=) :: MonadState s m => LensLike' ((,) Bool) s Bool -> Bool -> m Bool
- (<<&&~) :: LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
- (<<**=) :: (MonadState s m, Floating a) => LensLike' ((,) a) s a -> a -> m a
- (<<**~) :: Floating a => LensLike' ((,) a) s a -> a -> s -> (a, s)
- (<<*=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<<*~) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)
- (<<+=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<<+~) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)
- (<<-=) :: (MonadState s m, Num a) => LensLike' ((,) a) s a -> a -> m a
- (<<-~) :: Num a => LensLike' ((,) a) s a -> a -> s -> (a, s)
- (<<.=) :: MonadState s m => LensLike ((,) a) s s a b -> b -> m a
- (<<.~) :: LensLike ((,) a) s t a b -> b -> s -> (a, t)
- (<<//=) :: (MonadState s m, Fractional a) => LensLike' ((,) a) s a -> a -> m a
- (<<//~) :: Fractional a => LensLike' ((,) a) s a -> a -> s -> (a, s)
- (<<<>=) :: (MonadState s m, Monoid r) => LensLike' ((,) r) s r -> r -> m r
- (<<<>~) :: Monoid r => LensLike' ((,) r) s r -> r -> s -> (r, s)
- (<<>=) :: (MonadState s m, Monoid r) => LensLike' ((,) r) s r -> r -> m r
- (<<>~) :: Monoid m => LensLike ((,) m) s t m m -> m -> s -> (m, t)
- (<<?=) :: MonadState s m => LensLike ((,) a) s s a (Maybe b) -> b -> m a
- (<<?~) :: LensLike ((,) a) s t a (Maybe b) -> b -> s -> (a, t)
- (<<^=) :: (MonadState s m, Num a, Integral e) => LensLike' ((,) a) s a -> e -> m a
- (<<^^=) :: (MonadState s m, Fractional a, Integral e) => LensLike' ((,) a) s a -> e -> m a
- (<<^^~) :: (Fractional a, Integral e) => LensLike' ((,) a) s a -> e -> s -> (a, s)
- (<<^~) :: (Num a, Integral e) => LensLike' ((,) a) s a -> e -> s -> (a, s)
- (<<||=) :: MonadState s m => LensLike' ((,) Bool) s Bool -> Bool -> m Bool
- (<<||~) :: LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
- (<<~) :: MonadState s m => ALens s s a b -> m b -> m b
- (<^=) :: (MonadState s m, Num a, Integral e) => LensLike' ((,) a) s a -> e -> m a
- (<^^=) :: (MonadState s m, Fractional a, Integral e) => LensLike' ((,) a) s a -> e -> m a
- (<^^~) :: (Fractional a, Integral e) => LensLike ((,) a) s t a a -> e -> s -> (a, t)
- (<^~) :: (Num a, Integral e) => LensLike ((,) a) s t a a -> e -> s -> (a, t)
- (<||=) :: MonadState s m => LensLike' ((,) Bool) s Bool -> Bool -> m Bool
- (<||~) :: LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
- (??) :: Functor f => f (a -> b) -> a -> f b
- (^#) :: s -> ALens s t a b -> a
- alongside :: LensLike (AlongsideLeft f b') s t a b -> LensLike (AlongsideRight f t) s' t' a' b' -> LensLike f (s, s') (t, t') (a, a') (b, b')
- choosing :: Functor f => LensLike f s t a b -> LensLike f s' t' a b -> LensLike f (Either s s') (Either t t') a b
- chosen :: IndexPreservingLens (Either a a) (Either b b) a b
- cloneIndexPreservingLens :: ALens s t a b -> IndexPreservingLens s t a b
- cloneIndexedLens :: AnIndexedLens i s t a b -> IndexedLens i s t a b
- cloneLens :: ALens s t a b -> Lens s t a b
- devoid :: Over p f Void Void a b
- fusing :: Functor f => LensLike (Yoneda f) s t a b -> LensLike f s t a b
- ilens :: (s -> (i, a)) -> (s -> b -> t) -> IndexedLens i s t a b
- iplens :: (s -> a) -> (s -> b -> t) -> IndexPreservingLens s t a b
- lens :: (s -> a) -> (s -> b -> t) -> Lens s t a b
- locus :: IndexedComonadStore p => Lens (p a c s) (p b c s) a b
- overA :: Arrow ar => LensLike (Context a b) s t a b -> ar a b -> ar s t
- storing :: ALens s t a b -> b -> s -> t
- united :: Lens' a ()
- ilevels :: Applicative f => Traversing (Indexed i) f s t a b -> IndexedLensLike Int f s t (Level i a) (Level j b)
- composOpFold :: Plated a => b -> (b -> b -> b) -> (a -> b) -> a -> b
- contexts :: Plated a => a -> [Context a a a]
- contextsOf :: ATraversal' a a -> a -> [Context a a a]
- contextsOn :: Plated a => ATraversal s t a a -> s -> [Context a a t]
- contextsOnOf :: ATraversal s t a a -> ATraversal' a a -> s -> [Context a a t]
- cosmos :: Plated a => Fold a a
- cosmosOf :: (Applicative f, Contravariant f) => LensLike' f a a -> LensLike' f a a
- cosmosOn :: (Applicative f, Contravariant f, Plated a) => LensLike' f s a -> LensLike' f s a
- cosmosOnOf :: (Applicative f, Contravariant f) => LensLike' f s a -> LensLike' f a a -> LensLike' f s a
- deep :: (Conjoined p, Applicative f, Plated s) => Traversing p f s s a b -> Over p f s s a b
- gplate :: (Generic a, GPlated a (Rep a)) => Traversal' a a
- gplate1 :: (Generic1 f, GPlated1 f (Rep1 f)) => Traversal' (f a) (f a)
- holes :: Plated a => a -> [Pretext ((->) :: Type -> Type -> Type) a a a]
- holesOn :: Conjoined p => Over p (Bazaar p a a) s t a a -> s -> [Pretext p a a t]
- holesOnOf :: Conjoined p => LensLike (Bazaar p r r) s t a b -> Over p (Bazaar p r r) a b r r -> s -> [Pretext p r r t]
- para :: Plated a => (a -> [r] -> r) -> a -> r
- paraOf :: Getting (Endo [a]) a a -> (a -> [r] -> r) -> a -> r
- parts :: Plated a => Lens' a [a]
- rewrite :: Plated a => (a -> Maybe a) -> a -> a
- rewriteM :: (Monad m, Plated a) => (a -> m (Maybe a)) -> a -> m a
- rewriteMOf :: Monad m => LensLike (WrappedMonad m) a b a b -> (b -> m (Maybe a)) -> a -> m b
- rewriteMOn :: (Monad m, Plated a) => LensLike (WrappedMonad m) s t a a -> (a -> m (Maybe a)) -> s -> m t
- rewriteMOnOf :: Monad m => LensLike (WrappedMonad m) s t a b -> LensLike (WrappedMonad m) a b a b -> (b -> m (Maybe a)) -> s -> m t
- rewriteOf :: ASetter a b a b -> (b -> Maybe a) -> a -> b
- rewriteOn :: Plated a => ASetter s t a a -> (a -> Maybe a) -> s -> t
- rewriteOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> Maybe a) -> s -> t
- transformM :: (Monad m, Plated a) => (a -> m a) -> a -> m a
- transformMOf :: Monad m => LensLike (WrappedMonad m) a b a b -> (b -> m b) -> a -> m b
- transformMOn :: (Monad m, Plated a) => LensLike (WrappedMonad m) s t a a -> (a -> m a) -> s -> m t
- transformMOnOf :: Monad m => LensLike (WrappedMonad m) s t a b -> LensLike (WrappedMonad m) a b a b -> (b -> m b) -> s -> m t
- transformOf :: ASetter a b a b -> (b -> b) -> a -> b
- transformOn :: Plated a => ASetter s t a a -> (a -> a) -> s -> t
- transformOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> b) -> s -> t
- universe :: Plated a => a -> [a]
- universeOf :: Getting [a] a a -> a -> [a]
- universeOn :: Plated a => Getting [a] s a -> s -> [a]
- universeOnOf :: Getting [a] s a -> Getting [a] a a -> s -> [a]
- _Just :: Prism (Maybe a) (Maybe b) a b
- _Left :: Prism (Either a c) (Either b c) a b
- _Nothing :: Prism' (Maybe a) ()
- _Right :: Prism (Either c a) (Either c b) a b
- _Show :: (Read a, Show a) => Prism' String a
- _Void :: Prism s s a Void
- aside :: APrism s t a b -> Prism (e, s) (e, t) (e, a) (e, b)
- below :: Traversable f => APrism' s a -> Prism' (f s) (f a)
- clonePrism :: APrism s t a b -> Prism s t a b
- isn't :: APrism s t a b -> s -> Bool
- matching :: APrism s t a b -> s -> Either t a
- nearly :: a -> (a -> Bool) -> Prism' a ()
- only :: Eq a => a -> Prism' a ()
- prism :: (b -> t) -> (s -> Either t a) -> Prism s t a b
- prism' :: (b -> s) -> (s -> Maybe a) -> Prism s s a b
- withPrism :: APrism s t a b -> ((b -> t) -> (s -> Either t a) -> r) -> r
- without :: APrism s t a b -> APrism u v c d -> Prism (Either s u) (Either t v) (Either a c) (Either b d)
- re :: AReview t b -> Getter b t
- reuse :: MonadState b m => AReview t b -> m t
- reuses :: MonadState b m => AReview t b -> (t -> r) -> m r
- review :: MonadReader b m => AReview t b -> m t
- reviews :: MonadReader b m => AReview t b -> (t -> r) -> m r
- un :: (Profunctor p, Bifunctor p, Functor f) => Getting a s a -> Optic' p f a s
- unto :: (Profunctor p, Bifunctor p, Functor f) => (b -> t) -> Optic p f s t a b
- (%=) :: MonadState s m => ASetter s s a b -> (a -> b) -> m ()
- (%@=) :: MonadState s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m ()
- (%@~) :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- (%~) :: ASetter s t a b -> (a -> b) -> s -> t
- (&&=) :: MonadState s m => ASetter' s Bool -> Bool -> m ()
- (&&~) :: ASetter s t Bool Bool -> Bool -> s -> t
- (**=) :: (MonadState s m, Floating a) => ASetter' s a -> a -> m ()
- (**~) :: Floating a => ASetter s t a a -> a -> s -> t
- (*=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m ()
- (*~) :: Num a => ASetter s t a a -> a -> s -> t
- (+=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m ()
- (+~) :: Num a => ASetter s t a a -> a -> s -> t
- (-=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m ()
- (-~) :: Num a => ASetter s t a a -> a -> s -> t
- (.=) :: MonadState s m => ASetter s s a b -> b -> m ()
- (.@=) :: MonadState s m => AnIndexedSetter i s s a b -> (i -> b) -> m ()
- (.@~) :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t
- (.~) :: ASetter s t a b -> b -> s -> t
- (//=) :: (MonadState s m, Fractional a) => ASetter' s a -> a -> m ()
- (//~) :: Fractional a => ASetter s t a a -> a -> s -> t
- (<.=) :: MonadState s m => ASetter s s a b -> b -> m b
- (<.~) :: ASetter s t a b -> b -> s -> (b, t)
- (<>=) :: (MonadState s m, Monoid a) => ASetter' s a -> a -> m ()
- (<>~) :: Monoid a => ASetter s t a a -> a -> s -> t
- (<?=) :: MonadState s m => ASetter s s a (Maybe b) -> b -> m b
- (<?~) :: ASetter s t a (Maybe b) -> b -> s -> (b, t)
- (<~) :: MonadState s m => ASetter s s a b -> m b -> m ()
- (?=) :: MonadState s m => ASetter s s a (Maybe b) -> b -> m ()
- (?~) :: ASetter s t a (Maybe b) -> b -> s -> t
- (^=) :: (MonadState s m, Num a, Integral e) => ASetter' s a -> e -> m ()
- (^^=) :: (MonadState s m, Fractional a, Integral e) => ASetter' s a -> e -> m ()
- (^^~) :: (Fractional a, Integral e) => ASetter s t a a -> e -> s -> t
- (^~) :: (Num a, Integral e) => ASetter s t a a -> e -> s -> t
- assign :: MonadState s m => ASetter s s a b -> b -> m ()
- assignA :: Arrow p => ASetter s t a b -> p s b -> p s t
- censoring :: MonadWriter w m => Setter w w u v -> (u -> v) -> m a -> m a
- cloneIndexPreservingSetter :: ASetter s t a b -> IndexPreservingSetter s t a b
- cloneIndexedSetter :: AnIndexedSetter i s t a b -> IndexedSetter i s t a b
- cloneSetter :: ASetter s t a b -> Setter s t a b
- contramapped :: Contravariant f => Setter (f b) (f a) a b
- icensoring :: MonadWriter w m => IndexedSetter i w w u v -> (i -> u -> v) -> m a -> m a
- ilocally :: MonadReader s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m r -> m r
- imapOf :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- imodifying :: MonadState s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m ()
- iover :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- ipassing :: MonadWriter w m => IndexedSetter i w w u v -> m (a, i -> u -> v) -> m a
- iset :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t
- isets :: ((i -> a -> b) -> s -> t) -> IndexedSetter i s t a b
- lifted :: Monad m => Setter (m a) (m b) a b
- locally :: MonadReader s m => ASetter s s a b -> (a -> b) -> m r -> m r
- mapOf :: ASetter s t a b -> (a -> b) -> s -> t
- mapped :: Functor f => Setter (f a) (f b) a b
- modifying :: MonadState s m => ASetter s s a b -> (a -> b) -> m ()
- over :: ASetter s t a b -> (a -> b) -> s -> t
- passing :: MonadWriter w m => Setter w w u v -> m (a, u -> v) -> m a
- scribe :: (MonadWriter t m, Monoid s) => ASetter s t a b -> b -> m ()
- set :: ASetter s t a b -> b -> s -> t
- set' :: ASetter' s a -> a -> s -> s
- sets :: (Profunctor p, Profunctor q, Settable f) => (p a b -> q s t) -> Optical p q f s t a b
- setting :: ((a -> b) -> s -> t) -> IndexPreservingSetter s t a b
- (||=) :: MonadState s m => ASetter' s Bool -> Bool -> m ()
- (||~) :: ASetter s t Bool Bool -> Bool -> s -> t
- abbreviatedFields :: LensRules
- abbreviatedNamer :: FieldNamer
- camelCaseFields :: LensRules
- camelCaseNamer :: FieldNamer
- classUnderscoreNoPrefixFields :: LensRules
- classUnderscoreNoPrefixNamer :: FieldNamer
- classyRules :: LensRules
- classyRules_ :: LensRules
- createClass :: Lens' LensRules Bool
- declareClassy :: DecsQ -> DecsQ
- declareClassyFor :: [(String, (String, String))] -> [(String, String)] -> DecsQ -> DecsQ
- declareFields :: DecsQ -> DecsQ
- declareLenses :: DecsQ -> DecsQ
- declareLensesFor :: [(String, String)] -> DecsQ -> DecsQ
- declareLensesWith :: LensRules -> DecsQ -> DecsQ
- declarePrisms :: DecsQ -> DecsQ
- declareWrapped :: DecsQ -> DecsQ
- defaultFieldRules :: LensRules
- generateLazyPatterns :: Lens' LensRules Bool
- generateSignatures :: Lens' LensRules Bool
- generateUpdateableOptics :: Lens' LensRules Bool
- lensClass :: Lens' LensRules ClassyNamer
- lensField :: Lens' LensRules FieldNamer
- lensRules :: LensRules
- lensRulesFor :: [(String, String)] -> LensRules
- lookingupNamer :: [(String, String)] -> FieldNamer
- makeClassy :: Name -> DecsQ
- makeClassyFor :: String -> String -> [(String, String)] -> Name -> DecsQ
- makeClassy_ :: Name -> DecsQ
- makeFields :: Name -> DecsQ
- makeFieldsNoPrefix :: Name -> DecsQ
- makeLenses :: Name -> DecsQ
- makeLensesFor :: [(String, String)] -> Name -> DecsQ
- makeLensesWith :: LensRules -> Name -> DecsQ
- makeWrapped :: Name -> DecsQ
- mappingNamer :: (String -> [String]) -> FieldNamer
- simpleLenses :: Lens' LensRules Bool
- underscoreFields :: LensRules
- underscoreNamer :: FieldNamer
- underscoreNoPrefixNamer :: FieldNamer
- both :: Bitraversable r => Traversal (r a a) (r b b) a b
- both1 :: Bitraversable1 r => Traversal1 (r a a) (r b b) a b
- cloneIndexPreservingTraversal :: ATraversal s t a b -> IndexPreservingTraversal s t a b
- cloneIndexPreservingTraversal1 :: ATraversal1 s t a b -> IndexPreservingTraversal1 s t a b
- cloneIndexedTraversal :: AnIndexedTraversal i s t a b -> IndexedTraversal i s t a b
- cloneIndexedTraversal1 :: AnIndexedTraversal1 i s t a b -> IndexedTraversal1 i s t a b
- cloneTraversal :: ATraversal s t a b -> Traversal s t a b
- cloneTraversal1 :: ATraversal1 s t a b -> Traversal1 s t a b
- confusing :: Applicative f => LensLike (Curried (Yoneda f) (Yoneda f)) s t a b -> LensLike f s t a b
- deepOf :: (Conjoined p, Applicative f) => LensLike f s t s t -> Traversing p f s t a b -> Over p f s t a b
- dropping :: (Conjoined p, Applicative f) => Int -> Over p (Indexing f) s t a a -> Over p f s t a a
- element :: Traversable t => Int -> IndexedTraversal' Int (t a) a
- elementOf :: Applicative f => LensLike (Indexing f) s t a a -> Int -> IndexedLensLike Int f s t a a
- elements :: Traversable t => (Int -> Bool) -> IndexedTraversal' Int (t a) a
- elementsOf :: Applicative f => LensLike (Indexing f) s t a a -> (Int -> Bool) -> IndexedLensLike Int f s t a a
- failing :: (Conjoined p, Applicative f) => Traversing p f s t a b -> Over p f s t a b -> Over p f s t a b
- failover :: Alternative m => LensLike ((,) Any) s t a b -> (a -> b) -> s -> m t
- forMOf :: LensLike (WrappedMonad m) s t a b -> s -> (a -> m b) -> m t
- forOf :: LensLike f s t a b -> s -> (a -> f b) -> f t
- holes1Of :: Conjoined p => Over p (Bazaar1 p a a) s t a a -> s -> NonEmpty (Pretext p a a t)
- holesOf :: Conjoined p => Over p (Bazaar p a a) s t a a -> s -> [Pretext p a a t]
- ifailover :: Alternative m => Over (Indexed i) ((,) Any) s t a b -> (i -> a -> b) -> s -> m t
- iforMOf :: (Indexed i a (WrappedMonad m b) -> s -> WrappedMonad m t) -> s -> (i -> a -> m b) -> m t
- iforOf :: (Indexed i a (f b) -> s -> f t) -> s -> (i -> a -> f b) -> f t
- ignored :: Applicative f => pafb -> s -> f s
- iloci :: IndexedTraversal i (Bazaar (Indexed i) a c s) (Bazaar (Indexed i) b c s) a b
- imapAccumLOf :: Over (Indexed i) (State acc) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- imapAccumROf :: Over (Indexed i) (Backwards (State acc)) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- imapMOf :: Over (Indexed i) (WrappedMonad m) s t a b -> (i -> a -> m b) -> s -> m t
- ipartsOf :: (Indexable [i] p, Functor f) => Traversing (Indexed i) f s t a a -> Over p f s t [a] [a]
- ipartsOf' :: (Indexable [i] p, Functor f) => Over (Indexed i) (Bazaar' (Indexed i) a) s t a a -> Over p f s t [a] [a]
- itraverseOf :: (Indexed i a (f b) -> s -> f t) -> (i -> a -> f b) -> s -> f t
- iunsafePartsOf :: (Indexable [i] p, Functor f) => Traversing (Indexed i) f s t a b -> Over p f s t [a] [b]
- iunsafePartsOf' :: Over (Indexed i) (Bazaar (Indexed i) a b) s t a b -> IndexedLens [i] s t [a] [b]
- loci :: Traversal (Bazaar ((->) :: Type -> Type -> Type) a c s) (Bazaar ((->) :: Type -> Type -> Type) b c s) a b
- mapAccumLOf :: LensLike (State acc) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- mapAccumROf :: LensLike (Backwards (State acc)) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- mapMOf :: LensLike (WrappedMonad m) s t a b -> (a -> m b) -> s -> m t
- partsOf :: Functor f => Traversing ((->) :: Type -> Type -> Type) f s t a a -> LensLike f s t [a] [a]
- partsOf' :: ATraversal s t a a -> Lens s t [a] [a]
- scanl1Of :: LensLike (State (Maybe a)) s t a a -> (a -> a -> a) -> s -> t
- scanr1Of :: LensLike (Backwards (State (Maybe a))) s t a a -> (a -> a -> a) -> s -> t
- sequenceAOf :: LensLike f s t (f b) b -> s -> f t
- sequenceByOf :: Traversal s t (f b) b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> s -> f t
- sequenceOf :: LensLike (WrappedMonad m) s t (m b) b -> s -> m t
- taking :: (Conjoined p, Applicative f) => Int -> Traversing p f s t a a -> Over p f s t a a
- transposeOf :: LensLike ZipList s t [a] a -> s -> [t]
- traverseByOf :: Traversal s t a b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (a -> f b) -> s -> f t
- traverseOf :: LensLike f s t a b -> (a -> f b) -> s -> f t
- traversed :: Traversable f => IndexedTraversal Int (f a) (f b) a b
- traversed1 :: Traversable1 f => IndexedTraversal1 Int (f a) (f b) a b
- traversed64 :: Traversable f => IndexedTraversal Int64 (f a) (f b) a b
- unsafePartsOf :: Functor f => Traversing ((->) :: Type -> Type -> Type) f s t a b -> LensLike f s t [a] [b]
- unsafePartsOf' :: ATraversal s t a b -> Lens s t [a] [b]
- unsafeSingular :: (HasCallStack, Conjoined p, Functor f) => Traversing p f s t a b -> Over p f s t a b
- _1' :: Field1 s t a b => Lens s t a b
- _10' :: Field10 s t a b => Lens s t a b
- _11' :: Field11 s t a b => Lens s t a b
- _12' :: Field12 s t a b => Lens s t a b
- _13' :: Field13 s t a b => Lens s t a b
- _14' :: Field14 s t a b => Lens s t a b
- _15' :: Field15 s t a b => Lens s t a b
- _16' :: Field16 s t a b => Lens s t a b
- _17' :: Field17 s t a b => Lens s t a b
- _18' :: Field18 s t a b => Lens s t a b
- _19' :: Field19 s t a b => Lens s t a b
- _2' :: Field2 s t a b => Lens s t a b
- _3' :: Field3 s t a b => Lens s t a b
- _4' :: Field4 s t a b => Lens s t a b
- _5' :: Field5 s t a b => Lens s t a b
- _6' :: Field6 s t a b => Lens s t a b
- _7' :: Field7 s t a b => Lens s t a b
- _8' :: Field8 s t a b => Lens s t a b
- _9' :: Field9 s t a b => Lens s t a b
- pattern Unwrapped :: forall t. Rewrapped t t => t -> Unwrapped t
- pattern Wrapped :: forall s. Rewrapped s s => Unwrapped s -> s
- _GWrapped' :: (Generic s, D1 d (C1 c (S1 s' (Rec0 a))) ~ Rep s, Unwrapped s ~ GUnwrapped (Rep s)) => Iso' s (Unwrapped s)
- _Unwrapped :: Rewrapping s t => Iso (Unwrapped t) (Unwrapped s) t s
- _Unwrapped' :: Wrapped s => Iso' (Unwrapped s) s
- _Unwrapping :: Rewrapping s t => (Unwrapped s -> s) -> Iso (Unwrapped t) (Unwrapped s) t s
- _Unwrapping' :: Wrapped s => (Unwrapped s -> s) -> Iso' (Unwrapped s) s
- _Wrapped :: Rewrapping s t => Iso s t (Unwrapped s) (Unwrapped t)
- _Wrapping :: Rewrapping s t => (Unwrapped s -> s) -> Iso s t (Unwrapped s) (Unwrapped t)
- _Wrapping' :: Wrapped s => (Unwrapped s -> s) -> Iso' s (Unwrapped s)
- ala :: (Functor f, Rewrapping s t) => (Unwrapped s -> s) -> ((Unwrapped t -> t) -> f s) -> f (Unwrapped s)
- alaf :: (Functor f, Functor g, Rewrapping s t) => (Unwrapped s -> s) -> (f t -> g s) -> f (Unwrapped t) -> g (Unwrapped s)
- op :: Wrapped s => (Unwrapped s -> s) -> s -> Unwrapped s
- data Active a
- data Duration n
- data Dynamic a = Dynamic {}
- data Era n
- data Time n
- newtype Envelope (v :: Type -> Type) n = Envelope (Option (v n -> Max n))
- class (Metric (V a), OrderedField (N a)) => Enveloped a where
- getEnvelope :: a -> Envelope (V a) (N a)
- type OrderedField s = (Floating s, Ord s)
- class HasOrigin t where
- moveOriginTo :: Point (V t) (N t) -> t -> t
- class Juxtaposable a where
- type Measure n = Measured n n
- data Measured n a
- data AName
- class (Typeable a, Ord a, Show a) => IsName a where
- data Name
- class Qualifiable q where
- newtype Query (v :: Type -> Type) n m = Query {}
- data Attribute (v :: Type -> Type) n where
- Attribute :: forall (v :: Type -> Type) n a. AttributeClass a => a -> Attribute v n
- MAttribute :: forall (v :: Type -> Type) n a. AttributeClass a => Measured n a -> Attribute v n
- TAttribute :: forall (v :: Type -> Type) n a. (AttributeClass a, Transformable a, V a ~ v, N a ~ n) => a -> Attribute v n
- class (Typeable a, Semigroup a) => AttributeClass a
- class HasStyle a where
- applyStyle :: Style (V a) (N a) -> a -> a
- data Style (v :: Type -> Type) n
- data SortedList a
- newtype Trace (v :: Type -> Type) n = Trace {
- appTrace :: Point v n -> v n -> SortedList n
- class (Additive (V a), Ord (N a)) => Traced a where
- data u :-: v
- type HasBasis (v :: Type -> Type) = (Additive v, Representable v, Rep v ~ E v)
- type HasLinearMap (v :: Type -> Type) = (HasBasis v, Traversable v)
- newtype TransInv t = TransInv t
- class Transformable t where
- transform :: Transformation (V t) (N t) -> t -> t
- data Transformation (v :: Type -> Type) n
- class Backend b (v :: Type -> Type) n where
- data Render b (v :: Type -> Type) n :: Type
- type Result b (v :: Type -> Type) n :: Type
- data Options b (v :: Type -> Type) n :: Type
- adjustDia :: (Additive v, Monoid' m, Num n) => b -> Options b v n -> QDiagram b v n m -> (Options b v n, Transformation v n, QDiagram b v n m)
- renderRTree :: b -> Options b v n -> RTree b v n Annotation -> Result b v n
- type D (v :: Type -> Type) n = QDiagram NullBackend v n Any
- type Diagram b = QDiagram b (V b) (N b) Any
- data NullBackend
- data Prim b (v :: Type -> Type) n where
- Prim :: forall b (v :: Type -> Type) n p. (Transformable p, Typeable p, Renderable p b) => p -> Prim b (V p) (N p)
- data QDiagram b (v :: Type -> Type) n m
- class Transformable t => Renderable t b where
- newtype SubMap b (v :: Type -> Type) n m = SubMap (Map Name [Subdiagram b v n m])
- data Subdiagram b (v :: Type -> Type) n m = Subdiagram (QDiagram b v n m) (DownAnnots v n)
- type TypeableFloat n = (Typeable n, RealFloat n)
- type InSpace (v :: Type -> Type) n a = (V a ~ v, N a ~ n, Additive v, Num n)
- type family N a :: Type
- type SameSpace a b = (V a ~ V b, N a ~ N b)
- type family V a :: Type -> Type
- type Vn a = V a (N a)
- class Alignable a where
- alignBy' :: (InSpace v n a, Fractional n, HasOrigin a) => (v n -> a -> Point v n) -> v n -> n -> a -> a
- defaultBoundary :: (V a ~ v, N a ~ n) => v n -> a -> Point v n
- alignBy :: (InSpace v n a, Fractional n, HasOrigin a) => v n -> n -> a -> a
- data Angle n
- class HasTheta t => HasPhi (t :: Type -> Type) where
- class HasTheta (t :: Type -> Type) where
- type Animation b (v :: Type -> Type) n = QAnimation b v n Any
- type QAnimation b (v :: Type -> Type) n m = Active (QDiagram b v n m)
- class Color c where
- toAlphaColour :: c -> AlphaColour Double
- fromAlphaColour :: AlphaColour Double -> c
- data Dashing n = Dashing [n] n
- data FillOpacity
- data LineCap
- data LineJoin
- newtype LineMiterLimit = LineMiterLimit (Last Double)
- data LineWidth n
- data Opacity
- data SomeColor where
- data StrokeOpacity
- data BoundingBox (v :: Type -> Type) n
- data CatMethod
- data CatOpts n
- data a :& b = a :& b
- class Coordinates c where
- type FinalCoord c :: Type
- type PrevDim c :: Type
- type Decomposition c :: Type
- (^&) :: PrevDim c -> FinalCoord c -> c
- pr :: PrevDim c -> FinalCoord c -> c
- coords :: c -> Decomposition c
- type BSpline (v :: Type -> Type) n = [Point v n]
- class Deformable a b where
- newtype Deformation (v :: Type -> Type) (u :: Type -> Type) n = Deformation (Point v n -> Point u n)
- data Direction (v :: Type -> Type) n
- data Located a = Loc {}
- type family Codomain p :: Type -> Type
- class DomainBounds p where
- domainLower :: p -> N p
- domainUpper :: p -> N p
- class (Parametric p, DomainBounds p) => EndValues p where
- class Parametric p => HasArcLength p where
- arcLengthBounded :: N p -> p -> Interval (N p)
- arcLength :: N p -> p -> N p
- stdArcLength :: p -> N p
- arcLengthToParam :: N p -> p -> N p -> N p
- stdArcLengthToParam :: p -> N p -> N p
- class Parametric p where
- class DomainBounds p => Sectionable p where
- splitAtParam :: p -> N p -> (p, p)
- section :: p -> N p -> N p -> p
- reverseDomain :: p -> p
- data AdjustMethod n
- = ByParam n
- | ByAbsolute n
- | ToAbsolute n
- data AdjustOpts n
- data AdjustSide
- newtype Path (v :: Type -> Type) n = Path [Located (Trail v n)]
- class ToPath t where
- class HasQuery t m | t -> m where
- newtype ArcLength n = ArcLength (Sum (Interval n), n -> Sum (Interval n))
- data Closed
- data FixedSegment (v :: Type -> Type) n
- data Offset c (v :: Type -> Type) n where
- OffsetOpen :: forall c (v :: Type -> Type) n. Offset Open v n
- OffsetClosed :: forall c (v :: Type -> Type) n. v n -> Offset Closed v n
- data OffsetEnvelope (v :: Type -> Type) n = OffsetEnvelope {
- _oeOffset :: !(TotalOffset v n)
- _oeEnvelope :: Envelope v n
- data Open
- newtype SegCount = SegCount (Sum Int)
- type SegMeasure (v :: Type -> Type) n = SegCount ::: (ArcLength n ::: (OffsetEnvelope v n ::: ()))
- data Segment c (v :: Type -> Type) n
- newtype TotalOffset (v :: Type -> Type) n = TotalOffset (v n)
- data SizeSpec (v :: Type -> Type) n
- newtype Tangent t = Tangent t
- newtype Ambient = Ambient (Last Double)
- newtype Diffuse = Diffuse (Last Double)
- newtype Highlight = Highlight (Last Specular)
- data Specular = Specular {}
- newtype SurfaceColor = SurfaceColor (Last (Colour Double))
- data Camera (l :: Type -> Type) n
- aspect :: (CameraLens l, Floating n) => l n -> n
- data OrthoLens n = OrthoLens {
- _orthoWidth :: n
- _orthoHeight :: n
- data PerspectiveLens n = PerspectiveLens {}
- data ParallelLight n = ParallelLight (V3 n) (Colour Double)
- data PointLight n = PointLight (Point V3 n) (Colour Double)
- data Box n = Box (Transformation V3 n)
- data CSG n
- = CsgEllipsoid (Ellipsoid n)
- | CsgBox (Box n)
- | CsgFrustum (Frustum n)
- | CsgUnion [CSG n]
- | CsgIntersection [CSG n]
- | CsgDifference (CSG n) (CSG n)
- data Ellipsoid n = Ellipsoid (Transformation V3 n)
- data Frustum n = Frustum n n (Transformation V3 n)
- class Skinned t where
- skin :: (Renderable t b, N t ~ n, TypeableFloat n) => t -> QDiagram b V3 n Any
- type P3 = Point V3
- type T3 = Transformation V3
- newtype GetSegment t = GetSegment t
- newtype GetSegmentCodomain (v :: Type -> Type) n = GetSegmentCodomain (Maybe (v n, Segment Closed v n, AnIso' n n))
- data Line
- data Loop
- newtype SegTree (v :: Type -> Type) n = SegTree (FingerTree (SegMeasure v n) (Segment Closed v n))
- data Trail (v :: Type -> Type) n where
- data Trail' l (v :: Type -> Type) n where
- class (Metric (V t), OrderedField (N t)) => TrailLike t where
- data ArrowOpts n = ArrowOpts {
- _arrowHead :: ArrowHT n
- _arrowTail :: ArrowHT n
- _arrowShaft :: Trail V2 n
- _headGap :: Measure n
- _tailGap :: Measure n
- _headStyle :: Style V2 n
- _headLength :: Measure n
- _tailStyle :: Style V2 n
- _tailLength :: Measure n
- _shaftStyle :: Style V2 n
- type ArrowHT n = n -> n -> (Path V2 n, Path V2 n)
- data GradientStop d = GradientStop {
- _stopColor :: SomeColor
- _stopFraction :: d
- data LGradient n = LGradient {
- _lGradStops :: [GradientStop n]
- _lGradStart :: Point V2 n
- _lGradEnd :: Point V2 n
- _lGradTrans :: Transformation V2 n
- _lGradSpreadMethod :: SpreadMethod
- data RGradient n = RGradient {
- _rGradStops :: [GradientStop n]
- _rGradCenter0 :: Point V2 n
- _rGradRadius0 :: n
- _rGradCenter1 :: Point V2 n
- _rGradRadius1 :: n
- _rGradTrans :: Transformation V2 n
- _rGradSpreadMethod :: SpreadMethod
- data SpreadMethod
- data Texture n
- data DImage a b = DImage (ImageData b) Int Int (Transformation V2 a)
- data Embedded
- data External
- data ImageData a where
- ImageRaster :: forall a. DynamicImage -> ImageData Embedded
- ImageRef :: forall a. FilePath -> ImageData External
- ImageNative :: forall a t. t -> ImageData (Native t)
- data Native t
- data EnvelopeOpts n = EnvelopeOpts {}
- data OriginOpts n = OriginOpts {}
- data TraceOpts n = TraceOpts {}
- data FillRule
- data StrokeOpts a = StrokeOpts {
- _vertexNames :: [[a]]
- _queryFillRule :: FillRule
- data PolyOrientation n
- data PolyType n
- data PolygonOpts n = PolygonOpts {
- _polyType :: PolyType n
- _polyOrient :: PolyOrientation n
- _polyCenter :: Point V2 n
- data StarOpts
- data RoundedRectOpts d = RoundedRectOpts {}
- class HasR (t :: Type -> Type) where
- type P2 = Point V2
- type T2 = Transformation V2
- class Additive (Diff p) => Affine (p :: Type -> Type) where
- newtype Point (f :: Type -> Type) a = P (f a)
- class Additive f => Metric (f :: Type -> Type) where
- class R1 (t :: Type -> Type) where
- class R1 t => R2 (t :: Type -> Type) where
- data V2 a = V2 !a !a
- class R2 t => R3 (t :: Type -> Type) where
- data V3 a = V3 !a !a !a
- class Functor f => Additive (f :: Type -> Type) where
- newtype E (t :: Type -> Type) = E {}
- class Ixed m => At m
- class Contains m
- type family Index s :: Type
- type family IxValue m :: Type
- class Ixed m where
- ix :: Index m -> Traversal' m (IxValue m)
- class Cons s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Snoc s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Each s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class AsEmpty a where
- type AnEquality (s :: k1) (t :: k2) (a :: k1) (b :: k2) = Identical a (Proxy b) a (Proxy b) -> Identical a (Proxy b) s (Proxy t)
- type AnEquality' (s :: k2) (a :: k2) = AnEquality s s a a
- data Identical (a :: k) (b :: k1) (s :: k) (t :: k1) :: forall k k1. k -> k1 -> k -> k1 -> Type where
- type Accessing (p :: Type -> Type -> Type) m s a = p a (Const m a) -> s -> Const m s
- type Getting r s a = (a -> Const r a) -> s -> Const r s
- type IndexedGetting i m s a = Indexed i a (Const m a) -> s -> Const m s
- class Foldable f => FoldableWithIndex i (f :: Type -> Type) | f -> i where
- class Functor f => FunctorWithIndex i (f :: Type -> Type) | f -> i where
- imap :: (i -> a -> b) -> f a -> f b
- imapped :: IndexedSetter i (f a) (f b) a b
- class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i (t :: Type -> Type) | t -> i where
- itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b)
- itraversed :: IndexedTraversal i (t a) (t b) a b
- newtype Bazaar (p :: Type -> Type -> Type) a b t = Bazaar {
- runBazaar :: forall (f :: Type -> Type). Applicative f => p a (f b) -> f t
- type Bazaar' (p :: Type -> Type -> Type) a = Bazaar p a a
- newtype Bazaar1 (p :: Type -> Type -> Type) a b t = Bazaar1 {
- runBazaar1 :: forall (f :: Type -> Type). Apply f => p a (f b) -> f t
- type Bazaar1' (p :: Type -> Type -> Type) a = Bazaar1 p a a
- data Context a b t = Context (b -> t) a
- type Context' a = Context a a
- type ClassyNamer = Name -> Maybe (Name, Name)
- data DefName
- type FieldNamer = Name -> [Name] -> Name -> [DefName]
- data LensRules
- data Leftmost a
- data Rightmost a
- data Sequenced a (m :: Type -> Type)
- data Traversed a (f :: Type -> Type)
- class (Choice p, Corepresentable p, Comonad (Corep p), Traversable (Corep p), Strong p, Representable p, Monad (Rep p), MonadFix (Rep p), Distributive (Rep p), Costrong p, ArrowLoop p, ArrowApply p, ArrowChoice p, Closed p) => Conjoined (p :: Type -> Type -> Type) where
- class Conjoined p => Indexable i (p :: Type -> Type -> Type)
- newtype Indexed i a b = Indexed {
- runIndexed :: i -> a -> b
- class Reversing t where
- reversing :: t -> t
- data Level i a
- data Magma i t b a
- class (Profunctor p, Bifunctor p) => Reviewable (p :: Type -> Type -> Type)
- class (Applicative f, Distributive f, Traversable f) => Settable (f :: Type -> Type)
- type AnIso s t a b = Exchange a b a (Identity b) -> Exchange a b s (Identity t)
- type AnIso' s a = AnIso s s a a
- class Strict lazy strict | lazy -> strict, strict -> lazy where
- class Bifunctor p => Swapped (p :: Type -> Type -> Type) where
- type ALens s t a b = LensLike (Pretext ((->) :: Type -> Type -> Type) a b) s t a b
- type ALens' s a = ALens s s a a
- type AnIndexedLens i s t a b = Optical (Indexed i) ((->) :: Type -> Type -> Type) (Pretext (Indexed i) a b) s t a b
- type AnIndexedLens' i s a = AnIndexedLens i s s a a
- class GPlated a (g :: k -> Type)
- class GPlated1 (f :: k -> Type) (g :: k -> Type)
- class Plated a where
- plate :: Traversal' a a
- type APrism s t a b = Market a b a (Identity b) -> Market a b s (Identity t)
- type APrism' s a = APrism s s a a
- newtype ReifiedFold s a = Fold {}
- newtype ReifiedGetter s a = Getter {}
- newtype ReifiedIndexedFold i s a = IndexedFold {
- runIndexedFold :: IndexedFold i s a
- newtype ReifiedIndexedGetter i s a = IndexedGetter {
- runIndexedGetter :: IndexedGetter i s a
- newtype ReifiedIndexedLens i s t a b = IndexedLens {
- runIndexedLens :: IndexedLens i s t a b
- type ReifiedIndexedLens' i s a = ReifiedIndexedLens i s s a a
- newtype ReifiedIndexedSetter i s t a b = IndexedSetter {
- runIndexedSetter :: IndexedSetter i s t a b
- type ReifiedIndexedSetter' i s a = ReifiedIndexedSetter i s s a a
- newtype ReifiedIndexedTraversal i s t a b = IndexedTraversal {
- runIndexedTraversal :: IndexedTraversal i s t a b
- type ReifiedIndexedTraversal' i s a = ReifiedIndexedTraversal i s s a a
- newtype ReifiedIso s t a b = Iso {}
- type ReifiedIso' s a = ReifiedIso s s a a
- newtype ReifiedLens s t a b = Lens {}
- type ReifiedLens' s a = ReifiedLens s s a a
- newtype ReifiedPrism s t a b = Prism {}
- type ReifiedPrism' s a = ReifiedPrism s s a a
- newtype ReifiedSetter s t a b = Setter {}
- type ReifiedSetter' s a = ReifiedSetter s s a a
- newtype ReifiedTraversal s t a b = Traversal {
- runTraversal :: Traversal s t a b
- type ReifiedTraversal' s a = ReifiedTraversal s s a a
- type ASetter s t a b = (a -> Identity b) -> s -> Identity t
- type ASetter' s a = ASetter s s a a
- type AnIndexedSetter i s t a b = Indexed i a (Identity b) -> s -> Identity t
- type AnIndexedSetter' i s a = AnIndexedSetter i s s a a
- type Setting (p :: Type -> Type -> Type) s t a b = p a (Identity b) -> s -> Identity t
- type Setting' (p :: Type -> Type -> Type) s a = Setting p s s a a
- type ATraversal s t a b = LensLike (Bazaar ((->) :: Type -> Type -> Type) a b) s t a b
- type ATraversal' s a = ATraversal s s a a
- type ATraversal1 s t a b = LensLike (Bazaar1 ((->) :: Type -> Type -> Type) a b) s t a b
- type ATraversal1' s a = ATraversal1 s s a a
- type AnIndexedTraversal i s t a b = Over (Indexed i) (Bazaar (Indexed i) a b) s t a b
- type AnIndexedTraversal' i s a = AnIndexedTraversal i s s a a
- type AnIndexedTraversal1 i s t a b = Over (Indexed i) (Bazaar1 (Indexed i) a b) s t a b
- type AnIndexedTraversal1' i s a = AnIndexedTraversal1 i s s a a
- class Ord k => TraverseMax k (m :: Type -> Type) | m -> k where
- traverseMax :: IndexedTraversal' k (m v) v
- class Ord k => TraverseMin k (m :: Type -> Type) | m -> k where
- traverseMin :: IndexedTraversal' k (m v) v
- type Traversing (p :: Type -> Type -> Type) (f :: Type -> Type) s t a b = Over p (BazaarT p f a b) s t a b
- type Traversing' (p :: Type -> Type -> Type) (f :: Type -> Type) s a = Traversing p f s s a a
- type Traversing1 (p :: Type -> Type -> Type) (f :: Type -> Type) s t a b = Over p (BazaarT1 p f a b) s t a b
- type Traversing1' (p :: Type -> Type -> Type) (f :: Type -> Type) s a = Traversing1 p f s s a a
- class Field1 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field10 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field11 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field12 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field13 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field14 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field15 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field16 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field17 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field18 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field19 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field2 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field3 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field4 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field5 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field6 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field7 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field8 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- class Field9 s t a b | s -> a, t -> b, s b -> t, t a -> s where
- type AReview t b = Optic' (Tagged :: Type -> Type -> Type) Identity t b
- type As (a :: k2) = Equality' a a
- type Equality (s :: k1) (t :: k2) (a :: k1) (b :: k2) = forall k3 (p :: k1 -> k3 -> Type) (f :: k2 -> k3). p a (f b) -> p s (f t)
- type Equality' (s :: k2) (a :: k2) = Equality s s a a
- type Fold s a = forall (f :: Type -> Type). (Contravariant f, Applicative f) => (a -> f a) -> s -> f s
- type Fold1 s a = forall (f :: Type -> Type). (Contravariant f, Apply f) => (a -> f a) -> s -> f s
- type Getter s a = forall (f :: Type -> Type). (Contravariant f, Functor f) => (a -> f a) -> s -> f s
- type IndexPreservingFold s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Applicative f) => p a (f a) -> p s (f s)
- type IndexPreservingFold1 s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Apply f) => p a (f a) -> p s (f s)
- type IndexPreservingGetter s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Functor f) => p a (f a) -> p s (f s)
- type IndexPreservingLens s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Functor f) => p a (f b) -> p s (f t)
- type IndexPreservingLens' s a = IndexPreservingLens s s a a
- type IndexPreservingSetter s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Settable f) => p a (f b) -> p s (f t)
- type IndexPreservingSetter' s a = IndexPreservingSetter s s a a
- type IndexPreservingTraversal s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Applicative f) => p a (f b) -> p s (f t)
- type IndexPreservingTraversal' s a = IndexPreservingTraversal s s a a
- type IndexPreservingTraversal1 s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Apply f) => p a (f b) -> p s (f t)
- type IndexPreservingTraversal1' s a = IndexPreservingTraversal1 s s a a
- type IndexedFold i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Applicative f) => p a (f a) -> s -> f s
- type IndexedFold1 i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Apply f) => p a (f a) -> s -> f s
- type IndexedGetter i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Functor f) => p a (f a) -> s -> f s
- type IndexedLens i s t a b = forall (f :: Type -> Type) (p :: Type -> Type -> Type). (Indexable i p, Functor f) => p a (f b) -> s -> f t
- type IndexedLens' i s a = IndexedLens i s s a a
- type IndexedLensLike i (f :: k -> Type) s (t :: k) a (b :: k) = forall (p :: Type -> Type -> Type). Indexable i p => p a (f b) -> s -> f t
- type IndexedLensLike' i (f :: Type -> Type) s a = IndexedLensLike i f s s a a
- type IndexedSetter i s t a b = forall (f :: Type -> Type) (p :: Type -> Type -> Type). (Indexable i p, Settable f) => p a (f b) -> s -> f t
- type IndexedSetter' i s a = IndexedSetter i s s a a
- type IndexedTraversal i s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Applicative f) => p a (f b) -> s -> f t
- type IndexedTraversal' i s a = IndexedTraversal i s s a a
- type IndexedTraversal1 i s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Apply f) => p a (f b) -> s -> f t
- type IndexedTraversal1' i s a = IndexedTraversal1 i s s a a
- type Iso s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Profunctor p, Functor f) => p a (f b) -> p s (f t)
- type Iso' s a = Iso s s a a
- type Lens s t a b = forall (f :: Type -> Type). Functor f => (a -> f b) -> s -> f t
- type Lens' s a = Lens s s a a
- type LensLike (f :: k -> Type) s (t :: k) a (b :: k) = (a -> f b) -> s -> f t
- type LensLike' (f :: Type -> Type) s a = LensLike f s s a a
- type Optic (p :: k1 -> k -> Type) (f :: k2 -> k) (s :: k1) (t :: k2) (a :: k1) (b :: k2) = p a (f b) -> p s (f t)
- type Optic' (p :: k1 -> k -> Type) (f :: k1 -> k) (s :: k1) (a :: k1) = Optic p f s s a a
- type Optical (p :: k2 -> k -> Type) (q :: k1 -> k -> Type) (f :: k3 -> k) (s :: k1) (t :: k3) (a :: k2) (b :: k3) = p a (f b) -> q s (f t)
- type Optical' (p :: k1 -> k -> Type) (q :: k1 -> k -> Type) (f :: k1 -> k) (s :: k1) (a :: k1) = Optical p q f s s a a
- type Over (p :: k -> Type -> Type) (f :: k1 -> Type) s (t :: k1) (a :: k) (b :: k1) = p a (f b) -> s -> f t
- type Over' (p :: Type -> Type -> Type) (f :: Type -> Type) s a = Over p f s s a a
- type Prism s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Choice p, Applicative f) => p a (f b) -> p s (f t)
- type Prism' s a = Prism s s a a
- type Review t b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Choice p, Bifunctor p, Settable f) => Optic' p f t b
- type Setter s t a b = forall (f :: Type -> Type). Settable f => (a -> f b) -> s -> f t
- type Setter' s a = Setter s s a a
- type Simple (f :: k -> k -> k1 -> k1 -> k2) (s :: k) (a :: k1) = f s s a a
- type Traversal s t a b = forall (f :: Type -> Type). Applicative f => (a -> f b) -> s -> f t
- type Traversal' s a = Traversal s s a a
- type Traversal1 s t a b = forall (f :: Type -> Type). Apply f => (a -> f b) -> s -> f t
- type Traversal1' s a = Traversal1 s s a a
- class Wrapped s => Rewrapped s t
- class (Rewrapped s t, Rewrapped t s) => Rewrapping s t
- class Wrapped s where
- type family Magnified (m :: Type -> Type) :: Type -> Type -> Type
- class (Magnified m ~ Magnified n, MonadReader b m, MonadReader a n) => Magnify (m :: Type -> Type) (n :: Type -> Type) b a | m -> b, n -> a, m a -> n, n b -> m where
- class (MonadState s m, MonadState t n) => Zoom (m :: Type -> Type) (n :: Type -> Type) s t | m -> s, n -> t, m t -> n, n s -> m where
- type family Zoomed (m :: Type -> Type) :: Type -> Type -> Type
- type Monoid' = Monoid
- class Profunctor p => Choice (p :: Type -> Type -> Type) where
- class Profunctor (p :: Type -> Type -> Type) where
- class (Foldable1 t, Traversable t) => Traversable1 (t :: Type -> Type) where
- traverse1 :: Apply f => (a -> f b) -> t a -> f (t b)
Add Diagrams Inputs
Arguments
| :: (PandocEffects effs, Member ToPandoc effs, Member UnusedId effs) | |
| => Maybe Text | id attribute for figure. Will use next unused "figure" id if Nothing |
| -> Maybe Text | caption for figure |
| -> Double | width in pixels (?) |
| -> Double | height in pixels (?) |
| -> QDiagram SVG V2 Double Any | diagram |
| -> Sem effs Text |
Add diagram (via svg inserted as html).
re-exports
class Functor f => Applicative (f :: Type -> Type) where #
A functor with application, providing operations to
A minimal complete definition must include implementations of pure
and of either <*> or liftA2. If it defines both, then they must behave
the same as their default definitions:
(<*>) =liftA2id
liftA2f x y = f<$>x<*>y
Further, any definition must satisfy the following:
- identity
pureid<*>v = v- composition
pure(.)<*>u<*>v<*>w = u<*>(v<*>w)- homomorphism
puref<*>purex =pure(f x)- interchange
u
<*>purey =pure($y)<*>u
The other methods have the following default definitions, which may be overridden with equivalent specialized implementations:
As a consequence of these laws, the Functor instance for f will satisfy
It may be useful to note that supposing
forall x y. p (q x y) = f x . g y
it follows from the above that
liftA2p (liftA2q u v) =liftA2f u .liftA2g v
If f is also a Monad, it should satisfy
(which implies that pure and <*> satisfy the applicative functor laws).
Methods
Lift a value.
(<*>) :: f (a -> b) -> f a -> f b infixl 4 #
Sequential application.
A few functors support an implementation of <*> that is more
efficient than the default one.
liftA2 :: (a -> b -> c) -> f a -> f b -> f c #
Lift a binary function to actions.
Some functors support an implementation of liftA2 that is more
efficient than the default one. In particular, if fmap is an
expensive operation, it is likely better to use liftA2 than to
fmap over the structure and then use <*>.
(*>) :: f a -> f b -> f b infixl 4 #
Sequence actions, discarding the value of the first argument.
(<*) :: f a -> f b -> f a infixl 4 #
Sequence actions, discarding the value of the second argument.
Instances
| Applicative [] | Since: base-2.1 |
| Applicative Maybe | Since: base-2.1 |
| Applicative IO | Since: base-2.1 |
| Applicative Par1 | Since: base-4.9.0.0 |
| Applicative Q | |
| Applicative Complex | Since: base-4.9.0.0 |
| Applicative Min | Since: base-4.9.0.0 |
| Applicative Max | Since: base-4.9.0.0 |
| Applicative First | Since: base-4.9.0.0 |
| Applicative Last | Since: base-4.9.0.0 |
| Applicative Option | Since: base-4.9.0.0 |
| Applicative ZipList | f '<$>' 'ZipList' xs1 '<*>' ... '<*>' 'ZipList' xsN
= 'ZipList' (zipWithN f xs1 ... xsN)where (\a b c -> stimes c [a, b]) <$> ZipList "abcd" <*> ZipList "567" <*> ZipList [1..]
= ZipList (zipWith3 (\a b c -> stimes c [a, b]) "abcd" "567" [1..])
= ZipList {getZipList = ["a5","b6b6","c7c7c7"]}Since: base-2.1 |
| Applicative Identity | Since: base-4.8.0.0 |
| Applicative STM | Since: base-4.8.0.0 |
| Applicative First | Since: base-4.8.0.0 |
| Applicative Last | Since: base-4.8.0.0 |
| Applicative Dual | Since: base-4.8.0.0 |
| Applicative Sum | Since: base-4.8.0.0 |
| Applicative Product | Since: base-4.8.0.0 |
| Applicative Down | Since: base-4.11.0.0 |
| Applicative ReadP | Since: base-4.6.0.0 |
| Applicative NonEmpty | Since: base-4.9.0.0 |
| Applicative Tree | |
| Applicative Seq | Since: containers-0.5.4 |
| Applicative P | Since: base-4.5.0.0 |
| Applicative MarkupM | |
| Applicative Vector | |
| Applicative PandocIO | |
| Applicative PandocPure | |
Defined in Text.Pandoc.Class | |
| Applicative Lua | |
| Applicative DList | |
| Applicative Parser | |
| Applicative IResult | |
| Applicative Result | |
| Applicative RGB | |
| Applicative Stream | |
| Applicative CryptoFailable | |
Defined in Crypto.Error.Types Methods pure :: a -> CryptoFailable a # (<*>) :: CryptoFailable (a -> b) -> CryptoFailable a -> CryptoFailable b # liftA2 :: (a -> b -> c) -> CryptoFailable a -> CryptoFailable b -> CryptoFailable c # (*>) :: CryptoFailable a -> CryptoFailable b -> CryptoFailable b # (<*) :: CryptoFailable a -> CryptoFailable b -> CryptoFailable a # | |
| Applicative Array | |
| Applicative SmallArray | |
Defined in Data.Primitive.SmallArray | |
| Applicative Active | |
| Applicative Duration | |
| Applicative Angle | |
| Applicative V2 | |
| Applicative V3 | |
| Applicative Interval | |
| Applicative V4 | |
| Applicative V1 | |
| Applicative Plucker | |
| Applicative Quaternion | |
Defined in Linear.Quaternion | |
| Applicative V0 | |
| Applicative Headed | |
| Applicative Headless | |
| () :=> (Applicative ((->) a :: Type -> Type)) | |
Defined in Data.Constraint Methods ins :: () :- Applicative ((->) a) | |
| () :=> (Applicative []) | |
Defined in Data.Constraint Methods ins :: () :- Applicative [] | |
| () :=> (Applicative Maybe) | |
Defined in Data.Constraint Methods ins :: () :- Applicative Maybe | |
| () :=> (Applicative IO) | |
Defined in Data.Constraint Methods ins :: () :- Applicative IO | |
| () :=> (Applicative (Either a)) | |
Defined in Data.Constraint Methods ins :: () :- Applicative (Either a) | |
| Applicative (Either e) | Since: base-3.0 |
| Applicative (U1 :: Type -> Type) | Since: base-4.9.0.0 |
| Monoid a => Applicative ((,) a) | For tuples, the ("hello ", (+15)) <*> ("world!", 2002)
("hello world!",2017)Since: base-2.1 |
| Monad m => Applicative (WrappedMonad m) | Since: base-2.1 |
Defined in Control.Applicative Methods pure :: a -> WrappedMonad m a # (<*>) :: WrappedMonad m (a -> b) -> WrappedMonad m a -> WrappedMonad m b # liftA2 :: (a -> b -> c) -> WrappedMonad m a -> WrappedMonad m b -> WrappedMonad m c # (*>) :: WrappedMonad m a -> WrappedMonad m b -> WrappedMonad m b # (<*) :: WrappedMonad m a -> WrappedMonad m b -> WrappedMonad m a # | |
| Arrow a => Applicative (ArrowMonad a) | Since: base-4.6.0.0 |
Defined in Control.Arrow Methods pure :: a0 -> ArrowMonad a a0 # (<*>) :: ArrowMonad a (a0 -> b) -> ArrowMonad a a0 -> ArrowMonad a b # liftA2 :: (a0 -> b -> c) -> ArrowMonad a a0 -> ArrowMonad a b -> ArrowMonad a c # (*>) :: ArrowMonad a a0 -> ArrowMonad a b -> ArrowMonad a b # (<*) :: ArrowMonad a a0 -> ArrowMonad a b -> ArrowMonad a a0 # | |
| Applicative (Proxy :: Type -> Type) | Since: base-4.7.0.0 |
| (Functor m, Monad m) => Applicative (MaybeT m) | |
| Applicative m => Applicative (ListT m) | |
| Applicative (Sem f) | |
| Applicative m => Applicative (HtmlT m) | |
| Applicative (Parser i) | |
| Applicative (Measured n) | |
Defined in Diagrams.Core.Measure | |
| Applicative f => Applicative (Point f) | |
| Applicative (ReifiedFold s) | |
Defined in Control.Lens.Reified Methods pure :: a -> ReifiedFold s a # (<*>) :: ReifiedFold s (a -> b) -> ReifiedFold s a -> ReifiedFold s b # liftA2 :: (a -> b -> c) -> ReifiedFold s a -> ReifiedFold s b -> ReifiedFold s c # (*>) :: ReifiedFold s a -> ReifiedFold s b -> ReifiedFold s b # (<*) :: ReifiedFold s a -> ReifiedFold s b -> ReifiedFold s a # | |
| Applicative (ReifiedGetter s) | |
Defined in Control.Lens.Reified Methods pure :: a -> ReifiedGetter s a # (<*>) :: ReifiedGetter s (a -> b) -> ReifiedGetter s a -> ReifiedGetter s b # liftA2 :: (a -> b -> c) -> ReifiedGetter s a -> ReifiedGetter s b -> ReifiedGetter s c # (*>) :: ReifiedGetter s a -> ReifiedGetter s b -> ReifiedGetter s b # (<*) :: ReifiedGetter s a -> ReifiedGetter s b -> ReifiedGetter s a # | |
| Apply f => Applicative (MaybeApply f) | |
Defined in Data.Functor.Bind.Class | |
| Applicative f => Applicative (WrappedApplicative f) | |
Defined in Data.Functor.Bind.Class Methods pure :: a -> WrappedApplicative f a # (<*>) :: WrappedApplicative f (a -> b) -> WrappedApplicative f a -> WrappedApplicative f b # liftA2 :: (a -> b -> c) -> WrappedApplicative f a -> WrappedApplicative f b -> WrappedApplicative f c # (*>) :: WrappedApplicative f a -> WrappedApplicative f b -> WrappedApplicative f b # (<*) :: WrappedApplicative f a -> WrappedApplicative f b -> WrappedApplicative f a # | |
| Representable f => Applicative (Co f) | |
| Alternative f => Applicative (Cofree f) | |
| Functor f => Applicative (Free f) | |
| Applicative f => Applicative (Yoneda f) | |
| Applicative f => Applicative (Indexing f) | |
Defined in Control.Lens.Internal.Indexed | |
| Applicative f => Applicative (Indexing64 f) | |
Defined in Control.Lens.Internal.Indexed | |
| (Applicative (Rep p), Representable p) => Applicative (Prep p) | |
| (Monad m) :=> (Applicative (WrappedMonad m)) | |
Defined in Data.Constraint Methods ins :: Monad m :- Applicative (WrappedMonad m) | |
| (Monoid a) :=> (Applicative ((,) a)) | |
Defined in Data.Constraint Methods ins :: Monoid a :- Applicative ((,) a) | |
| (Monoid a) :=> (Applicative (Const a :: Type -> Type)) | |
Defined in Data.Constraint Methods ins :: Monoid a :- Applicative (Const a) | |
| Class (Functor f) (Applicative f) | |
Defined in Data.Constraint Methods cls :: Applicative f :- Functor f | |
| Class (Applicative f) (Monad f) | |
Defined in Data.Constraint Methods cls :: Monad f :- Applicative f | |
| Class (Applicative f) (Alternative f) | |
Defined in Data.Constraint Methods cls :: Alternative f :- Applicative f | |
| Applicative f => Applicative (Rec1 f) | Since: base-4.9.0.0 |
| Arrow a => Applicative (WrappedArrow a b) | Since: base-2.1 |
Defined in Control.Applicative Methods pure :: a0 -> WrappedArrow a b a0 # (<*>) :: WrappedArrow a b (a0 -> b0) -> WrappedArrow a b a0 -> WrappedArrow a b b0 # liftA2 :: (a0 -> b0 -> c) -> WrappedArrow a b a0 -> WrappedArrow a b b0 -> WrappedArrow a b c # (*>) :: WrappedArrow a b a0 -> WrappedArrow a b b0 -> WrappedArrow a b b0 # (<*) :: WrappedArrow a b a0 -> WrappedArrow a b b0 -> WrappedArrow a b a0 # | |
| Monoid m => Applicative (Const m :: Type -> Type) | Since: base-2.0.1 |
| Applicative f => Applicative (Ap f) | Since: base-4.12.0.0 |
| Applicative f => Applicative (Alt f) | Since: base-4.8.0.0 |
| (Applicative f, Monad f) => Applicative (WhenMissing f x) | Equivalent to Since: containers-0.5.9 |
Defined in Data.IntMap.Internal Methods pure :: a -> WhenMissing f x a # (<*>) :: WhenMissing f x (a -> b) -> WhenMissing f x a -> WhenMissing f x b # liftA2 :: (a -> b -> c) -> WhenMissing f x a -> WhenMissing f x b -> WhenMissing f x c # (*>) :: WhenMissing f x a -> WhenMissing f x b -> WhenMissing f x b # (<*) :: WhenMissing f x a -> WhenMissing f x b -> WhenMissing f x a # | |
| Applicative m => Applicative (IdentityT m) | |
Defined in Control.Monad.Trans.Identity | |
| (Functor m, Monad m) => Applicative (ErrorT e m) | |
Defined in Control.Monad.Trans.Error | |
| (Functor m, Monad m) => Applicative (ExceptT e m) | |
Defined in Control.Monad.Trans.Except | |
| Applicative m => Applicative (ReaderT r m) | |
Defined in Control.Monad.Trans.Reader | |
| (Functor m, Monad m) => Applicative (StateT s m) | |
Defined in Control.Monad.Trans.State.Lazy | |
| (Functor m, Monad m) => Applicative (StateT s m) | |
Defined in Control.Monad.Trans.State.Strict | |
| (Monoid w, Applicative m) => Applicative (WriterT w m) | |
Defined in Control.Monad.Trans.Writer.Lazy | |
| (Monoid w, Applicative m) => Applicative (WriterT w m) | |
Defined in Control.Monad.Trans.Writer.Strict | |
| Applicative f => Applicative (Reverse f) | Derived instance. |
| Applicative f => Applicative (Backwards f) | Apply |
Defined in Control.Applicative.Backwards | |
| Applicative m => Applicative (DiscardLoggingT message m) | |
Defined in Control.Monad.Log Methods pure :: a -> DiscardLoggingT message m a # (<*>) :: DiscardLoggingT message m (a -> b) -> DiscardLoggingT message m a -> DiscardLoggingT message m b # liftA2 :: (a -> b -> c) -> DiscardLoggingT message m a -> DiscardLoggingT message m b -> DiscardLoggingT message m c # (*>) :: DiscardLoggingT message m a -> DiscardLoggingT message m b -> DiscardLoggingT message m b # (<*) :: DiscardLoggingT message m a -> DiscardLoggingT message m b -> DiscardLoggingT message m a # | |
| Applicative m => Applicative (LoggingT message m) | |
Defined in Control.Monad.Log Methods pure :: a -> LoggingT message m a # (<*>) :: LoggingT message m (a -> b) -> LoggingT message m a -> LoggingT message m b # liftA2 :: (a -> b -> c) -> LoggingT message m a -> LoggingT message m b -> LoggingT message m c # (*>) :: LoggingT message m a -> LoggingT message m b -> LoggingT message m b # (<*) :: LoggingT message m a -> LoggingT message m b -> LoggingT message m a # | |
| Monad m => Applicative (PureLoggingT log m) | |
Defined in Control.Monad.Log Methods pure :: a -> PureLoggingT log m a # (<*>) :: PureLoggingT log m (a -> b) -> PureLoggingT log m a -> PureLoggingT log m b # liftA2 :: (a -> b -> c) -> PureLoggingT log m a -> PureLoggingT log m b -> PureLoggingT log m c # (*>) :: PureLoggingT log m a -> PureLoggingT log m b -> PureLoggingT log m b # (<*) :: PureLoggingT log m a -> PureLoggingT log m b -> PureLoggingT log m a # | |
| (Functor f, Monad m) => Applicative (FreeT f m) | |
Defined in Control.Monad.Trans.Free | |
| Biapplicative p => Applicative (Join p) | |
| Applicative (Tagged s) | |
| Applicative (Mag a b) | |
| Applicative (Query v n) | |
| Applicative (Indexed i a) | |
Defined in Control.Lens.Internal.Indexed | |
| Biapplicative p => Applicative (Fix p) | |
| (Alternative f, Applicative w) => Applicative (CofreeT f w) | |
Defined in Control.Comonad.Trans.Cofree | |
| Applicative (Costar f a) | |
Defined in Data.Profunctor.Types | |
| Applicative f => Applicative (Star f a) | |
| Applicative w => Applicative (TracedT m w) | |
Defined in Control.Comonad.Trans.Traced | |
| (Applicative f, Applicative g) => Applicative (Day f g) | |
| Dim n => Applicative (V n) | |
| (Profunctor p, Arrow p) => Applicative (Tambara p a) | |
Defined in Data.Profunctor.Strong | |
| Applicative (Mafic a b) | |
Defined in Control.Lens.Internal.Magma | |
| Applicative (Flows i b) | |
Defined in Control.Lens.Internal.Level | |
| Monoid m => Applicative (Holes t m) | |
| (Functor g, g ~ h) => Applicative (Curried g h) | |
Defined in Data.Functor.Day.Curried | |
| Applicative ((->) a :: Type -> Type) | Since: base-2.1 |
| Monoid c => Applicative (K1 i c :: Type -> Type) | Since: base-4.12.0.0 |
| (Applicative f, Applicative g) => Applicative (f :*: g) | Since: base-4.9.0.0 |
| (Applicative f, Applicative g) => Applicative (Product f g) | Since: base-4.9.0.0 |
Defined in Data.Functor.Product | |
| (Monad f, Applicative f) => Applicative (WhenMatched f x y) | Equivalent to Since: containers-0.5.9 |
Defined in Data.IntMap.Internal Methods pure :: a -> WhenMatched f x y a # (<*>) :: WhenMatched f x y (a -> b) -> WhenMatched f x y a -> WhenMatched f x y b # liftA2 :: (a -> b -> c) -> WhenMatched f x y a -> WhenMatched f x y b -> WhenMatched f x y c # (*>) :: WhenMatched f x y a -> WhenMatched f x y b -> WhenMatched f x y b # (<*) :: WhenMatched f x y a -> WhenMatched f x y b -> WhenMatched f x y a # | |
| (Applicative f, Monad f) => Applicative (WhenMissing f k x) | Equivalent to Since: containers-0.5.9 |
Defined in Data.Map.Internal Methods pure :: a -> WhenMissing f k x a # (<*>) :: WhenMissing f k x (a -> b) -> WhenMissing f k x a -> WhenMissing f k x b # liftA2 :: (a -> b -> c) -> WhenMissing f k x a -> WhenMissing f k x b -> WhenMissing f k x c # (*>) :: WhenMissing f k x a -> WhenMissing f k x b -> WhenMissing f k x b # (<*) :: WhenMissing f k x a -> WhenMissing f k x b -> WhenMissing f k x a # | |
| Applicative (ContT r m) | |
Defined in Control.Monad.Trans.Cont | |
| Applicative (ParsecT s u m) | |
Defined in Text.Parsec.Prim Methods pure :: a -> ParsecT s u m a # (<*>) :: ParsecT s u m (a -> b) -> ParsecT s u m a -> ParsecT s u m b # liftA2 :: (a -> b -> c) -> ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m c # (*>) :: ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m b # (<*) :: ParsecT s u m a -> ParsecT s u m b -> ParsecT s u m a # | |
| Applicative (Bazaar p a b) | |
Defined in Control.Lens.Internal.Bazaar Methods pure :: a0 -> Bazaar p a b a0 # (<*>) :: Bazaar p a b (a0 -> b0) -> Bazaar p a b a0 -> Bazaar p a b b0 # liftA2 :: (a0 -> b0 -> c) -> Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b c # (*>) :: Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b b0 # (<*) :: Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b a0 # | |
| Applicative (Molten i a b) | |
Defined in Control.Lens.Internal.Magma Methods pure :: a0 -> Molten i a b a0 # (<*>) :: Molten i a b (a0 -> b0) -> Molten i a b a0 -> Molten i a b b0 # liftA2 :: (a0 -> b0 -> c) -> Molten i a b a0 -> Molten i a b b0 -> Molten i a b c # (*>) :: Molten i a b a0 -> Molten i a b b0 -> Molten i a b b0 # (<*) :: Molten i a b a0 -> Molten i a b b0 -> Molten i a b a0 # | |
| Applicative f => Applicative (M1 i c f) | Since: base-4.9.0.0 |
| (Applicative f, Applicative g) => Applicative (f :.: g) | Since: base-4.9.0.0 |
| (Applicative f, Applicative g) => Applicative (Compose f g) | Since: base-4.9.0.0 |
Defined in Data.Functor.Compose | |
| (Monad f, Applicative f) => Applicative (WhenMatched f k x y) | Equivalent to Since: containers-0.5.9 |
Defined in Data.Map.Internal Methods pure :: a -> WhenMatched f k x y a # (<*>) :: WhenMatched f k x y (a -> b) -> WhenMatched f k x y a -> WhenMatched f k x y b # liftA2 :: (a -> b -> c) -> WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y c # (*>) :: WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y b # (<*) :: WhenMatched f k x y a -> WhenMatched f k x y b -> WhenMatched f k x y a # | |
| (Monoid w, Functor m, Monad m) => Applicative (RWST r w s m) | |
Defined in Control.Monad.Trans.RWS.Lazy | |
| (Monoid w, Functor m, Monad m) => Applicative (RWST r w s m) | |
Defined in Control.Monad.Trans.RWS.Strict | |
| Reifies s (ReifiedApplicative f) => Applicative (ReflectedApplicative f s) | |
Defined in Data.Reflection Methods pure :: a -> ReflectedApplicative f s a # (<*>) :: ReflectedApplicative f s (a -> b) -> ReflectedApplicative f s a -> ReflectedApplicative f s b # liftA2 :: (a -> b -> c) -> ReflectedApplicative f s a -> ReflectedApplicative f s b -> ReflectedApplicative f s c # (*>) :: ReflectedApplicative f s a -> ReflectedApplicative f s b -> ReflectedApplicative f s b # (<*) :: ReflectedApplicative f s a -> ReflectedApplicative f s b -> ReflectedApplicative f s a # | |
| Applicative (TakingWhile p f a b) | |
Defined in Control.Lens.Internal.Magma Methods pure :: a0 -> TakingWhile p f a b a0 # (<*>) :: TakingWhile p f a b (a0 -> b0) -> TakingWhile p f a b a0 -> TakingWhile p f a b b0 # liftA2 :: (a0 -> b0 -> c) -> TakingWhile p f a b a0 -> TakingWhile p f a b b0 -> TakingWhile p f a b c # (*>) :: TakingWhile p f a b a0 -> TakingWhile p f a b b0 -> TakingWhile p f a b b0 # (<*) :: TakingWhile p f a b a0 -> TakingWhile p f a b b0 -> TakingWhile p f a b a0 # | |
| Applicative (BazaarT p g a b) | |
Defined in Control.Lens.Internal.Bazaar Methods pure :: a0 -> BazaarT p g a b a0 # (<*>) :: BazaarT p g a b (a0 -> b0) -> BazaarT p g a b a0 -> BazaarT p g a b b0 # liftA2 :: (a0 -> b0 -> c) -> BazaarT p g a b a0 -> BazaarT p g a b b0 -> BazaarT p g a b c # (*>) :: BazaarT p g a b a0 -> BazaarT p g a b b0 -> BazaarT p g a b b0 # (<*) :: BazaarT p g a b a0 -> BazaarT p g a b b0 -> BazaarT p g a b a0 # | |
| Monad state => Applicative (Builder collection mutCollection step state err) | |
Defined in Basement.MutableBuilder Methods pure :: a -> Builder collection mutCollection step state err a # (<*>) :: Builder collection mutCollection step state err (a -> b) -> Builder collection mutCollection step state err a -> Builder collection mutCollection step state err b # liftA2 :: (a -> b -> c) -> Builder collection mutCollection step state err a -> Builder collection mutCollection step state err b -> Builder collection mutCollection step state err c # (*>) :: Builder collection mutCollection step state err a -> Builder collection mutCollection step state err b -> Builder collection mutCollection step state err b # (<*) :: Builder collection mutCollection step state err a -> Builder collection mutCollection step state err b -> Builder collection mutCollection step state err a # | |
class (Functor t, Foldable t) => Traversable (t :: Type -> Type) where #
Functors representing data structures that can be traversed from left to right.
A definition of traverse must satisfy the following laws:
- naturality
t .for every applicative transformationtraversef =traverse(t . f)t- identity
traverseIdentity = Identity- composition
traverse(Compose .fmapg . f) = Compose .fmap(traverseg) .traversef
A definition of sequenceA must satisfy the following laws:
- naturality
t .for every applicative transformationsequenceA=sequenceA.fmaptt- identity
sequenceA.fmapIdentity = Identity- composition
sequenceA.fmapCompose = Compose .fmapsequenceA.sequenceA
where an applicative transformation is a function
t :: (Applicative f, Applicative g) => f a -> g a
preserving the Applicative operations, i.e.
and the identity functor Identity and composition of functors Compose
are defined as
newtype Identity a = Identity a
instance Functor Identity where
fmap f (Identity x) = Identity (f x)
instance Applicative Identity where
pure x = Identity x
Identity f <*> Identity x = Identity (f x)
newtype Compose f g a = Compose (f (g a))
instance (Functor f, Functor g) => Functor (Compose f g) where
fmap f (Compose x) = Compose (fmap (fmap f) x)
instance (Applicative f, Applicative g) => Applicative (Compose f g) where
pure x = Compose (pure (pure x))
Compose f <*> Compose x = Compose ((<*>) <$> f <*> x)(The naturality law is implied by parametricity.)
Instances are similar to Functor, e.g. given a data type
data Tree a = Empty | Leaf a | Node (Tree a) a (Tree a)
a suitable instance would be
instance Traversable Tree where traverse f Empty = pure Empty traverse f (Leaf x) = Leaf <$> f x traverse f (Node l k r) = Node <$> traverse f l <*> f k <*> traverse f r
This is suitable even for abstract types, as the laws for <*>
imply a form of associativity.
The superclass instances should satisfy the following:
- In the
Functorinstance,fmapshould be equivalent to traversal with the identity applicative functor (fmapDefault). - In the
Foldableinstance,foldMapshould be equivalent to traversal with a constant applicative functor (foldMapDefault).
Methods
traverse :: Applicative f => (a -> f b) -> t a -> f (t b) #
Map each element of a structure to an action, evaluate these actions
from left to right, and collect the results. For a version that ignores
the results see traverse_.
Instances
| Traversable [] | Since: base-2.1 |
Defined in Data.Traversable | |
| Traversable Maybe | Since: base-2.1 |
| Traversable Par1 | Since: base-4.9.0.0 |
| Traversable Complex | Since: base-4.9.0.0 |
| Traversable Min | Since: base-4.9.0.0 |
| Traversable Max | Since: base-4.9.0.0 |
| Traversable First | Since: base-4.9.0.0 |
| Traversable Last | Since: base-4.9.0.0 |
| Traversable Option | Since: base-4.9.0.0 |
| Traversable ZipList | Since: base-4.9.0.0 |
| Traversable Identity | Since: base-4.9.0.0 |
| Traversable First | Since: base-4.8.0.0 |
| Traversable Last | Since: base-4.8.0.0 |
| Traversable Dual | Since: base-4.8.0.0 |
| Traversable Sum | Since: base-4.8.0.0 |
| Traversable Product | Since: base-4.8.0.0 |
| Traversable Down | Since: base-4.12.0.0 |
| Traversable NonEmpty | Since: base-4.9.0.0 |
| Traversable IntMap | |
| Traversable Tree | |
| Traversable Seq | |
| Traversable FingerTree | |
Defined in Data.Sequence.Internal Methods traverse :: Applicative f => (a -> f b) -> FingerTree a -> f (FingerTree b) # sequenceA :: Applicative f => FingerTree (f a) -> f (FingerTree a) # mapM :: Monad m => (a -> m b) -> FingerTree a -> m (FingerTree b) # sequence :: Monad m => FingerTree (m a) -> m (FingerTree a) # | |
| Traversable Digit | |
| Traversable Node | |
| Traversable Elem | |
| Traversable ViewL | |
| Traversable ViewR | |
| Traversable WithCallStack | |
Defined in Control.Monad.Log Methods traverse :: Applicative f => (a -> f b) -> WithCallStack a -> f (WithCallStack b) # sequenceA :: Applicative f => WithCallStack (f a) -> f (WithCallStack a) # mapM :: Monad m => (a -> m b) -> WithCallStack a -> m (WithCallStack b) # sequence :: Monad m => WithCallStack (m a) -> m (WithCallStack a) # | |
| Traversable WithSeverity | |
Defined in Control.Monad.Log | |
| Traversable WithTimestamp | |
Defined in Control.Monad.Log Methods traverse :: Applicative f => (a -> f b) -> WithTimestamp a -> f (WithTimestamp b) # sequenceA :: Applicative f => WithTimestamp (f a) -> f (WithTimestamp a) # mapM :: Monad m => (a -> m b) -> WithTimestamp a -> m (WithTimestamp b) # sequence :: Monad m => WithTimestamp (m a) -> m (WithTimestamp a) # | |
| Traversable SimpleDocStream | |
Defined in Data.Text.Prettyprint.Doc.Internal Methods traverse :: Applicative f => (a -> f b) -> SimpleDocStream a -> f (SimpleDocStream b) # sequenceA :: Applicative f => SimpleDocStream (f a) -> f (SimpleDocStream a) # mapM :: Monad m => (a -> m b) -> SimpleDocStream a -> m (SimpleDocStream b) # sequence :: Monad m => SimpleDocStream (m a) -> m (SimpleDocStream a) # | |
| Traversable Vector | |
Defined in Data.Vector | |
| Traversable Response | |
Defined in Network.HTTP.Client.Types | |
| Traversable Many | |
Defined in Text.Pandoc.Builder | |
| Traversable IResult | |
Defined in Data.Aeson.Types.Internal | |
| Traversable Result | |
Defined in Data.Aeson.Types.Internal | |
| Traversable HistoriedResponse | |
Defined in Network.HTTP.Client Methods traverse :: Applicative f => (a -> f b) -> HistoriedResponse a -> f (HistoriedResponse b) # sequenceA :: Applicative f => HistoriedResponse (f a) -> f (HistoriedResponse a) # mapM :: Monad m => (a -> m b) -> HistoriedResponse a -> m (HistoriedResponse b) # sequence :: Monad m => HistoriedResponse (m a) -> m (HistoriedResponse a) # | |
| Traversable Array | |
Defined in Data.Primitive.Array | |
| Traversable SmallArray | |
Defined in Data.Primitive.SmallArray | |
| Traversable V2 | |
| Traversable V3 | |
| Traversable Interval | |
Defined in Numeric.Interval.Kaucher | |
| Traversable V4 | |
| Traversable Recommend | |
Defined in Data.Monoid.Recommend | |
| Traversable V1 | |
| Traversable Plucker | |
Defined in Linear.Plucker | |
| Traversable Quaternion | |
Defined in Linear.Quaternion | |
| Traversable V0 | |
| Traversable (Either a) | Since: base-4.7.0.0 |
Defined in Data.Traversable | |
| Traversable (V1 :: Type -> Type) | Since: base-4.9.0.0 |
| Traversable (U1 :: Type -> Type) | Since: base-4.9.0.0 |
| Traversable ((,) a) | Since: base-4.7.0.0 |
Defined in Data.Traversable | |
| Ix i => Traversable (Array i) | Since: base-2.1 |
| Traversable (Arg a) | Since: base-4.9.0.0 |
| Traversable (Proxy :: Type -> Type) | Since: base-4.7.0.0 |
| Traversable (Map k) | |
| Traversable f => Traversable (MaybeT f) | |
Defined in Control.Monad.Trans.Maybe | |
| Traversable f => Traversable (ListT f) | |
| Traversable (DocWithInfo i) Source # | |
Defined in Knit.Effect.Docs Methods traverse :: Applicative f => (a -> f b) -> DocWithInfo i a -> f (DocWithInfo i b) # sequenceA :: Applicative f => DocWithInfo i (f a) -> f (DocWithInfo i a) # mapM :: Monad m => (a -> m b) -> DocWithInfo i a -> m (DocWithInfo i b) # sequence :: Monad m => DocWithInfo i (m a) -> m (DocWithInfo i a) # | |
| Traversable (HashMap k) | |
Defined in Data.HashMap.Base | |
| Traversable f => Traversable (Point f) | |
| Traversable (Level i) | |
| Traversable f => Traversable (Cofree f) | |
Defined in Control.Comonad.Cofree | |
| Traversable f => Traversable (Free f) | |
Defined in Control.Monad.Free | |
| Traversable f => Traversable (Yoneda f) | |
Defined in Data.Functor.Yoneda | |
| Traversable f => Traversable (Rec1 f) | Since: base-4.9.0.0 |
| Traversable (URec Char :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| Traversable (URec Double :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| Traversable (URec Float :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| Traversable (URec Int :: Type -> Type) | Since: base-4.9.0.0 |
| Traversable (URec Word :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| Traversable (URec (Ptr ()) :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Traversable Methods traverse :: Applicative f => (a -> f b) -> URec (Ptr ()) a -> f (URec (Ptr ()) b) # sequenceA :: Applicative f => URec (Ptr ()) (f a) -> f (URec (Ptr ()) a) # mapM :: Monad m => (a -> m b) -> URec (Ptr ()) a -> m (URec (Ptr ()) b) # sequence :: Monad m => URec (Ptr ()) (m a) -> m (URec (Ptr ()) a) # | |
| Traversable (Const m :: Type -> Type) | Since: base-4.7.0.0 |
| Traversable f => Traversable (Ap f) | Since: base-4.12.0.0 |
| Traversable f => Traversable (Alt f) | Since: base-4.12.0.0 |
| Traversable f => Traversable (IdentityT f) | |
Defined in Control.Monad.Trans.Identity | |
| Traversable f => Traversable (ErrorT e f) | |
Defined in Control.Monad.Trans.Error | |
| Traversable f => Traversable (ExceptT e f) | |
Defined in Control.Monad.Trans.Except | |
| Traversable f => Traversable (WriterT w f) | |
Defined in Control.Monad.Trans.Writer.Lazy | |
| Traversable f => Traversable (WriterT w f) | |
Defined in Control.Monad.Trans.Writer.Strict | |
| Traversable f => Traversable (Reverse f) | Traverse from right to left. |
Defined in Data.Functor.Reverse | |
| Traversable f => Traversable (Backwards f) | Derived instance. |
Defined in Control.Applicative.Backwards | |
| (Monad m, Traversable m, Traversable f) => Traversable (FreeT f m) | |
Defined in Control.Monad.Trans.Free | |
| Traversable f => Traversable (FreeF f a) | |
Defined in Control.Monad.Trans.Free | |
| Bitraversable p => Traversable (Join p) | |
Defined in Data.Bifunctor.Join | |
| Traversable (Tagged s) | |
Defined in Data.Tagged | |
| Bitraversable p => Traversable (Fix p) | |
Defined in Data.Bifunctor.Fix | |
| (Traversable f, Traversable w) => Traversable (CofreeT f w) | |
Defined in Control.Comonad.Trans.Cofree | |
| Traversable f => Traversable (CofreeF f a) | |
Defined in Control.Comonad.Trans.Cofree Methods traverse :: Applicative f0 => (a0 -> f0 b) -> CofreeF f a a0 -> f0 (CofreeF f a b) # sequenceA :: Applicative f0 => CofreeF f a (f0 a0) -> f0 (CofreeF f a a0) # mapM :: Monad m => (a0 -> m b) -> CofreeF f a a0 -> m (CofreeF f a b) # sequence :: Monad m => CofreeF f a (m a0) -> m (CofreeF f a a0) # | |
| Traversable (Forget r a) | |
Defined in Data.Profunctor.Types | |
| Traversable (V n) | |
| Traversable f => Traversable (AlongsideLeft f b) | |
Defined in Control.Lens.Internal.Getter Methods traverse :: Applicative f0 => (a -> f0 b0) -> AlongsideLeft f b a -> f0 (AlongsideLeft f b b0) # sequenceA :: Applicative f0 => AlongsideLeft f b (f0 a) -> f0 (AlongsideLeft f b a) # mapM :: Monad m => (a -> m b0) -> AlongsideLeft f b a -> m (AlongsideLeft f b b0) # sequence :: Monad m => AlongsideLeft f b (m a) -> m (AlongsideLeft f b a) # | |
| Traversable f => Traversable (AlongsideRight f a) | |
Defined in Control.Lens.Internal.Getter Methods traverse :: Applicative f0 => (a0 -> f0 b) -> AlongsideRight f a a0 -> f0 (AlongsideRight f a b) # sequenceA :: Applicative f0 => AlongsideRight f a (f0 a0) -> f0 (AlongsideRight f a a0) # mapM :: Monad m => (a0 -> m b) -> AlongsideRight f a a0 -> m (AlongsideRight f a b) # sequence :: Monad m => AlongsideRight f a (m a0) -> m (AlongsideRight f a a0) # | |
| Traversable (K1 i c :: Type -> Type) | Since: base-4.9.0.0 |
| (Traversable f, Traversable g) => Traversable (f :+: g) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| (Traversable f, Traversable g) => Traversable (f :*: g) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| (Traversable f, Traversable g) => Traversable (Product f g) | Since: base-4.9.0.0 |
Defined in Data.Functor.Product | |
| Traversable (Magma i t b) | |
Defined in Control.Lens.Internal.Magma | |
| Traversable f => Traversable (M1 i c f) | Since: base-4.9.0.0 |
| (Traversable f, Traversable g) => Traversable (f :.: g) | Since: base-4.9.0.0 |
Defined in Data.Traversable | |
| (Traversable f, Traversable g) => Traversable (Compose f g) | Since: base-4.9.0.0 |
Defined in Data.Functor.Compose | |
| Traversable (Clown f a :: Type -> Type) | |
Defined in Data.Bifunctor.Clown | |
| Bitraversable p => Traversable (Flip p a) | |
Defined in Data.Bifunctor.Flip | |
| Traversable g => Traversable (Joker g a) | |
Defined in Data.Bifunctor.Joker | |
| Bitraversable p => Traversable (WrappedBifunctor p a) | |
Defined in Data.Bifunctor.Wrapped Methods traverse :: Applicative f => (a0 -> f b) -> WrappedBifunctor p a a0 -> f (WrappedBifunctor p a b) # sequenceA :: Applicative f => WrappedBifunctor p a (f a0) -> f (WrappedBifunctor p a a0) # mapM :: Monad m => (a0 -> m b) -> WrappedBifunctor p a a0 -> m (WrappedBifunctor p a b) # sequence :: Monad m => WrappedBifunctor p a (m a0) -> m (WrappedBifunctor p a a0) # | |
| (Traversable f, Bitraversable p) => Traversable (Tannen f p a) | |
Defined in Data.Bifunctor.Tannen Methods traverse :: Applicative f0 => (a0 -> f0 b) -> Tannen f p a a0 -> f0 (Tannen f p a b) # sequenceA :: Applicative f0 => Tannen f p a (f0 a0) -> f0 (Tannen f p a a0) # mapM :: Monad m => (a0 -> m b) -> Tannen f p a a0 -> m (Tannen f p a b) # sequence :: Monad m => Tannen f p a (m a0) -> m (Tannen f p a a0) # | |
| (Bitraversable p, Traversable g) => Traversable (Biff p f g a) | |
Defined in Data.Bifunctor.Biff Methods traverse :: Applicative f0 => (a0 -> f0 b) -> Biff p f g a a0 -> f0 (Biff p f g a b) # sequenceA :: Applicative f0 => Biff p f g a (f0 a0) -> f0 (Biff p f g a a0) # mapM :: Monad m => (a0 -> m b) -> Biff p f g a a0 -> m (Biff p f g a b) # sequence :: Monad m => Biff p f g a (m a0) -> m (Biff p f g a a0) # | |
The class of semigroups (types with an associative binary operation).
Instances should satisfy the associativity law:
Since: base-4.9.0.0
Minimal complete definition
Methods
(<>) :: a -> a -> a infixr 6 #
An associative operation.
Reduce a non-empty list with <>
The default definition should be sufficient, but this can be overridden for efficiency.
stimes :: Integral b => b -> a -> a #
Repeat a value n times.
Given that this works on a Semigroup it is allowed to fail if
you request 0 or fewer repetitions, and the default definition
will do so.
By making this a member of the class, idempotent semigroups
and monoids can upgrade this to execute in O(1) by
picking stimes = or stimesIdempotentstimes =
respectively.stimesIdempotentMonoid
Instances
class Contravariant (f :: Type -> Type) where #
The class of contravariant functors.
Whereas in Haskell, one can think of a Functor as containing or producing
values, a contravariant functor is a functor that can be thought of as
consuming values.
As an example, consider the type of predicate functions a -> Bool. One
such predicate might be negative x = x < 0, which
classifies integers as to whether they are negative. However, given this
predicate, we can re-use it in other situations, providing we have a way to
map values to integers. For instance, we can use the negative predicate
on a person's bank balance to work out if they are currently overdrawn:
newtype Predicate a = Predicate { getPredicate :: a -> Bool }
instance Contravariant Predicate where
contramap f (Predicate p) = Predicate (p . f)
| `- First, map the input...
`----- then apply the predicate.
overdrawn :: Predicate Person
overdrawn = contramap personBankBalance negative
Any instance should be subject to the following laws:
contramap id = id contramap f . contramap g = contramap (g . f)
Note, that the second law follows from the free theorem of the type of
contramap and the first law, so you need only check that the former
condition holds.
Minimal complete definition
Instances
mtimesDefault :: (Integral b, Monoid a) => b -> a -> a #
Instances
| Monad Min | Since: base-4.9.0.0 |
| Functor Min | Since: base-4.9.0.0 |
| MonadFix Min | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Applicative Min | Since: base-4.9.0.0 |
| Foldable Min | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => Min m -> m # foldMap :: Monoid m => (a -> m) -> Min a -> m # foldr :: (a -> b -> b) -> b -> Min a -> b # foldr' :: (a -> b -> b) -> b -> Min a -> b # foldl :: (b -> a -> b) -> b -> Min a -> b # foldl' :: (b -> a -> b) -> b -> Min a -> b # foldr1 :: (a -> a -> a) -> Min a -> a # foldl1 :: (a -> a -> a) -> Min a -> a # elem :: Eq a => a -> Min a -> Bool # maximum :: Ord a => Min a -> a # | |
| Traversable Min | Since: base-4.9.0.0 |
| Apply Min | |
| Bind Min | |
| ToJSON1 Min | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> Min a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [Min a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> Min a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [Min a] -> Encoding | |
| Traversable1 Min | |
| Bounded a => Bounded (Min a) | Since: base-4.9.0.0 |
| Enum a => Enum (Min a) | Since: base-4.9.0.0 |
| Eq a => Eq (Min a) | Since: base-4.9.0.0 |
| Data a => Data (Min a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Min a -> c (Min a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Min a) # dataTypeOf :: Min a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Min a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Min a)) # gmapT :: (forall b. Data b => b -> b) -> Min a -> Min a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Min a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Min a -> r # gmapQ :: (forall d. Data d => d -> u) -> Min a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Min a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Min a -> m (Min a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Min a -> m (Min a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Min a -> m (Min a) # | |
| Num a => Num (Min a) | Since: base-4.9.0.0 |
| Ord a => Ord (Min a) | Since: base-4.9.0.0 |
| Read a => Read (Min a) | Since: base-4.9.0.0 |
| Show a => Show (Min a) | Since: base-4.9.0.0 |
| Generic (Min a) | |
| Ord a => Semigroup (Min a) | Since: base-4.9.0.0 |
| (Ord a, Bounded a) => Monoid (Min a) | Since: base-4.9.0.0 |
| ToJSON a => ToJSON (Min a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Min a -> Encoding toJSONList :: [Min a] -> Value toEncodingList :: [Min a] -> Encoding | |
| Wrapped (Min a) | |
| Newtype (Min a) | |
| Generic1 Min | |
| t ~ Min b => Rewrapped (Min a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep (Min a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| type Unwrapped (Min a) | |
Defined in Control.Lens.Wrapped | |
| type O (Min a) | |
Defined in Control.Newtype.Generics type O (Min a) = a | |
| type Rep1 Min | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
Instances
| Monad Max | Since: base-4.9.0.0 |
| Functor Max | Since: base-4.9.0.0 |
| MonadFix Max | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Applicative Max | Since: base-4.9.0.0 |
| Foldable Max | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => Max m -> m # foldMap :: Monoid m => (a -> m) -> Max a -> m # foldr :: (a -> b -> b) -> b -> Max a -> b # foldr' :: (a -> b -> b) -> b -> Max a -> b # foldl :: (b -> a -> b) -> b -> Max a -> b # foldl' :: (b -> a -> b) -> b -> Max a -> b # foldr1 :: (a -> a -> a) -> Max a -> a # foldl1 :: (a -> a -> a) -> Max a -> a # elem :: Eq a => a -> Max a -> Bool # maximum :: Ord a => Max a -> a # | |
| Traversable Max | Since: base-4.9.0.0 |
| Apply Max | |
| Bind Max | |
| ToJSON1 Max | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> Max a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [Max a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> Max a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [Max a] -> Encoding | |
| Traversable1 Max | |
| Bounded a => Bounded (Max a) | Since: base-4.9.0.0 |
| Enum a => Enum (Max a) | Since: base-4.9.0.0 |
| Eq a => Eq (Max a) | Since: base-4.9.0.0 |
| Data a => Data (Max a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Max a -> c (Max a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Max a) # dataTypeOf :: Max a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Max a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Max a)) # gmapT :: (forall b. Data b => b -> b) -> Max a -> Max a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Max a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Max a -> r # gmapQ :: (forall d. Data d => d -> u) -> Max a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Max a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Max a -> m (Max a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Max a -> m (Max a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Max a -> m (Max a) # | |
| Num a => Num (Max a) | Since: base-4.9.0.0 |
| Ord a => Ord (Max a) | Since: base-4.9.0.0 |
| Read a => Read (Max a) | Since: base-4.9.0.0 |
| Show a => Show (Max a) | Since: base-4.9.0.0 |
| Generic (Max a) | |
| Ord a => Semigroup (Max a) | Since: base-4.9.0.0 |
| (Ord a, Bounded a) => Monoid (Max a) | Since: base-4.9.0.0 |
| ToJSON a => ToJSON (Max a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Max a -> Encoding toJSONList :: [Max a] -> Value toEncodingList :: [Max a] -> Encoding | |
| Wrapped (Max a) | |
| Newtype (Max a) | |
| Generic1 Max | |
| t ~ Max b => Rewrapped (Max a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep (Max a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| type Unwrapped (Max a) | |
Defined in Control.Lens.Wrapped | |
| type O (Max a) | |
Defined in Control.Newtype.Generics type O (Max a) = a | |
| type Rep1 Max | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
Arg isn't itself a Semigroup in its own right, but it can be
placed inside Min and Max to compute an arg min or arg max.
Constructors
| Arg a b |
Instances
| Bitraversable Arg | Since: base-4.10.0.0 |
Defined in Data.Semigroup Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Arg a b -> f (Arg c d) # | |
| Bifoldable Arg | Since: base-4.10.0.0 |
| Bifunctor Arg | Since: base-4.9.0.0 |
| Biapplicative Arg | |
| Biapply Arg | |
| Bitraversable1 Arg | |
Defined in Data.Semigroup.Traversable.Class Methods bitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Arg a c -> f (Arg b d) bisequence1 :: Apply f => Arg (f a) (f b) -> f (Arg a b) | |
| Functor (Arg a) | Since: base-4.9.0.0 |
| Foldable (Arg a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => Arg a m -> m # foldMap :: Monoid m => (a0 -> m) -> Arg a a0 -> m # foldr :: (a0 -> b -> b) -> b -> Arg a a0 -> b # foldr' :: (a0 -> b -> b) -> b -> Arg a a0 -> b # foldl :: (b -> a0 -> b) -> b -> Arg a a0 -> b # foldl' :: (b -> a0 -> b) -> b -> Arg a a0 -> b # foldr1 :: (a0 -> a0 -> a0) -> Arg a a0 -> a0 # foldl1 :: (a0 -> a0 -> a0) -> Arg a a0 -> a0 # elem :: Eq a0 => a0 -> Arg a a0 -> Bool # maximum :: Ord a0 => Arg a a0 -> a0 # minimum :: Ord a0 => Arg a a0 -> a0 # | |
| Traversable (Arg a) | Since: base-4.9.0.0 |
| Generic1 (Arg a :: Type -> Type) | |
| Eq a => Eq (Arg a b) | Since: base-4.9.0.0 |
| (Data a, Data b) => Data (Arg a b) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b0. Data d => c (d -> b0) -> d -> c b0) -> (forall g. g -> c g) -> Arg a b -> c (Arg a b) # gunfold :: (forall b0 r. Data b0 => c (b0 -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Arg a b) # toConstr :: Arg a b -> Constr # dataTypeOf :: Arg a b -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Arg a b)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Arg a b)) # gmapT :: (forall b0. Data b0 => b0 -> b0) -> Arg a b -> Arg a b # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Arg a b -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Arg a b -> r # gmapQ :: (forall d. Data d => d -> u) -> Arg a b -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Arg a b -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Arg a b -> m (Arg a b) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Arg a b -> m (Arg a b) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Arg a b -> m (Arg a b) # | |
| Ord a => Ord (Arg a b) | Since: base-4.9.0.0 |
| (Read a, Read b) => Read (Arg a b) | Since: base-4.9.0.0 |
| (Show a, Show b) => Show (Arg a b) | Since: base-4.9.0.0 |
| Generic (Arg a b) | |
| type Rep1 (Arg a :: Type -> Type) | Since: base-4.9.0.0 |
Defined in Data.Semigroup type Rep1 (Arg a :: Type -> Type) = D1 (MetaData "Arg" "Data.Semigroup" "base" False) (C1 (MetaCons "Arg" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) Par1)) | |
| type Rep (Arg a b) | Since: base-4.9.0.0 |
Defined in Data.Semigroup type Rep (Arg a b) = D1 (MetaData "Arg" "Data.Semigroup" "base" False) (C1 (MetaCons "Arg" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 a) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 b))) | |
Use to get the behavior of
Option (First a)First from Data.Monoid.
Instances
| Monad First | Since: base-4.9.0.0 |
| Functor First | Since: base-4.9.0.0 |
| MonadFix First | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Applicative First | Since: base-4.9.0.0 |
| Foldable First | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => First m -> m # foldMap :: Monoid m => (a -> m) -> First a -> m # foldr :: (a -> b -> b) -> b -> First a -> b # foldr' :: (a -> b -> b) -> b -> First a -> b # foldl :: (b -> a -> b) -> b -> First a -> b # foldl' :: (b -> a -> b) -> b -> First a -> b # foldr1 :: (a -> a -> a) -> First a -> a # foldl1 :: (a -> a -> a) -> First a -> a # elem :: Eq a => a -> First a -> Bool # maximum :: Ord a => First a -> a # minimum :: Ord a => First a -> a # | |
| Traversable First | Since: base-4.9.0.0 |
| Apply First | |
| Bind First | |
| ToJSON1 First | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> First a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [First a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> First a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [First a] -> Encoding | |
| Traversable1 First | |
| Bounded a => Bounded (First a) | Since: base-4.9.0.0 |
| Enum a => Enum (First a) | Since: base-4.9.0.0 |
| Eq a => Eq (First a) | Since: base-4.9.0.0 |
| Data a => Data (First a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> First a -> c (First a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (First a) # toConstr :: First a -> Constr # dataTypeOf :: First a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (First a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (First a)) # gmapT :: (forall b. Data b => b -> b) -> First a -> First a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> First a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> First a -> r # gmapQ :: (forall d. Data d => d -> u) -> First a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> First a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> First a -> m (First a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> First a -> m (First a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> First a -> m (First a) # | |
| Ord a => Ord (First a) | Since: base-4.9.0.0 |
| Read a => Read (First a) | Since: base-4.9.0.0 |
| Show a => Show (First a) | Since: base-4.9.0.0 |
| Generic (First a) | |
| Semigroup (First a) | Since: base-4.9.0.0 |
| ToJSON a => ToJSON (First a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: First a -> Encoding toJSONList :: [First a] -> Value toEncodingList :: [First a] -> Encoding | |
| Wrapped (First a) | |
| Newtype (First a) | |
| Generic1 First | |
| t ~ First b => Rewrapped (First a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep (First a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| type Unwrapped (First a) | |
Defined in Control.Lens.Wrapped | |
| type O (First a) | |
Defined in Control.Newtype.Generics type O (First a) = a | |
| type Rep1 First | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
Use to get the behavior of
Option (Last a)Last from Data.Monoid
Instances
| Monad Last | Since: base-4.9.0.0 |
| Functor Last | Since: base-4.9.0.0 |
| MonadFix Last | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Applicative Last | Since: base-4.9.0.0 |
| Foldable Last | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => Last m -> m # foldMap :: Monoid m => (a -> m) -> Last a -> m # foldr :: (a -> b -> b) -> b -> Last a -> b # foldr' :: (a -> b -> b) -> b -> Last a -> b # foldl :: (b -> a -> b) -> b -> Last a -> b # foldl' :: (b -> a -> b) -> b -> Last a -> b # foldr1 :: (a -> a -> a) -> Last a -> a # foldl1 :: (a -> a -> a) -> Last a -> a # elem :: Eq a => a -> Last a -> Bool # maximum :: Ord a => Last a -> a # | |
| Traversable Last | Since: base-4.9.0.0 |
| Apply Last | |
| Bind Last | |
| ToJSON1 Last | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> Last a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [Last a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> Last a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [Last a] -> Encoding | |
| Traversable1 Last | |
| Bounded a => Bounded (Last a) | Since: base-4.9.0.0 |
| Enum a => Enum (Last a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Eq a => Eq (Last a) | Since: base-4.9.0.0 |
| Data a => Data (Last a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Last a -> c (Last a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Last a) # toConstr :: Last a -> Constr # dataTypeOf :: Last a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Last a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Last a)) # gmapT :: (forall b. Data b => b -> b) -> Last a -> Last a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Last a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Last a -> r # gmapQ :: (forall d. Data d => d -> u) -> Last a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Last a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Last a -> m (Last a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Last a -> m (Last a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Last a -> m (Last a) # | |
| Ord a => Ord (Last a) | Since: base-4.9.0.0 |
| Read a => Read (Last a) | Since: base-4.9.0.0 |
| Show a => Show (Last a) | Since: base-4.9.0.0 |
| Generic (Last a) | |
| Semigroup (Last a) | Since: base-4.9.0.0 |
| ToJSON a => ToJSON (Last a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Last a -> Encoding toJSONList :: [Last a] -> Value toEncodingList :: [Last a] -> Encoding | |
| Wrapped (Last a) | |
| Newtype (Last a) | |
| Generic1 Last | |
| t ~ Last b => Rewrapped (Last a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep (Last a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| type Unwrapped (Last a) | |
Defined in Control.Lens.Wrapped | |
| type O (Last a) | |
Defined in Control.Newtype.Generics type O (Last a) = a | |
| type Rep1 Last | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
newtype WrappedMonoid m #
Provide a Semigroup for an arbitrary Monoid.
NOTE: This is not needed anymore since Semigroup became a superclass of
Monoid in base-4.11 and this newtype be deprecated at some point in the future.
Constructors
| WrapMonoid | |
Fields
| |
Instances
Option is effectively Maybe with a better instance of
Monoid, built off of an underlying Semigroup instead of an
underlying Monoid.
Ideally, this type would not exist at all and we would just fix the
Monoid instance of Maybe.
In GHC 8.4 and higher, the Monoid instance for Maybe has been
corrected to lift a Semigroup instance instead of a Monoid
instance. Consequently, this type is no longer useful. It will be
marked deprecated in GHC 8.8 and removed in GHC 8.10.
Instances
| Monad Option | Since: base-4.9.0.0 |
| Functor Option | Since: base-4.9.0.0 |
| MonadFix Option | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Applicative Option | Since: base-4.9.0.0 |
| Foldable Option | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods fold :: Monoid m => Option m -> m # foldMap :: Monoid m => (a -> m) -> Option a -> m # foldr :: (a -> b -> b) -> b -> Option a -> b # foldr' :: (a -> b -> b) -> b -> Option a -> b # foldl :: (b -> a -> b) -> b -> Option a -> b # foldl' :: (b -> a -> b) -> b -> Option a -> b # foldr1 :: (a -> a -> a) -> Option a -> a # foldl1 :: (a -> a -> a) -> Option a -> a # elem :: Eq a => a -> Option a -> Bool # maximum :: Ord a => Option a -> a # minimum :: Ord a => Option a -> a # | |
| Traversable Option | Since: base-4.9.0.0 |
| Alternative Option | Since: base-4.9.0.0 |
| MonadPlus Option | Since: base-4.9.0.0 |
| Apply Option | |
| Bind Option | |
| ToJSON1 Option | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> Option a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [Option a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> Option a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [Option a] -> Encoding | |
| Eq a => Eq (Option a) | Since: base-4.9.0.0 |
| Data a => Data (Option a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Option a -> c (Option a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Option a) # toConstr :: Option a -> Constr # dataTypeOf :: Option a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Option a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Option a)) # gmapT :: (forall b. Data b => b -> b) -> Option a -> Option a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Option a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Option a -> r # gmapQ :: (forall d. Data d => d -> u) -> Option a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Option a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Option a -> m (Option a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Option a -> m (Option a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Option a -> m (Option a) # | |
| Ord a => Ord (Option a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| Read a => Read (Option a) | Since: base-4.9.0.0 |
| Show a => Show (Option a) | Since: base-4.9.0.0 |
| Generic (Option a) | |
| Semigroup a => Semigroup (Option a) | Since: base-4.9.0.0 |
| Semigroup a => Monoid (Option a) | Since: base-4.9.0.0 |
| ToJSON a => ToJSON (Option a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Option a -> Encoding toJSONList :: [Option a] -> Value toEncodingList :: [Option a] -> Encoding | |
| Wrapped (Option a) | |
| Newtype (Option a) | |
| Generic1 Option | |
| t ~ Option b => Rewrapped (Option a) t | |
Defined in Control.Lens.Wrapped | |
| (Action a a', Action (SM a) l) => Action (SM a) (Option a', l) | |
Defined in Data.Monoid.MList | |
| MList l => MList (a ::: l) | |
Defined in Data.Monoid.MList Methods empty :: a ::: l | |
| MList t => (a ::: t) :>: a | |
| t :>: a => (b ::: t) :>: a | |
| (Metric v, OrderedField n) => Measured (SegMeasure v n) (SegMeasure v n) | |
Defined in Diagrams.Segment Methods measure :: SegMeasure v n -> SegMeasure v n | |
| (Floating n, Ord n, Metric v) => Measured (SegMeasure v n) (SegTree v n) | |
Defined in Diagrams.Trail Methods measure :: SegTree v n -> SegMeasure v n | |
| (OrderedField n, Metric v) => Measured (SegMeasure v n) (Segment Closed v n) | |
Defined in Diagrams.Segment Methods measure :: Segment Closed v n -> SegMeasure v n | |
| type Rep (Option a) | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
| type N (Option a) | |
Defined in Diagrams.Core.V | |
| type V (Option a) | |
Defined in Diagrams.Core.V | |
| type Unwrapped (Option a) | |
Defined in Control.Lens.Wrapped | |
| type O (Option a) | |
Defined in Control.Newtype.Generics | |
| type Rep1 Option | Since: base-4.9.0.0 |
Defined in Data.Semigroup | |
class Bifunctor (p :: Type -> Type -> Type) where #
A bifunctor is a type constructor that takes
two type arguments and is a functor in both arguments. That
is, unlike with Functor, a type constructor such as Either
does not need to be partially applied for a Bifunctor
instance, and the methods in this class permit mapping
functions over the Left value or the Right value,
or both at the same time.
Formally, the class Bifunctor represents a bifunctor
from Hask -> Hask.
Intuitively it is a bifunctor where both the first and second arguments are covariant.
You can define a Bifunctor by either defining bimap or by
defining both first and second.
If you supply bimap, you should ensure that:
bimapidid≡id
If you supply first and second, ensure:
firstid≡idsecondid≡id
If you supply both, you should also ensure:
bimapf g ≡firstf.secondg
These ensure by parametricity:
bimap(f.g) (h.i) ≡bimapf h.bimapg ifirst(f.g) ≡firstf.firstgsecond(f.g) ≡secondf.secondg
Since: base-4.8.0.0
Methods
Instances
| Bifunctor Either | Since: base-4.8.0.0 |
| Bifunctor (,) | Since: base-4.8.0.0 |
| Bifunctor Arg | Since: base-4.9.0.0 |
| Bifunctor ((,,) x1) | Since: base-4.8.0.0 |
| Bifunctor (Const :: Type -> Type -> Type) | Since: base-4.8.0.0 |
| Functor f => Bifunctor (FreeF f) | |
| Bifunctor (Tagged :: Type -> Type -> Type) | |
| Functor f => Bifunctor (CofreeF f) | |
| Functor f => Bifunctor (AlongsideLeft f) | |
| Functor f => Bifunctor (AlongsideRight f) | |
| Bifunctor (K1 i :: Type -> Type -> Type) | Since: base-4.9.0.0 |
| Bifunctor ((,,,) x1 x2) | Since: base-4.8.0.0 |
| Bifunctor ((,,,,) x1 x2 x3) | Since: base-4.8.0.0 |
| Functor f => Bifunctor (Clown f :: Type -> Type -> Type) | |
| Bifunctor p => Bifunctor (Flip p) | |
| Functor g => Bifunctor (Joker g :: Type -> Type -> Type) | |
| Bifunctor p => Bifunctor (WrappedBifunctor p) | |
| Bifunctor ((,,,,,) x1 x2 x3 x4) | Since: base-4.8.0.0 |
| (Bifunctor f, Bifunctor g) => Bifunctor (Product f g) | |
| (Bifunctor p, Bifunctor q) => Bifunctor (Sum p q) | |
| Bifunctor ((,,,,,,) x1 x2 x3 x4 x5) | Since: base-4.8.0.0 |
| (Functor f, Bifunctor p) => Bifunctor (Tannen f p) | |
| (Bifunctor p, Functor f, Functor g) => Bifunctor (Biff p f g) | |
Identity functor and monad. (a non-strict monad)
Since: base-4.8.0.0
Constructors
| Identity | |
Fields
| |
Instances
newtype Const a (b :: k) :: forall k. Type -> k -> Type #
The Const functor.
Instances
| () :=> (Functor (Const a :: Type -> Type)) | |
Defined in Data.Constraint | |
| Generic1 (Const a :: k -> Type) | |
| Bitraversable (Const :: Type -> Type -> Type) | Since: base-4.10.0.0 |
Defined in Data.Bitraversable Methods bitraverse :: Applicative f => (a -> f c) -> (b -> f d) -> Const a b -> f (Const c d) # | |
| Bifoldable (Const :: Type -> Type -> Type) | Since: base-4.10.0.0 |
| Bifunctor (Const :: Type -> Type -> Type) | Since: base-4.8.0.0 |
| Biapplicative (Const :: Type -> Type -> Type) | |
| ToJSON2 (Const :: Type -> Type -> Type) | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON2 :: (a -> Value) -> ([a] -> Value) -> (b -> Value) -> ([b] -> Value) -> Const a b -> Value liftToJSONList2 :: (a -> Value) -> ([a] -> Value) -> (b -> Value) -> ([b] -> Value) -> [Const a b] -> Value liftToEncoding2 :: (a -> Encoding) -> ([a] -> Encoding) -> (b -> Encoding) -> ([b] -> Encoding) -> Const a b -> Encoding liftToEncodingList2 :: (a -> Encoding) -> ([a] -> Encoding) -> (b -> Encoding) -> ([b] -> Encoding) -> [Const a b] -> Encoding | |
| Biapply (Const :: Type -> Type -> Type) | |
| Bitraversable1 (Const :: Type -> Type -> Type) | |
Defined in Data.Semigroup.Traversable.Class Methods bitraverse1 :: Apply f => (a -> f b) -> (c -> f d) -> Const a c -> f (Const b d) bisequence1 :: Apply f => Const (f a) (f b) -> f (Const a b) | |
| (Bounded a) :=> (Bounded (Const a b)) | |
Defined in Data.Constraint | |
| (Enum a) :=> (Enum (Const a b)) | |
Defined in Data.Constraint | |
| (Eq a) :=> (Eq (Const a b)) | |
Defined in Data.Constraint | |
| (Floating a) :=> (Floating (Const a b)) | |
Defined in Data.Constraint | |
| (Fractional a) :=> (Fractional (Const a b)) | |
Defined in Data.Constraint Methods ins :: Fractional a :- Fractional (Const a b) | |
| (Integral a) :=> (Integral (Const a b)) | |
Defined in Data.Constraint | |
| (Num a) :=> (Num (Const a b)) | |
Defined in Data.Constraint | |
| (Ord a) :=> (Ord (Const a b)) | |
Defined in Data.Constraint | |
| (Read a) :=> (Read (Const a b)) | |
Defined in Data.Constraint | |
| (Real a) :=> (Real (Const a b)) | |
Defined in Data.Constraint | |
| (RealFloat a) :=> (RealFloat (Const a b)) | |
Defined in Data.Constraint | |
| (RealFrac a) :=> (RealFrac (Const a b)) | |
Defined in Data.Constraint | |
| (Show a) :=> (Show (Const a b)) | |
Defined in Data.Constraint | |
| (Semigroup a) :=> (Semigroup (Const a b)) | |
Defined in Data.Constraint | |
| (Monoid a) :=> (Monoid (Const a b)) | |
Defined in Data.Constraint | |
| (Monoid a) :=> (Applicative (Const a :: Type -> Type)) | |
Defined in Data.Constraint Methods ins :: Monoid a :- Applicative (Const a) | |
| (Bits a) :=> (Bits (Const a b)) | |
Defined in Data.Constraint | |
| Functor (Const m :: Type -> Type) | Since: base-2.1 |
| Monoid m => Applicative (Const m :: Type -> Type) | Since: base-2.0.1 |
| Foldable (Const m :: Type -> Type) | Since: base-4.7.0.0 |
Defined in Data.Functor.Const Methods fold :: Monoid m0 => Const m m0 -> m0 # foldMap :: Monoid m0 => (a -> m0) -> Const m a -> m0 # foldr :: (a -> b -> b) -> b -> Const m a -> b # foldr' :: (a -> b -> b) -> b -> Const m a -> b # foldl :: (b -> a -> b) -> b -> Const m a -> b # foldl' :: (b -> a -> b) -> b -> Const m a -> b # foldr1 :: (a -> a -> a) -> Const m a -> a # foldl1 :: (a -> a -> a) -> Const m a -> a # elem :: Eq a => a -> Const m a -> Bool # maximum :: Ord a => Const m a -> a # minimum :: Ord a => Const m a -> a # | |
| Traversable (Const m :: Type -> Type) | Since: base-4.7.0.0 |
| Contravariant (Const a :: Type -> Type) | |
| Semigroup m => Apply (Const m :: Type -> Type) | |
| ToJSON a => ToJSON1 (Const a :: Type -> Type) | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a0 -> Value) -> ([a0] -> Value) -> Const a a0 -> Value liftToJSONList :: (a0 -> Value) -> ([a0] -> Value) -> [Const a a0] -> Value liftToEncoding :: (a0 -> Encoding) -> ([a0] -> Encoding) -> Const a a0 -> Encoding liftToEncodingList :: (a0 -> Encoding) -> ([a0] -> Encoding) -> [Const a a0] -> Encoding | |
| Bounded a => Bounded (Const a b) | Since: base-4.9.0.0 |
| Enum a => Enum (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods succ :: Const a b -> Const a b # pred :: Const a b -> Const a b # fromEnum :: Const a b -> Int # enumFrom :: Const a b -> [Const a b] # enumFromThen :: Const a b -> Const a b -> [Const a b] # enumFromTo :: Const a b -> Const a b -> [Const a b] # enumFromThenTo :: Const a b -> Const a b -> Const a b -> [Const a b] # | |
| Eq a => Eq (Const a b) | Since: base-4.9.0.0 |
| Floating a => Floating (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods exp :: Const a b -> Const a b # log :: Const a b -> Const a b # sqrt :: Const a b -> Const a b # (**) :: Const a b -> Const a b -> Const a b # logBase :: Const a b -> Const a b -> Const a b # sin :: Const a b -> Const a b # cos :: Const a b -> Const a b # tan :: Const a b -> Const a b # asin :: Const a b -> Const a b # acos :: Const a b -> Const a b # atan :: Const a b -> Const a b # sinh :: Const a b -> Const a b # cosh :: Const a b -> Const a b # tanh :: Const a b -> Const a b # asinh :: Const a b -> Const a b # acosh :: Const a b -> Const a b # atanh :: Const a b -> Const a b # log1p :: Const a b -> Const a b # expm1 :: Const a b -> Const a b # | |
| Fractional a => Fractional (Const a b) | Since: base-4.9.0.0 |
| Integral a => Integral (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods quot :: Const a b -> Const a b -> Const a b # rem :: Const a b -> Const a b -> Const a b # div :: Const a b -> Const a b -> Const a b # mod :: Const a b -> Const a b -> Const a b # quotRem :: Const a b -> Const a b -> (Const a b, Const a b) # divMod :: Const a b -> Const a b -> (Const a b, Const a b) # | |
| Num a => Num (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
| Ord a => Ord (Const a b) | Since: base-4.9.0.0 |
| Read a => Read (Const a b) | This instance would be equivalent to the derived instances of the
Since: base-4.8.0.0 |
| Real a => Real (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods toRational :: Const a b -> Rational # | |
| RealFloat a => RealFloat (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods floatRadix :: Const a b -> Integer # floatDigits :: Const a b -> Int # floatRange :: Const a b -> (Int, Int) # decodeFloat :: Const a b -> (Integer, Int) # encodeFloat :: Integer -> Int -> Const a b # exponent :: Const a b -> Int # significand :: Const a b -> Const a b # scaleFloat :: Int -> Const a b -> Const a b # isInfinite :: Const a b -> Bool # isDenormalized :: Const a b -> Bool # isNegativeZero :: Const a b -> Bool # | |
| RealFrac a => RealFrac (Const a b) | Since: base-4.9.0.0 |
| Show a => Show (Const a b) | This instance would be equivalent to the derived instances of the
Since: base-4.8.0.0 |
| Ix a => Ix (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods range :: (Const a b, Const a b) -> [Const a b] # index :: (Const a b, Const a b) -> Const a b -> Int # unsafeIndex :: (Const a b, Const a b) -> Const a b -> Int inRange :: (Const a b, Const a b) -> Const a b -> Bool # rangeSize :: (Const a b, Const a b) -> Int # unsafeRangeSize :: (Const a b, Const a b) -> Int | |
| IsString a => IsString (Const a b) | Since: base-4.9.0.0 |
Defined in Data.String Methods fromString :: String -> Const a b # | |
| Generic (Const a b) | |
| Semigroup a => Semigroup (Const a b) | Since: base-4.9.0.0 |
| Monoid a => Monoid (Const a b) | Since: base-4.9.0.0 |
| Storable a => Storable (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
| Bits a => Bits (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods (.&.) :: Const a b -> Const a b -> Const a b # (.|.) :: Const a b -> Const a b -> Const a b # xor :: Const a b -> Const a b -> Const a b # complement :: Const a b -> Const a b # shift :: Const a b -> Int -> Const a b # rotate :: Const a b -> Int -> Const a b # setBit :: Const a b -> Int -> Const a b # clearBit :: Const a b -> Int -> Const a b # complementBit :: Const a b -> Int -> Const a b # testBit :: Const a b -> Int -> Bool # bitSizeMaybe :: Const a b -> Maybe Int # isSigned :: Const a b -> Bool # shiftL :: Const a b -> Int -> Const a b # unsafeShiftL :: Const a b -> Int -> Const a b # shiftR :: Const a b -> Int -> Const a b # unsafeShiftR :: Const a b -> Int -> Const a b # rotateL :: Const a b -> Int -> Const a b # | |
| FiniteBits a => FiniteBits (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const Methods finiteBitSize :: Const a b -> Int # countLeadingZeros :: Const a b -> Int # countTrailingZeros :: Const a b -> Int # | |
| Pretty a => Pretty (Const a b) | |
Defined in Data.Text.Prettyprint.Doc.Internal | |
| ToJSON a => ToJSON (Const a b) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Const a b -> Encoding toJSONList :: [Const a b] -> Value toEncodingList :: [Const a b] -> Encoding | |
| Wrapped (Const a x) | |
| Newtype (Const a x) | |
| t ~ Const a' x' => Rewrapped (Const a x) t | |
Defined in Control.Lens.Wrapped | |
| type Rep1 (Const a :: k -> Type) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
| type Rep (Const a b) | Since: base-4.9.0.0 |
Defined in Data.Functor.Const | |
| type Unwrapped (Const a x) | |
Defined in Control.Lens.Wrapped | |
| type O (Const a x) | |
Defined in Control.Newtype.Generics type O (Const a x) = a | |
stimesMonoid :: (Integral b, Monoid a) => b -> a -> a #
stimesIdempotent :: Integral b => b -> a -> a #
The dual of a Monoid, obtained by swapping the arguments of mappend.
>>>getDual (mappend (Dual "Hello") (Dual "World"))"WorldHello"
Instances
| Monad Dual | Since: base-4.8.0.0 |
| Functor Dual | Since: base-4.8.0.0 |
| Applicative Dual | Since: base-4.8.0.0 |
| Foldable Dual | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Dual m -> m # foldMap :: Monoid m => (a -> m) -> Dual a -> m # foldr :: (a -> b -> b) -> b -> Dual a -> b # foldr' :: (a -> b -> b) -> b -> Dual a -> b # foldl :: (b -> a -> b) -> b -> Dual a -> b # foldl' :: (b -> a -> b) -> b -> Dual a -> b # foldr1 :: (a -> a -> a) -> Dual a -> a # foldl1 :: (a -> a -> a) -> Dual a -> a # elem :: Eq a => a -> Dual a -> Bool # maximum :: Ord a => Dual a -> a # | |
| Traversable Dual | Since: base-4.8.0.0 |
| Apply Dual | |
| Bind Dual | |
| ToJSON1 Dual | |
Defined in Data.Aeson.Types.ToJSON Methods liftToJSON :: (a -> Value) -> ([a] -> Value) -> Dual a -> Value liftToJSONList :: (a -> Value) -> ([a] -> Value) -> [Dual a] -> Value liftToEncoding :: (a -> Encoding) -> ([a] -> Encoding) -> Dual a -> Encoding liftToEncodingList :: (a -> Encoding) -> ([a] -> Encoding) -> [Dual a] -> Encoding | |
| Traversable1 Dual | |
| Representable Dual | |
| Bounded a => Bounded (Dual a) | Since: base-2.1 |
| Eq a => Eq (Dual a) | Since: base-2.1 |
| Ord a => Ord (Dual a) | Since: base-2.1 |
| Read a => Read (Dual a) | Since: base-2.1 |
| Show a => Show (Dual a) | Since: base-2.1 |
| Generic (Dual a) | |
| Semigroup a => Semigroup (Dual a) | Since: base-4.9.0.0 |
| Monoid a => Monoid (Dual a) | Since: base-2.1 |
| ToJSON a => ToJSON (Dual a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Dual a -> Encoding toJSONList :: [Dual a] -> Value toEncodingList :: [Dual a] -> Encoding | |
| Default a => Default (Dual a) | |
Defined in Data.Default.Class | |
| AsEmpty a => AsEmpty (Dual a) | |
Defined in Control.Lens.Empty | |
| Wrapped (Dual a) | |
| Newtype (Dual a) | |
| Generic1 Dual | |
| t ~ Dual b => Rewrapped (Dual a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep Dual | |
Defined in Data.Functor.Rep type Rep Dual = () | |
| type Rep (Dual a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped (Dual a) | |
Defined in Control.Lens.Wrapped | |
| type O (Dual a) | |
Defined in Control.Newtype.Generics type O (Dual a) = a | |
| type Rep1 Dual | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
The monoid of endomorphisms under composition.
>>>let computation = Endo ("Hello, " ++) <> Endo (++ "!")>>>appEndo computation "Haskell""Hello, Haskell!"
Instances
| Generic (Endo a) | |
| Semigroup (Endo a) | Since: base-4.9.0.0 |
| Monoid (Endo a) | Since: base-2.1 |
| Default (Endo a) | |
Defined in Data.Default.Class | |
| Wrapped (Endo a) | |
| Newtype (Endo a) | |
| t ~ Endo b => Rewrapped (Endo a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep (Endo a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped (Endo a) | |
Defined in Control.Lens.Wrapped | |
| type O (Endo a) | |
Defined in Control.Newtype.Generics type O (Endo a) = a -> a | |
Boolean monoid under conjunction (&&).
>>>getAll (All True <> mempty <> All False)False
>>>getAll (mconcat (map (\x -> All (even x)) [2,4,6,7,8]))False
Instances
| Bounded All | Since: base-2.1 |
| Eq All | Since: base-2.1 |
| Ord All | Since: base-2.1 |
| Read All | Since: base-2.1 |
| Show All | Since: base-2.1 |
| Generic All | |
| Semigroup All | Since: base-4.9.0.0 |
| Monoid All | Since: base-2.1 |
| Default All | |
Defined in Data.Default.Class | |
| AsEmpty All | |
Defined in Control.Lens.Empty | |
| Wrapped All | |
| Newtype All | |
| t ~ All => Rewrapped All t | |
Defined in Control.Lens.Wrapped | |
| RealFloat n => HasQuery (Clip n) All | |
| type Rep All | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped All | |
Defined in Control.Lens.Wrapped | |
| type O All | |
Defined in Control.Newtype.Generics | |
Boolean monoid under disjunction (||).
>>>getAny (Any True <> mempty <> Any False)True
>>>getAny (mconcat (map (\x -> Any (even x)) [2,4,6,7,8]))True
Instances
| Bounded Any | Since: base-2.1 |
| Eq Any | Since: base-2.1 |
| Ord Any | Since: base-2.1 |
| Read Any | Since: base-2.1 |
| Show Any | Since: base-2.1 |
| Generic Any | |
| Semigroup Any | Since: base-4.9.0.0 |
| Monoid Any | Since: base-2.1 |
| Default Any | |
Defined in Data.Default.Class | |
| AsEmpty Any | |
Defined in Control.Lens.Empty | |
| Wrapped Any | |
| Newtype Any | |
| t ~ Any => Rewrapped Any t | |
Defined in Control.Lens.Wrapped | |
| (Num n, Ord n) => HasQuery (Box n) Any | |
| (Floating n, Ord n) => HasQuery (CSG n) Any | |
| (Num n, Ord n) => HasQuery (Ellipsoid n) Any | |
| OrderedField n => HasQuery (Frustum n) Any | |
| (Additive v, Foldable v, Ord n) => HasQuery (BoundingBox v n) Any | |
Defined in Diagrams.BoundingBox Methods getQuery :: BoundingBox v n -> Query (V (BoundingBox v n)) (N (BoundingBox v n)) Any # | |
| RealFloat n => HasQuery (DImage n a) Any | |
| type Rep Any | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped Any | |
Defined in Control.Lens.Wrapped | |
| type O Any | |
Defined in Control.Newtype.Generics | |
Monoid under addition.
>>>getSum (Sum 1 <> Sum 2 <> mempty)3
Instances
| Monad Sum | Since: base-4.8.0.0 |
| Functor Sum | Since: base-4.8.0.0 |
| Applicative Sum | Since: base-4.8.0.0 |
| Foldable Sum | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Sum m -> m # foldMap :: Monoid m => (a -> m) -> Sum a -> m # foldr :: (a -> b -> b) -> b -> Sum a -> b # foldr' :: (a -> b -> b) -> b -> Sum a -> b # foldl :: (b -> a -> b) -> b -> Sum a -> b # foldl' :: (b -> a -> b) -> b -> Sum a -> b # foldr1 :: (a -> a -> a) -> Sum a -> a # foldl1 :: (a -> a -> a) -> Sum a -> a # elem :: Eq a => a -> Sum a -> Bool # maximum :: Ord a => Sum a -> a # | |
| Traversable Sum | Since: base-4.8.0.0 |
| Apply Sum | |
| Bind Sum | |
| Traversable1 Sum | |
| Representable Sum | |
| Bounded a => Bounded (Sum a) | Since: base-2.1 |
| Eq a => Eq (Sum a) | Since: base-2.1 |
| Num a => Num (Sum a) | Since: base-4.7.0.0 |
| Ord a => Ord (Sum a) | Since: base-2.1 |
| Read a => Read (Sum a) | Since: base-2.1 |
| Show a => Show (Sum a) | Since: base-2.1 |
| Generic (Sum a) | |
| Num a => Semigroup (Sum a) | Since: base-4.9.0.0 |
| Num a => Monoid (Sum a) | Since: base-2.1 |
| Num a => Default (Sum a) | |
Defined in Data.Default.Class | |
| (Eq a, Num a) => AsEmpty (Sum a) | |
Defined in Control.Lens.Empty | |
| Wrapped (Sum a) | |
| Newtype (Sum a) | |
| Generic1 Sum | |
| t ~ Sum b => Rewrapped (Sum a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep Sum | |
Defined in Data.Functor.Rep type Rep Sum = () | |
| type Rep (Sum a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped (Sum a) | |
Defined in Control.Lens.Wrapped | |
| type O (Sum a) | |
Defined in Control.Newtype.Generics type O (Sum a) = a | |
| type Rep1 Sum | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
Monoid under multiplication.
>>>getProduct (Product 3 <> Product 4 <> mempty)12
Constructors
| Product | |
Fields
| |
Instances
| Monad Product | Since: base-4.8.0.0 |
| Functor Product | Since: base-4.8.0.0 |
| Applicative Product | Since: base-4.8.0.0 |
| Foldable Product | Since: base-4.8.0.0 |
Defined in Data.Foldable Methods fold :: Monoid m => Product m -> m # foldMap :: Monoid m => (a -> m) -> Product a -> m # foldr :: (a -> b -> b) -> b -> Product a -> b # foldr' :: (a -> b -> b) -> b -> Product a -> b # foldl :: (b -> a -> b) -> b -> Product a -> b # foldl' :: (b -> a -> b) -> b -> Product a -> b # foldr1 :: (a -> a -> a) -> Product a -> a # foldl1 :: (a -> a -> a) -> Product a -> a # elem :: Eq a => a -> Product a -> Bool # maximum :: Ord a => Product a -> a # minimum :: Ord a => Product a -> a # | |
| Traversable Product | Since: base-4.8.0.0 |
| Apply Product | |
| Bind Product | |
| Traversable1 Product | |
| Representable Product | |
| Bounded a => Bounded (Product a) | Since: base-2.1 |
| Eq a => Eq (Product a) | Since: base-2.1 |
| Num a => Num (Product a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| Ord a => Ord (Product a) | Since: base-2.1 |
| Read a => Read (Product a) | Since: base-2.1 |
| Show a => Show (Product a) | Since: base-2.1 |
| Generic (Product a) | |
| Num a => Semigroup (Product a) | Since: base-4.9.0.0 |
| Num a => Monoid (Product a) | Since: base-2.1 |
| Num a => Default (Product a) | |
Defined in Data.Default.Class | |
| (Eq a, Num a) => AsEmpty (Product a) | |
Defined in Control.Lens.Empty | |
| Wrapped (Product a) | |
| Newtype (Product a) | |
| Generic1 Product | |
| t ~ Product b => Rewrapped (Product a) t | |
Defined in Control.Lens.Wrapped | |
| type Rep Product | |
Defined in Data.Functor.Rep type Rep Product = () | |
| type Rep (Product a) | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
| type Unwrapped (Product a) | |
Defined in Control.Lens.Wrapped | |
| type O (Product a) | |
Defined in Control.Newtype.Generics type O (Product a) = a | |
| type Rep1 Product | Since: base-4.7.0.0 |
Defined in Data.Semigroup.Internal | |
(<$>) :: Functor f => (a -> b) -> f a -> f b infixl 4 #
An infix synonym for fmap.
The name of this operator is an allusion to $.
Note the similarities between their types:
($) :: (a -> b) -> a -> b (<$>) :: Functor f => (a -> b) -> f a -> f b
Whereas $ is function application, <$> is function
application lifted over a Functor.
Examples
Convert from a to a Maybe Int using Maybe Stringshow:
>>>show <$> NothingNothing>>>show <$> Just 3Just "3"
Convert from an to an Either Int IntEither IntString using show:
>>>show <$> Left 17Left 17>>>show <$> Right 17Right "17"
Double each element of a list:
>>>(*2) <$> [1,2,3][2,4,6]
Apply even to the second element of a pair:
>>>even <$> (2,2)(2,True)
liftA3 :: Applicative f => (a -> b -> c -> d) -> f a -> f b -> f c -> f d #
Lift a ternary function to actions.
liftA :: Applicative f => (a -> b) -> f a -> f b #
stimesIdempotentMonoid :: (Integral b, Monoid a) => b -> a -> a #
Minimal complete definition
Nothing
Instances
alphaChannel :: AlphaColour a -> a #
alphaColourConvert :: (Fractional b, Real a) => AlphaColour a -> AlphaColour b #
colourConvert :: (Fractional b, Real a) => Colour a -> Colour b #
dissolve :: Num a => a -> AlphaColour a -> AlphaColour a #
opaque :: Num a => Colour a -> AlphaColour a #
transparent :: Num a => AlphaColour a #
withOpacity :: Num a => Colour a -> a -> AlphaColour a #
data AlphaColour a #
Instances
Instances
| AffineSpace Colour | |
Defined in Data.Colour.Internal Methods affineCombo :: Num a => [(a, Colour a)] -> Colour a -> Colour a | |
| ColourOps Colour | |
| Eq a => Eq (Colour a) | |
| Num a => Semigroup (Colour a) | |
| Num a => Monoid (Colour a) | |
| (Ord a, Floating a) => FromColor (Colour a) | |
Defined in Skylighting.Types | |
| (RealFrac a, Floating a) => ToColor (Colour a) | |
Defined in Skylighting.Types | |
| a ~ Double => Color (Colour a) | |
Defined in Diagrams.Attributes Methods toAlphaColour :: Colour a -> AlphaColour Double # fromAlphaColour :: AlphaColour Double -> Colour a # | |
class ColourOps (f :: Type -> Type) where #
Minimal complete definition
over, darken
Instances
| ColourOps AlphaColour | |
Defined in Data.Colour.Internal Methods over :: Num a => AlphaColour a -> AlphaColour a -> AlphaColour a darken :: Num a => a -> AlphaColour a -> AlphaColour a # | |
| ColourOps Colour | |
data family MVector s a :: Type #
Instances
| MVector MVector Bool | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Bool -> Int basicUnsafeSlice :: Int -> Int -> MVector s Bool -> MVector s Bool basicOverlaps :: MVector s Bool -> MVector s Bool -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Bool) basicInitialize :: PrimMonad m => MVector (PrimState m) Bool -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Bool -> m (MVector (PrimState m) Bool) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Bool -> Int -> m Bool basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Bool -> Int -> Bool -> m () basicClear :: PrimMonad m => MVector (PrimState m) Bool -> m () basicSet :: PrimMonad m => MVector (PrimState m) Bool -> Bool -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Bool -> MVector (PrimState m) Bool -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Bool -> MVector (PrimState m) Bool -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Bool -> Int -> m (MVector (PrimState m) Bool) | |
| MVector MVector Char | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Char -> Int basicUnsafeSlice :: Int -> Int -> MVector s Char -> MVector s Char basicOverlaps :: MVector s Char -> MVector s Char -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Char) basicInitialize :: PrimMonad m => MVector (PrimState m) Char -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Char -> m (MVector (PrimState m) Char) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Char -> Int -> m Char basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Char -> Int -> Char -> m () basicClear :: PrimMonad m => MVector (PrimState m) Char -> m () basicSet :: PrimMonad m => MVector (PrimState m) Char -> Char -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Char -> MVector (PrimState m) Char -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Char -> MVector (PrimState m) Char -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Char -> Int -> m (MVector (PrimState m) Char) | |
| MVector MVector Double | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Double -> Int basicUnsafeSlice :: Int -> Int -> MVector s Double -> MVector s Double basicOverlaps :: MVector s Double -> MVector s Double -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Double) basicInitialize :: PrimMonad m => MVector (PrimState m) Double -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Double -> m (MVector (PrimState m) Double) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Double -> Int -> m Double basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Double -> Int -> Double -> m () basicClear :: PrimMonad m => MVector (PrimState m) Double -> m () basicSet :: PrimMonad m => MVector (PrimState m) Double -> Double -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Double -> MVector (PrimState m) Double -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Double -> MVector (PrimState m) Double -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Double -> Int -> m (MVector (PrimState m) Double) | |
| MVector MVector Float | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Float -> Int basicUnsafeSlice :: Int -> Int -> MVector s Float -> MVector s Float basicOverlaps :: MVector s Float -> MVector s Float -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Float) basicInitialize :: PrimMonad m => MVector (PrimState m) Float -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Float -> m (MVector (PrimState m) Float) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Float -> Int -> m Float basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Float -> Int -> Float -> m () basicClear :: PrimMonad m => MVector (PrimState m) Float -> m () basicSet :: PrimMonad m => MVector (PrimState m) Float -> Float -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Float -> MVector (PrimState m) Float -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Float -> MVector (PrimState m) Float -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Float -> Int -> m (MVector (PrimState m) Float) | |
| MVector MVector Int | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Int -> Int basicUnsafeSlice :: Int -> Int -> MVector s Int -> MVector s Int basicOverlaps :: MVector s Int -> MVector s Int -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Int) basicInitialize :: PrimMonad m => MVector (PrimState m) Int -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Int -> m (MVector (PrimState m) Int) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Int -> Int -> m Int basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Int -> Int -> Int -> m () basicClear :: PrimMonad m => MVector (PrimState m) Int -> m () basicSet :: PrimMonad m => MVector (PrimState m) Int -> Int -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Int -> MVector (PrimState m) Int -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Int -> MVector (PrimState m) Int -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Int -> Int -> m (MVector (PrimState m) Int) | |
| MVector MVector Int8 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Int8 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Int8 -> MVector s Int8 basicOverlaps :: MVector s Int8 -> MVector s Int8 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Int8) basicInitialize :: PrimMonad m => MVector (PrimState m) Int8 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Int8 -> m (MVector (PrimState m) Int8) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Int8 -> Int -> m Int8 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Int8 -> Int -> Int8 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Int8 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Int8 -> Int8 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Int8 -> MVector (PrimState m) Int8 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Int8 -> MVector (PrimState m) Int8 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Int8 -> Int -> m (MVector (PrimState m) Int8) | |
| MVector MVector Int16 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Int16 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Int16 -> MVector s Int16 basicOverlaps :: MVector s Int16 -> MVector s Int16 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Int16) basicInitialize :: PrimMonad m => MVector (PrimState m) Int16 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Int16 -> m (MVector (PrimState m) Int16) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Int16 -> Int -> m Int16 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Int16 -> Int -> Int16 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Int16 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Int16 -> Int16 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Int16 -> MVector (PrimState m) Int16 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Int16 -> MVector (PrimState m) Int16 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Int16 -> Int -> m (MVector (PrimState m) Int16) | |
| MVector MVector Int32 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Int32 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Int32 -> MVector s Int32 basicOverlaps :: MVector s Int32 -> MVector s Int32 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Int32) basicInitialize :: PrimMonad m => MVector (PrimState m) Int32 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Int32 -> m (MVector (PrimState m) Int32) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Int32 -> Int -> m Int32 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Int32 -> Int -> Int32 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Int32 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Int32 -> Int32 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Int32 -> MVector (PrimState m) Int32 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Int32 -> MVector (PrimState m) Int32 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Int32 -> Int -> m (MVector (PrimState m) Int32) | |
| MVector MVector Int64 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Int64 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Int64 -> MVector s Int64 basicOverlaps :: MVector s Int64 -> MVector s Int64 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Int64) basicInitialize :: PrimMonad m => MVector (PrimState m) Int64 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Int64 -> m (MVector (PrimState m) Int64) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Int64 -> Int -> m Int64 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Int64 -> Int -> Int64 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Int64 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Int64 -> Int64 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Int64 -> MVector (PrimState m) Int64 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Int64 -> MVector (PrimState m) Int64 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Int64 -> Int -> m (MVector (PrimState m) Int64) | |
| MVector MVector Word | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Word -> Int basicUnsafeSlice :: Int -> Int -> MVector s Word -> MVector s Word basicOverlaps :: MVector s Word -> MVector s Word -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Word) basicInitialize :: PrimMonad m => MVector (PrimState m) Word -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Word -> m (MVector (PrimState m) Word) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Word -> Int -> m Word basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Word -> Int -> Word -> m () basicClear :: PrimMonad m => MVector (PrimState m) Word -> m () basicSet :: PrimMonad m => MVector (PrimState m) Word -> Word -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Word -> MVector (PrimState m) Word -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Word -> MVector (PrimState m) Word -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Word -> Int -> m (MVector (PrimState m) Word) | |
| MVector MVector Word8 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Word8 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Word8 -> MVector s Word8 basicOverlaps :: MVector s Word8 -> MVector s Word8 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Word8) basicInitialize :: PrimMonad m => MVector (PrimState m) Word8 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Word8 -> m (MVector (PrimState m) Word8) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Word8 -> Int -> m Word8 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Word8 -> Int -> Word8 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Word8 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Word8 -> Word8 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Word8 -> MVector (PrimState m) Word8 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Word8 -> MVector (PrimState m) Word8 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Word8 -> Int -> m (MVector (PrimState m) Word8) | |
| MVector MVector Word16 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Word16 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Word16 -> MVector s Word16 basicOverlaps :: MVector s Word16 -> MVector s Word16 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Word16) basicInitialize :: PrimMonad m => MVector (PrimState m) Word16 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Word16 -> m (MVector (PrimState m) Word16) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Word16 -> Int -> m Word16 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Word16 -> Int -> Word16 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Word16 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Word16 -> Word16 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Word16 -> MVector (PrimState m) Word16 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Word16 -> MVector (PrimState m) Word16 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Word16 -> Int -> m (MVector (PrimState m) Word16) | |
| MVector MVector Word32 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Word32 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Word32 -> MVector s Word32 basicOverlaps :: MVector s Word32 -> MVector s Word32 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Word32) basicInitialize :: PrimMonad m => MVector (PrimState m) Word32 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Word32 -> m (MVector (PrimState m) Word32) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Word32 -> Int -> m Word32 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Word32 -> Int -> Word32 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Word32 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Word32 -> Word32 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Word32 -> MVector (PrimState m) Word32 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Word32 -> MVector (PrimState m) Word32 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Word32 -> Int -> m (MVector (PrimState m) Word32) | |
| MVector MVector Word64 | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s Word64 -> Int basicUnsafeSlice :: Int -> Int -> MVector s Word64 -> MVector s Word64 basicOverlaps :: MVector s Word64 -> MVector s Word64 -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) Word64) basicInitialize :: PrimMonad m => MVector (PrimState m) Word64 -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Word64 -> m (MVector (PrimState m) Word64) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) Word64 -> Int -> m Word64 basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) Word64 -> Int -> Word64 -> m () basicClear :: PrimMonad m => MVector (PrimState m) Word64 -> m () basicSet :: PrimMonad m => MVector (PrimState m) Word64 -> Word64 -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) Word64 -> MVector (PrimState m) Word64 -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) Word64 -> MVector (PrimState m) Word64 -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) Word64 -> Int -> m (MVector (PrimState m) Word64) | |
| MVector MVector () | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s () -> Int basicUnsafeSlice :: Int -> Int -> MVector s () -> MVector s () basicOverlaps :: MVector s () -> MVector s () -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) ()) basicInitialize :: PrimMonad m => MVector (PrimState m) () -> m () basicUnsafeReplicate :: PrimMonad m => Int -> () -> m (MVector (PrimState m) ()) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) () -> Int -> m () basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) () -> Int -> () -> m () basicClear :: PrimMonad m => MVector (PrimState m) () -> m () basicSet :: PrimMonad m => MVector (PrimState m) () -> () -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) () -> MVector (PrimState m) () -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) () -> MVector (PrimState m) () -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) () -> Int -> m (MVector (PrimState m) ()) | |
| Unbox a => MVector MVector (Complex a) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (Complex a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Complex a) -> MVector s (Complex a) basicOverlaps :: MVector s (Complex a) -> MVector s (Complex a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Complex a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (Complex a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Complex a -> m (MVector (PrimState m) (Complex a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Complex a) -> Int -> m (Complex a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Complex a) -> Int -> Complex a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (Complex a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (Complex a) -> Complex a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Complex a) -> MVector (PrimState m) (Complex a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Complex a) -> MVector (PrimState m) (Complex a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Complex a) -> Int -> m (MVector (PrimState m) (Complex a)) | |
| Unbox a => MVector MVector (V2 a) | |
Defined in Linear.V2 Methods basicLength :: MVector s (V2 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V2 a) -> MVector s (V2 a) basicOverlaps :: MVector s (V2 a) -> MVector s (V2 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V2 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V2 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V2 a -> m (MVector (PrimState m) (V2 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> m (V2 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> V2 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V2 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V2 a) -> V2 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V2 a) -> MVector (PrimState m) (V2 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V2 a) -> MVector (PrimState m) (V2 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> m (MVector (PrimState m) (V2 a)) | |
| Unbox a => MVector MVector (V3 a) | |
Defined in Linear.V3 Methods basicLength :: MVector s (V3 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V3 a) -> MVector s (V3 a) basicOverlaps :: MVector s (V3 a) -> MVector s (V3 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V3 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V3 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V3 a -> m (MVector (PrimState m) (V3 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> m (V3 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> V3 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V3 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V3 a) -> V3 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V3 a) -> MVector (PrimState m) (V3 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V3 a) -> MVector (PrimState m) (V3 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> m (MVector (PrimState m) (V3 a)) | |
| Unbox a => MVector MVector (V4 a) | |
Defined in Linear.V4 Methods basicLength :: MVector s (V4 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V4 a) -> MVector s (V4 a) basicOverlaps :: MVector s (V4 a) -> MVector s (V4 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V4 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V4 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V4 a -> m (MVector (PrimState m) (V4 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V4 a) -> Int -> m (V4 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V4 a) -> Int -> V4 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V4 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V4 a) -> V4 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V4 a) -> MVector (PrimState m) (V4 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V4 a) -> MVector (PrimState m) (V4 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V4 a) -> Int -> m (MVector (PrimState m) (V4 a)) | |
| Unbox a => MVector MVector (V1 a) | |
Defined in Linear.V1 Methods basicLength :: MVector s (V1 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V1 a) -> MVector s (V1 a) basicOverlaps :: MVector s (V1 a) -> MVector s (V1 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V1 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V1 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V1 a -> m (MVector (PrimState m) (V1 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V1 a) -> Int -> m (V1 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V1 a) -> Int -> V1 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V1 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V1 a) -> V1 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V1 a) -> MVector (PrimState m) (V1 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V1 a) -> MVector (PrimState m) (V1 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V1 a) -> Int -> m (MVector (PrimState m) (V1 a)) | |
| Unbox a => MVector MVector (Plucker a) | |
Defined in Linear.Plucker Methods basicLength :: MVector s (Plucker a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Plucker a) -> MVector s (Plucker a) basicOverlaps :: MVector s (Plucker a) -> MVector s (Plucker a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Plucker a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (Plucker a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Plucker a -> m (MVector (PrimState m) (Plucker a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Plucker a) -> Int -> m (Plucker a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Plucker a) -> Int -> Plucker a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (Plucker a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (Plucker a) -> Plucker a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Plucker a) -> MVector (PrimState m) (Plucker a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Plucker a) -> MVector (PrimState m) (Plucker a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Plucker a) -> Int -> m (MVector (PrimState m) (Plucker a)) | |
| Unbox a => MVector MVector (Quaternion a) | |
Defined in Linear.Quaternion Methods basicLength :: MVector s (Quaternion a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Quaternion a) -> MVector s (Quaternion a) basicOverlaps :: MVector s (Quaternion a) -> MVector s (Quaternion a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Quaternion a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Quaternion a -> m (MVector (PrimState m) (Quaternion a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> Int -> m (Quaternion a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> Int -> Quaternion a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> Quaternion a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> MVector (PrimState m) (Quaternion a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> MVector (PrimState m) (Quaternion a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Quaternion a) -> Int -> m (MVector (PrimState m) (Quaternion a)) | |
| MVector MVector (V0 a) | |
Defined in Linear.V0 Methods basicLength :: MVector s (V0 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V0 a) -> MVector s (V0 a) basicOverlaps :: MVector s (V0 a) -> MVector s (V0 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V0 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V0 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V0 a -> m (MVector (PrimState m) (V0 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V0 a) -> Int -> m (V0 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V0 a) -> Int -> V0 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V0 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V0 a) -> V0 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V0 a) -> MVector (PrimState m) (V0 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V0 a) -> MVector (PrimState m) (V0 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V0 a) -> Int -> m (MVector (PrimState m) (V0 a)) | |
| (Unbox a, Unbox b) => MVector MVector (a, b) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (a, b) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (a, b) -> MVector s (a, b) basicOverlaps :: MVector s (a, b) -> MVector s (a, b) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (a, b)) basicInitialize :: PrimMonad m => MVector (PrimState m) (a, b) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> (a, b) -> m (MVector (PrimState m) (a, b)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (a, b) -> Int -> m (a, b) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (a, b) -> Int -> (a, b) -> m () basicClear :: PrimMonad m => MVector (PrimState m) (a, b) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (a, b) -> (a, b) -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (a, b) -> MVector (PrimState m) (a, b) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (a, b) -> MVector (PrimState m) (a, b) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (a, b) -> Int -> m (MVector (PrimState m) (a, b)) | |
| Unbox (f a) => MVector MVector (Point f a) | |
Defined in Linear.Affine Methods basicLength :: MVector s (Point f a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Point f a) -> MVector s (Point f a) basicOverlaps :: MVector s (Point f a) -> MVector s (Point f a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Point f a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (Point f a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Point f a -> m (MVector (PrimState m) (Point f a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> m (Point f a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> Point f a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (Point f a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (Point f a) -> Point f a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Point f a) -> MVector (PrimState m) (Point f a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Point f a) -> MVector (PrimState m) (Point f a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> m (MVector (PrimState m) (Point f a)) | |
| (Unbox a, Unbox b, Unbox c) => MVector MVector (a, b, c) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (a, b, c) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (a, b, c) -> MVector s (a, b, c) basicOverlaps :: MVector s (a, b, c) -> MVector s (a, b, c) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (a, b, c)) basicInitialize :: PrimMonad m => MVector (PrimState m) (a, b, c) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> (a, b, c) -> m (MVector (PrimState m) (a, b, c)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (a, b, c) -> Int -> m (a, b, c) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (a, b, c) -> Int -> (a, b, c) -> m () basicClear :: PrimMonad m => MVector (PrimState m) (a, b, c) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (a, b, c) -> (a, b, c) -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (a, b, c) -> MVector (PrimState m) (a, b, c) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (a, b, c) -> MVector (PrimState m) (a, b, c) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (a, b, c) -> Int -> m (MVector (PrimState m) (a, b, c)) | |
| (Dim n, Unbox a) => MVector MVector (V n a) | |
Defined in Linear.V Methods basicLength :: MVector s (V n a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V n a) -> MVector s (V n a) basicOverlaps :: MVector s (V n a) -> MVector s (V n a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V n a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V n a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V n a -> m (MVector (PrimState m) (V n a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V n a) -> Int -> m (V n a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V n a) -> Int -> V n a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V n a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V n a) -> V n a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V n a) -> MVector (PrimState m) (V n a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V n a) -> MVector (PrimState m) (V n a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V n a) -> Int -> m (MVector (PrimState m) (V n a)) | |
| (Unbox a, Unbox b, Unbox c, Unbox d) => MVector MVector (a, b, c, d) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (a, b, c, d) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (a, b, c, d) -> MVector s (a, b, c, d) basicOverlaps :: MVector s (a, b, c, d) -> MVector s (a, b, c, d) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (a, b, c, d)) basicInitialize :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> (a, b, c, d) -> m (MVector (PrimState m) (a, b, c, d)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> Int -> m (a, b, c, d) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> Int -> (a, b, c, d) -> m () basicClear :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> (a, b, c, d) -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> MVector (PrimState m) (a, b, c, d) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> MVector (PrimState m) (a, b, c, d) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (a, b, c, d) -> Int -> m (MVector (PrimState m) (a, b, c, d)) | |
| (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e) => MVector MVector (a, b, c, d, e) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (a, b, c, d, e) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (a, b, c, d, e) -> MVector s (a, b, c, d, e) basicOverlaps :: MVector s (a, b, c, d, e) -> MVector s (a, b, c, d, e) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (a, b, c, d, e)) basicInitialize :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> (a, b, c, d, e) -> m (MVector (PrimState m) (a, b, c, d, e)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> Int -> m (a, b, c, d, e) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> Int -> (a, b, c, d, e) -> m () basicClear :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> (a, b, c, d, e) -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> MVector (PrimState m) (a, b, c, d, e) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> MVector (PrimState m) (a, b, c, d, e) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e) -> Int -> m (MVector (PrimState m) (a, b, c, d, e)) | |
| (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e, Unbox f) => MVector MVector (a, b, c, d, e, f) | |
Defined in Data.Vector.Unboxed.Base Methods basicLength :: MVector s (a, b, c, d, e, f) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (a, b, c, d, e, f) -> MVector s (a, b, c, d, e, f) basicOverlaps :: MVector s (a, b, c, d, e, f) -> MVector s (a, b, c, d, e, f) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (a, b, c, d, e, f)) basicInitialize :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> (a, b, c, d, e, f) -> m (MVector (PrimState m) (a, b, c, d, e, f)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> Int -> m (a, b, c, d, e, f) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> Int -> (a, b, c, d, e, f) -> m () basicClear :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> MVector (PrimState m) (a, b, c, d, e, f) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> MVector (PrimState m) (a, b, c, d, e, f) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (a, b, c, d, e, f) -> Int -> m (MVector (PrimState m) (a, b, c, d, e, f)) | |
| NFData (MVector s a) | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Bool | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Char | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Double | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Float | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Word64 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Word32 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Word16 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Word8 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Word | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Int64 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Int32 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Int16 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Int8 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s Int | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s () | |
Defined in Data.Vector.Unboxed.Base | |
| data MVector s (V4 a) | |
| data MVector s (V3 a) | |
| data MVector s (V2 a) | |
| newtype MVector s (V1 a) | |
| newtype MVector s (V0 a) | |
| data MVector s (Quaternion a) | |
Defined in Linear.Quaternion | |
| data MVector s (Plucker a) | |
Defined in Linear.Plucker | |
| newtype MVector s (Complex a) | |
Defined in Data.Vector.Unboxed.Base | |
| newtype MVector s (Point f a) | |
Defined in Linear.Affine | |
| data MVector s (a, b) | |
| data MVector s (V n a) | |
| data MVector s (a, b, c) | |
| data MVector s (a, b, c, d) | |
| data MVector s (a, b, c, d, e) | |
| data MVector s (a, b, c, d, e, f) | |
data family Vector a :: Type #
Instances
| Vector Vector Bool | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Bool -> m (Vector Bool) basicUnsafeThaw :: PrimMonad m => Vector Bool -> m (Mutable Vector (PrimState m) Bool) basicLength :: Vector Bool -> Int basicUnsafeSlice :: Int -> Int -> Vector Bool -> Vector Bool basicUnsafeIndexM :: Monad m => Vector Bool -> Int -> m Bool basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Bool -> Vector Bool -> m () | |
| Vector Vector Char | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Char -> m (Vector Char) basicUnsafeThaw :: PrimMonad m => Vector Char -> m (Mutable Vector (PrimState m) Char) basicLength :: Vector Char -> Int basicUnsafeSlice :: Int -> Int -> Vector Char -> Vector Char basicUnsafeIndexM :: Monad m => Vector Char -> Int -> m Char basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Char -> Vector Char -> m () | |
| Vector Vector Double | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Double -> m (Vector Double) basicUnsafeThaw :: PrimMonad m => Vector Double -> m (Mutable Vector (PrimState m) Double) basicLength :: Vector Double -> Int basicUnsafeSlice :: Int -> Int -> Vector Double -> Vector Double basicUnsafeIndexM :: Monad m => Vector Double -> Int -> m Double basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Double -> Vector Double -> m () | |
| Vector Vector Float | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Float -> m (Vector Float) basicUnsafeThaw :: PrimMonad m => Vector Float -> m (Mutable Vector (PrimState m) Float) basicLength :: Vector Float -> Int basicUnsafeSlice :: Int -> Int -> Vector Float -> Vector Float basicUnsafeIndexM :: Monad m => Vector Float -> Int -> m Float basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Float -> Vector Float -> m () | |
| Vector Vector Int | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Int -> m (Vector Int) basicUnsafeThaw :: PrimMonad m => Vector Int -> m (Mutable Vector (PrimState m) Int) basicLength :: Vector Int -> Int basicUnsafeSlice :: Int -> Int -> Vector Int -> Vector Int basicUnsafeIndexM :: Monad m => Vector Int -> Int -> m Int basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Int -> Vector Int -> m () | |
| Vector Vector Int8 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Int8 -> m (Vector Int8) basicUnsafeThaw :: PrimMonad m => Vector Int8 -> m (Mutable Vector (PrimState m) Int8) basicLength :: Vector Int8 -> Int basicUnsafeSlice :: Int -> Int -> Vector Int8 -> Vector Int8 basicUnsafeIndexM :: Monad m => Vector Int8 -> Int -> m Int8 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Int8 -> Vector Int8 -> m () | |
| Vector Vector Int16 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Int16 -> m (Vector Int16) basicUnsafeThaw :: PrimMonad m => Vector Int16 -> m (Mutable Vector (PrimState m) Int16) basicLength :: Vector Int16 -> Int basicUnsafeSlice :: Int -> Int -> Vector Int16 -> Vector Int16 basicUnsafeIndexM :: Monad m => Vector Int16 -> Int -> m Int16 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Int16 -> Vector Int16 -> m () | |
| Vector Vector Int32 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Int32 -> m (Vector Int32) basicUnsafeThaw :: PrimMonad m => Vector Int32 -> m (Mutable Vector (PrimState m) Int32) basicLength :: Vector Int32 -> Int basicUnsafeSlice :: Int -> Int -> Vector Int32 -> Vector Int32 basicUnsafeIndexM :: Monad m => Vector Int32 -> Int -> m Int32 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Int32 -> Vector Int32 -> m () | |
| Vector Vector Int64 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Int64 -> m (Vector Int64) basicUnsafeThaw :: PrimMonad m => Vector Int64 -> m (Mutable Vector (PrimState m) Int64) basicLength :: Vector Int64 -> Int basicUnsafeSlice :: Int -> Int -> Vector Int64 -> Vector Int64 basicUnsafeIndexM :: Monad m => Vector Int64 -> Int -> m Int64 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Int64 -> Vector Int64 -> m () | |
| Vector Vector Word | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Word -> m (Vector Word) basicUnsafeThaw :: PrimMonad m => Vector Word -> m (Mutable Vector (PrimState m) Word) basicLength :: Vector Word -> Int basicUnsafeSlice :: Int -> Int -> Vector Word -> Vector Word basicUnsafeIndexM :: Monad m => Vector Word -> Int -> m Word basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Word -> Vector Word -> m () | |
| Vector Vector Word8 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Word8 -> m (Vector Word8) basicUnsafeThaw :: PrimMonad m => Vector Word8 -> m (Mutable Vector (PrimState m) Word8) basicLength :: Vector Word8 -> Int basicUnsafeSlice :: Int -> Int -> Vector Word8 -> Vector Word8 basicUnsafeIndexM :: Monad m => Vector Word8 -> Int -> m Word8 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Word8 -> Vector Word8 -> m () | |
| Vector Vector Word16 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Word16 -> m (Vector Word16) basicUnsafeThaw :: PrimMonad m => Vector Word16 -> m (Mutable Vector (PrimState m) Word16) basicLength :: Vector Word16 -> Int basicUnsafeSlice :: Int -> Int -> Vector Word16 -> Vector Word16 basicUnsafeIndexM :: Monad m => Vector Word16 -> Int -> m Word16 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Word16 -> Vector Word16 -> m () | |
| Vector Vector Word32 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Word32 -> m (Vector Word32) basicUnsafeThaw :: PrimMonad m => Vector Word32 -> m (Mutable Vector (PrimState m) Word32) basicLength :: Vector Word32 -> Int basicUnsafeSlice :: Int -> Int -> Vector Word32 -> Vector Word32 basicUnsafeIndexM :: Monad m => Vector Word32 -> Int -> m Word32 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Word32 -> Vector Word32 -> m () | |
| Vector Vector Word64 | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) Word64 -> m (Vector Word64) basicUnsafeThaw :: PrimMonad m => Vector Word64 -> m (Mutable Vector (PrimState m) Word64) basicLength :: Vector Word64 -> Int basicUnsafeSlice :: Int -> Int -> Vector Word64 -> Vector Word64 basicUnsafeIndexM :: Monad m => Vector Word64 -> Int -> m Word64 basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) Word64 -> Vector Word64 -> m () | |
| Vector Vector () | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) () -> m (Vector ()) basicUnsafeThaw :: PrimMonad m => Vector () -> m (Mutable Vector (PrimState m) ()) basicLength :: Vector () -> Int basicUnsafeSlice :: Int -> Int -> Vector () -> Vector () basicUnsafeIndexM :: Monad m => Vector () -> Int -> m () basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) () -> Vector () -> m () | |
| Unbox a => Vector Vector (Complex a) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Complex a) -> m (Vector (Complex a)) basicUnsafeThaw :: PrimMonad m => Vector (Complex a) -> m (Mutable Vector (PrimState m) (Complex a)) basicLength :: Vector (Complex a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Complex a) -> Vector (Complex a) basicUnsafeIndexM :: Monad m => Vector (Complex a) -> Int -> m (Complex a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Complex a) -> Vector (Complex a) -> m () | |
| Unbox a => Vector Vector (V2 a) | |
Defined in Linear.V2 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V2 a) -> m (Vector (V2 a)) basicUnsafeThaw :: PrimMonad m => Vector (V2 a) -> m (Mutable Vector (PrimState m) (V2 a)) basicLength :: Vector (V2 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V2 a) -> Vector (V2 a) basicUnsafeIndexM :: Monad m => Vector (V2 a) -> Int -> m (V2 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V2 a) -> Vector (V2 a) -> m () | |
| Unbox a => Vector Vector (V3 a) | |
Defined in Linear.V3 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V3 a) -> m (Vector (V3 a)) basicUnsafeThaw :: PrimMonad m => Vector (V3 a) -> m (Mutable Vector (PrimState m) (V3 a)) basicLength :: Vector (V3 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V3 a) -> Vector (V3 a) basicUnsafeIndexM :: Monad m => Vector (V3 a) -> Int -> m (V3 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V3 a) -> Vector (V3 a) -> m () | |
| Unbox a => Vector Vector (V4 a) | |
Defined in Linear.V4 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V4 a) -> m (Vector (V4 a)) basicUnsafeThaw :: PrimMonad m => Vector (V4 a) -> m (Mutable Vector (PrimState m) (V4 a)) basicLength :: Vector (V4 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V4 a) -> Vector (V4 a) basicUnsafeIndexM :: Monad m => Vector (V4 a) -> Int -> m (V4 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V4 a) -> Vector (V4 a) -> m () | |
| Unbox a => Vector Vector (V1 a) | |
Defined in Linear.V1 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V1 a) -> m (Vector (V1 a)) basicUnsafeThaw :: PrimMonad m => Vector (V1 a) -> m (Mutable Vector (PrimState m) (V1 a)) basicLength :: Vector (V1 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V1 a) -> Vector (V1 a) basicUnsafeIndexM :: Monad m => Vector (V1 a) -> Int -> m (V1 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V1 a) -> Vector (V1 a) -> m () | |
| Unbox a => Vector Vector (Plucker a) | |
Defined in Linear.Plucker Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Plucker a) -> m (Vector (Plucker a)) basicUnsafeThaw :: PrimMonad m => Vector (Plucker a) -> m (Mutable Vector (PrimState m) (Plucker a)) basicLength :: Vector (Plucker a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Plucker a) -> Vector (Plucker a) basicUnsafeIndexM :: Monad m => Vector (Plucker a) -> Int -> m (Plucker a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Plucker a) -> Vector (Plucker a) -> m () | |
| Unbox a => Vector Vector (Quaternion a) | |
Defined in Linear.Quaternion Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Quaternion a) -> m (Vector (Quaternion a)) basicUnsafeThaw :: PrimMonad m => Vector (Quaternion a) -> m (Mutable Vector (PrimState m) (Quaternion a)) basicLength :: Vector (Quaternion a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Quaternion a) -> Vector (Quaternion a) basicUnsafeIndexM :: Monad m => Vector (Quaternion a) -> Int -> m (Quaternion a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Quaternion a) -> Vector (Quaternion a) -> m () | |
| Vector Vector (V0 a) | |
Defined in Linear.V0 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V0 a) -> m (Vector (V0 a)) basicUnsafeThaw :: PrimMonad m => Vector (V0 a) -> m (Mutable Vector (PrimState m) (V0 a)) basicLength :: Vector (V0 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V0 a) -> Vector (V0 a) basicUnsafeIndexM :: Monad m => Vector (V0 a) -> Int -> m (V0 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V0 a) -> Vector (V0 a) -> m () | |
| (Unbox a, Unbox b) => Vector Vector (a, b) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (a, b) -> m (Vector (a, b)) basicUnsafeThaw :: PrimMonad m => Vector (a, b) -> m (Mutable Vector (PrimState m) (a, b)) basicLength :: Vector (a, b) -> Int basicUnsafeSlice :: Int -> Int -> Vector (a, b) -> Vector (a, b) basicUnsafeIndexM :: Monad m => Vector (a, b) -> Int -> m (a, b) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (a, b) -> Vector (a, b) -> m () | |
| Unbox (f a) => Vector Vector (Point f a) | |
Defined in Linear.Affine Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Point f a) -> m (Vector (Point f a)) basicUnsafeThaw :: PrimMonad m => Vector (Point f a) -> m (Mutable Vector (PrimState m) (Point f a)) basicLength :: Vector (Point f a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Point f a) -> Vector (Point f a) basicUnsafeIndexM :: Monad m => Vector (Point f a) -> Int -> m (Point f a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Point f a) -> Vector (Point f a) -> m () | |
| (Unbox a, Unbox b, Unbox c) => Vector Vector (a, b, c) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c) -> m (Vector (a, b, c)) basicUnsafeThaw :: PrimMonad m => Vector (a, b, c) -> m (Mutable Vector (PrimState m) (a, b, c)) basicLength :: Vector (a, b, c) -> Int basicUnsafeSlice :: Int -> Int -> Vector (a, b, c) -> Vector (a, b, c) basicUnsafeIndexM :: Monad m => Vector (a, b, c) -> Int -> m (a, b, c) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c) -> Vector (a, b, c) -> m () | |
| (Dim n, Unbox a) => Vector Vector (V n a) | |
Defined in Linear.V Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V n a) -> m (Vector (V n a)) basicUnsafeThaw :: PrimMonad m => Vector (V n a) -> m (Mutable Vector (PrimState m) (V n a)) basicLength :: Vector (V n a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V n a) -> Vector (V n a) basicUnsafeIndexM :: Monad m => Vector (V n a) -> Int -> m (V n a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V n a) -> Vector (V n a) -> m () | |
| (Unbox a, Unbox b, Unbox c, Unbox d) => Vector Vector (a, b, c, d) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d) -> m (Vector (a, b, c, d)) basicUnsafeThaw :: PrimMonad m => Vector (a, b, c, d) -> m (Mutable Vector (PrimState m) (a, b, c, d)) basicLength :: Vector (a, b, c, d) -> Int basicUnsafeSlice :: Int -> Int -> Vector (a, b, c, d) -> Vector (a, b, c, d) basicUnsafeIndexM :: Monad m => Vector (a, b, c, d) -> Int -> m (a, b, c, d) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d) -> Vector (a, b, c, d) -> m () | |
| (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e) => Vector Vector (a, b, c, d, e) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d, e) -> m (Vector (a, b, c, d, e)) basicUnsafeThaw :: PrimMonad m => Vector (a, b, c, d, e) -> m (Mutable Vector (PrimState m) (a, b, c, d, e)) basicLength :: Vector (a, b, c, d, e) -> Int basicUnsafeSlice :: Int -> Int -> Vector (a, b, c, d, e) -> Vector (a, b, c, d, e) basicUnsafeIndexM :: Monad m => Vector (a, b, c, d, e) -> Int -> m (a, b, c, d, e) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d, e) -> Vector (a, b, c, d, e) -> m () elemseq :: Vector (a, b, c, d, e) -> (a, b, c, d, e) -> b0 -> b0 | |
| (Unbox a, Unbox b, Unbox c, Unbox d, Unbox e, Unbox f) => Vector Vector (a, b, c, d, e, f) | |
Defined in Data.Vector.Unboxed.Base Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d, e, f) -> m (Vector (a, b, c, d, e, f)) basicUnsafeThaw :: PrimMonad m => Vector (a, b, c, d, e, f) -> m (Mutable Vector (PrimState m) (a, b, c, d, e, f)) basicLength :: Vector (a, b, c, d, e, f) -> Int basicUnsafeSlice :: Int -> Int -> Vector (a, b, c, d, e, f) -> Vector (a, b, c, d, e, f) basicUnsafeIndexM :: Monad m => Vector (a, b, c, d, e, f) -> Int -> m (a, b, c, d, e, f) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (a, b, c, d, e, f) -> Vector (a, b, c, d, e, f) -> m () elemseq :: Vector (a, b, c, d, e, f) -> (a, b, c, d, e, f) -> b0 -> b0 | |
| (Data a, Unbox a) => Data (Vector a) | |
Defined in Data.Vector.Unboxed.Base Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Vector a -> c (Vector a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Vector a) # toConstr :: Vector a -> Constr # dataTypeOf :: Vector a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Vector a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Vector a)) # gmapT :: (forall b. Data b => b -> b) -> Vector a -> Vector a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Vector a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Vector a -> r # gmapQ :: (forall d. Data d => d -> u) -> Vector a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Vector a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Vector a -> m (Vector a) # | |
| NFData (Vector a) | |
Defined in Data.Vector.Unboxed.Base | |
| (Vector Vector a, ToJSON a) => ToJSON (Vector a) | |
Defined in Data.Aeson.Types.ToJSON Methods toEncoding :: Vector a -> Encoding toJSONList :: [Vector a] -> Value toEncodingList :: [Vector a] -> Encoding | |
| Unbox a => Ixed (Vector a) | |
Defined in Control.Lens.At | |
| Unbox a => AsEmpty (Vector a) | |
Defined in Control.Lens.Empty | |
| Unbox a => Reversing (Vector a) | |
Defined in Control.Lens.Internal.Iso | |
| Unbox a => Wrapped (Vector a) | |
| (Unbox a, t ~ Vector a') => Rewrapped (Vector a) t | |
Defined in Control.Lens.Wrapped | |
| (Unbox a, Unbox b) => Cons (Vector a) (Vector b) a b | |
| (Unbox a, Unbox b) => Snoc (Vector a) (Vector b) a b | |
| (Unbox a, Unbox b) => Each (Vector a) (Vector b) a b | |
| type Mutable Vector | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Bool | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Char | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Double | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Float | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Int | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Int8 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Int16 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Int32 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Int64 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Word | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Word8 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Word16 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Word32 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector Word64 | |
Defined in Data.Vector.Unboxed.Base | |
| newtype Vector () | |
Defined in Data.Vector.Unboxed.Base | |
| type Item (Vector e) | |
Defined in Data.Vector.Unboxed | |
| newtype Vector (Complex a) | |
Defined in Data.Vector.Unboxed.Base | |
| data Vector (V2 a) | |
| data Vector (V3 a) | |
| data Vector (V4 a) | |
| newtype Vector (V1 a) | |
| data Vector (Plucker a) | |
Defined in Linear.Plucker | |
| data Vector (Quaternion a) | |
Defined in Linear.Quaternion | |
| newtype Vector (V0 a) | |
| type Index (Vector a) | |
Defined in Control.Lens.At | |
| type IxValue (Vector a) | |
Defined in Control.Lens.At | |
| type Unwrapped (Vector a) | |
Defined in Control.Lens.Wrapped | |
| data Vector (a, b) | |
| newtype Vector (Point f a) | |
Defined in Linear.Affine | |
| data Vector (a, b, c) | |
| data Vector (V n a) | |
| data Vector (a, b, c, d) | |
| data Vector (a, b, c, d, e) | |
| data Vector (a, b, c, d, e, f) | |
Constructors
| RGB | |
Fields
| |
sequenceBy :: Traversable t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> t (f a) -> f (t a) #
traverseBy :: Traversable t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (a -> f b) -> t a -> f (t b) #
antiquewhite :: (Ord a, Floating a) => Colour a #
aquamarine :: (Ord a, Floating a) => Colour a #
blanchedalmond :: (Ord a, Floating a) => Colour a #
blueviolet :: (Ord a, Floating a) => Colour a #
chartreuse :: (Ord a, Floating a) => Colour a #
cornflowerblue :: (Ord a, Floating a) => Colour a #
darkgoldenrod :: (Ord a, Floating a) => Colour a #
darkmagenta :: (Ord a, Floating a) => Colour a #
darkolivegreen :: (Ord a, Floating a) => Colour a #
darkorange :: (Ord a, Floating a) => Colour a #
darkorchid :: (Ord a, Floating a) => Colour a #
darksalmon :: (Ord a, Floating a) => Colour a #
darkseagreen :: (Ord a, Floating a) => Colour a #
darkslateblue :: (Ord a, Floating a) => Colour a #
darkslategray :: (Ord a, Floating a) => Colour a #
darkslategrey :: (Ord a, Floating a) => Colour a #
darkturquoise :: (Ord a, Floating a) => Colour a #
darkviolet :: (Ord a, Floating a) => Colour a #
deepskyblue :: (Ord a, Floating a) => Colour a #
dodgerblue :: (Ord a, Floating a) => Colour a #
floralwhite :: (Ord a, Floating a) => Colour a #
forestgreen :: (Ord a, Floating a) => Colour a #
ghostwhite :: (Ord a, Floating a) => Colour a #
greenyellow :: (Ord a, Floating a) => Colour a #
lavenderblush :: (Ord a, Floating a) => Colour a #
lemonchiffon :: (Ord a, Floating a) => Colour a #
lightcoral :: (Ord a, Floating a) => Colour a #
lightgoldenrodyellow :: (Ord a, Floating a) => Colour a #
lightgreen :: (Ord a, Floating a) => Colour a #
lightsalmon :: (Ord a, Floating a) => Colour a #
lightseagreen :: (Ord a, Floating a) => Colour a #
lightskyblue :: (Ord a, Floating a) => Colour a #
lightslategray :: (Ord a, Floating a) => Colour a #
lightslategrey :: (Ord a, Floating a) => Colour a #
lightsteelblue :: (Ord a, Floating a) => Colour a #
lightyellow :: (Ord a, Floating a) => Colour a #
mediumaquamarine :: (Ord a, Floating a) => Colour a #
mediumblue :: (Ord a, Floating a) => Colour a #
mediumorchid :: (Ord a, Floating a) => Colour a #
mediumpurple :: (Ord a, Floating a) => Colour a #
mediumseagreen :: (Ord a, Floating a) => Colour a #
mediumslateblue :: (Ord a, Floating a) => Colour a #
mediumspringgreen :: (Ord a, Floating a) => Colour a #
mediumturquoise :: (Ord a, Floating a) => Colour a #
mediumvioletred :: (Ord a, Floating a) => Colour a #
midnightblue :: (Ord a, Floating a) => Colour a #
navajowhite :: (Ord a, Floating a) => Colour a #
palegoldenrod :: (Ord a, Floating a) => Colour a #
paleturquoise :: (Ord a, Floating a) => Colour a #
palevioletred :: (Ord a, Floating a) => Colour a #
papayawhip :: (Ord a, Floating a) => Colour a #
powderblue :: (Ord a, Floating a) => Colour a #
saddlebrown :: (Ord a, Floating a) => Colour a #
sandybrown :: (Ord a, Floating a) => Colour a #
springgreen :: (Ord a, Floating a) => Colour a #
whitesmoke :: (Ord a, Floating a) => Colour a #
yellowgreen :: (Ord a, Floating a) => Colour a #
activeStart :: Active a -> a #
clampAfter :: Active a -> Active a #
clampBefore :: Active a -> Active a #
fromDuration :: Duration n -> n #
fromDynamic :: Dynamic a -> Active a #
isConstant :: Active a -> Bool #
toDuration :: n -> Duration n #
trimBefore :: Monoid a => Active a -> Active a #
ui :: Fractional a => Active a #
renderDia :: (Backend b v n, HasLinearMap v, Metric v, Typeable n, OrderedField n, Monoid' m) => b -> Options b v n -> QDiagram b v n m -> Result b v n #
renderDiaT :: (Backend b v n, HasLinearMap v, Metric v, Typeable n, OrderedField n, Monoid' m) => b -> Options b v n -> QDiagram b v n m -> (Transformation v n, Result b v n) #
appEnvelope :: Envelope v n -> Maybe (v n -> n) #
mkEnvelope :: (v n -> n) -> Envelope v n #
onEnvelope :: ((v n -> n) -> v n -> n) -> Envelope v n -> Envelope v n #
moveOriginBy :: (V t ~ v, N t ~ n, HasOrigin t) => v n -> t -> t #
juxtaposeDefault :: (Enveloped a, HasOrigin a) => Vn a -> a -> a -> a #
fromMeasured :: Num n => n -> n -> Measured n a -> a #
normalized :: Num n => n -> Measure n #
scaleLocal :: Num n => n -> Measured n a -> Measured n a #
applyAttr :: (AttributeClass a, HasStyle d) => a -> d -> d #
applyMAttr :: (AttributeClass a, N d ~ n, HasStyle d) => Measured n a -> d -> d #
applyTAttr :: (AttributeClass a, Transformable a, V a ~ V d, N a ~ N d, HasStyle d) => a -> d -> d #
atTAttr :: (V a ~ v, N a ~ n, AttributeClass a, Transformable a) => Lens' (Style v n) (Maybe a) #
getAttr :: AttributeClass a => Style v n -> Maybe a #
getSortedList :: SortedList a -> [a] #
maxRayTraceP :: (n ~ N a, Traced a, Num n) => Point (V a) n -> V a n -> a -> Maybe (Point (V a) n) #
mkSortedList :: Ord a => [a] -> SortedList a #
mkTrace :: (Point v n -> v n -> SortedList n) -> Trace v n #
apply :: Transformation v n -> v n -> v n #
avgScale :: (Additive v, Traversable v, Floating n) => Transformation v n -> n #
determinant :: (Additive v, Traversable v, Num n) => Transformation v n -> n #
dropTransl :: (Additive v, Num n) => Transformation v n -> Transformation v n #
fromLinear :: (Additive v, Num n) => (v n :-: v n) -> (v n :-: v n) -> Transformation v n #
inv :: (Functor v, Num n) => Transformation v n -> Transformation v n #
isReflection :: (Additive v, Traversable v, Num n, Ord n) => Transformation v n -> Bool #
scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a #
scaling :: (Additive v, Fractional n) => n -> Transformation v n #
transl :: Transformation v n -> v n #
translate :: Transformable t => Vn t -> t -> t #
translation :: v n -> Transformation v n #
transp :: Transformation v n -> v n :-: v n #
atop :: (OrderedField n, Metric v, Semigroup m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m #
fromNames :: IsName a => [(a, Subdiagram b v n m)] -> SubMap b v n m #
getSub :: (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> QDiagram b v n m #
groupOpacity :: (Metric v, OrderedField n, Semigroup m) => Double -> QDiagram b v n m -> QDiagram b v n m #
lookupName :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> QDiagram b v n m -> Maybe (Subdiagram b v n m) #
mkQD :: Prim b v n -> Envelope v n -> Trace v n -> SubMap b v n m -> Query v n m -> QDiagram b v n m #
mkSubdiagram :: QDiagram b v n m -> Subdiagram b v n m #
nameSub :: (IsName nm, Metric v, OrderedField n, Semigroup m) => (QDiagram b v n m -> Subdiagram b v n m) -> nm -> QDiagram b v n m -> QDiagram b v n m #
opacityGroup :: (Metric v, OrderedField n, Semigroup m) => Double -> QDiagram b v n m -> QDiagram b v n m #
pointDiagram :: (Metric v, Fractional n) => Point v n -> QDiagram b v n m #
rawSub :: Subdiagram b v n m -> QDiagram b v n m #
setEnvelope :: (OrderedField n, Metric v, Monoid' m) => Envelope v n -> QDiagram b v n m -> QDiagram b v n m #
setTrace :: (OrderedField n, Metric v, Semigroup m) => Trace v n -> QDiagram b v n m -> QDiagram b v n m #
subPoint :: (Metric v, OrderedField n) => Point v n -> Subdiagram b v n m #
withName :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> (Subdiagram b v n m -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m #
withNameAll :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> ([Subdiagram b v n m] -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m #
withNames :: (IsName nm, Metric v, Semigroup m, OrderedField n) => [nm] -> ([Subdiagram b v n m] -> QDiagram b v n m -> QDiagram b v n m) -> QDiagram b v n m -> QDiagram b v n m #
alignBy'Default :: (InSpace v n a, Fractional n, HasOrigin a) => (v n -> a -> Point v n) -> v n -> n -> a -> a #
center :: (InSpace v n a, Fractional n, Traversable v, Alignable a, HasOrigin a) => a -> a #
snugCenter :: (InSpace v n a, Traversable v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a #
snugCenterV :: (InSpace v n a, Fractional n, Alignable a, Traced a, HasOrigin a) => v n -> a -> a #
angleRatio :: Floating n => Angle n -> Angle n -> n #
atan2A' :: OrderedField n => n -> n -> Angle n #
quarterTurn :: Floating v => Angle v #
animEnvelope :: (OrderedField n, Metric v, Monoid' m) => QAnimation b v n m -> QAnimation b v n m #
animEnvelope' :: (OrderedField n, Metric v, Monoid' m) => Rational -> QAnimation b v n m -> QAnimation b v n m #
animRect :: (InSpace V2 n t, Monoid' m, TrailLike t, Enveloped t, Transformable t, Monoid t) => QAnimation b V2 n m -> t #
animRect' :: (InSpace V2 n t, Monoid' m, TrailLike t, Enveloped t, Transformable t, Monoid t) => Rational -> QAnimation b V2 n m -> t #
_LineWidth :: Iso' (LineWidth n) n #
_LineWidthM :: Iso' (LineWidthM n) (Measure n) #
_Recommend :: Prism' (Recommend a) a #
_fillOpacity :: Lens' (Style v n) Double #
_lineMiterLimit :: Lens' (Style v n) Double #
_lineWidth :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measure n) #
_recommend :: Lens (Recommend a) (Recommend b) a b #
_strokeOpacity :: Lens' (Style v n) Double #
fillOpacity :: HasStyle a => Double -> a -> a #
getDashing :: Dashing n -> Dashing n #
getFillOpacity :: FillOpacity -> Double #
getLineCap :: LineCap -> LineCap #
getLineJoin :: LineJoin -> LineJoin #
getLineWidth :: LineWidth n -> n #
getOpacity :: Opacity -> Double #
getStrokeOpacity :: StrokeOpacity -> Double #
huge :: OrderedField n => Measure n #
isCommitted :: Lens' (Recommend a) Bool #
large :: OrderedField n => Measure n #
lineMiterLimit :: HasStyle a => Double -> a -> a #
lineMiterLimitA :: HasStyle a => LineMiterLimit -> a -> a #
lineWidthM :: (N a ~ n, HasStyle a, Typeable n) => LineWidthM n -> a -> a #
medium :: OrderedField n => Measure n #
none :: OrderedField n => Measure n #
normal :: OrderedField n => Measure n #
small :: OrderedField n => Measure n #
someToAlpha :: SomeColor -> AlphaColour Double #
strokeOpacity :: HasStyle a => Double -> a -> a #
thick :: OrderedField n => Measure n #
thin :: OrderedField n => Measure n #
tiny :: OrderedField n => Measure n #
ultraThick :: OrderedField n => Measure n #
ultraThin :: OrderedField n => Measure n #
veryLarge :: OrderedField n => Measure n #
verySmall :: OrderedField n => Measure n #
veryThick :: OrderedField n => Measure n #
veryThin :: OrderedField n => Measure n #
boundingBox :: (InSpace v n a, HasBasis v, Enveloped a) => a -> BoundingBox v n #
boxCenter :: (Additive v, Fractional n) => BoundingBox v n -> Maybe (Point v n) #
boxExtents :: (Additive v, Num n) => BoundingBox v n -> v n #
boxFit :: (InSpace v n a, HasBasis v, Enveloped a, Transformable a, Monoid a) => BoundingBox v n -> a -> a #
boxGrid :: (Traversable v, Additive v, Num n, Enum n) => n -> BoundingBox v n -> [Point v n] #
boxTransform :: (Additive v, Fractional n) => BoundingBox v n -> BoundingBox v n -> Maybe (Transformation v n) #
emptyBox :: BoundingBox v n #
fromCorners :: (Additive v, Foldable v, Ord n) => Point v n -> Point v n -> BoundingBox v n #
fromPoint :: Point v n -> BoundingBox v n #
fromPoints :: (Additive v, Ord n) => [Point v n] -> BoundingBox v n #
getAllCorners :: (Additive v, Traversable v) => BoundingBox v n -> [Point v n] #
getCorners :: BoundingBox v n -> Maybe (Point v n, Point v n) #
inside' :: (Additive v, Foldable v, Ord n) => BoundingBox v n -> BoundingBox v n -> Bool #
isEmptyBox :: BoundingBox v n -> Bool #
outside' :: (Additive v, Foldable v, Ord n) => BoundingBox v n -> BoundingBox v n -> Bool #
appends :: (Juxtaposable a, Monoid' a) => a -> [(Vn a, a)] -> a #
atDirection :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Semigroup a) => Direction v n -> a -> a -> a #
beneath :: (Metric v, OrderedField n, Monoid' m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m #
beside :: (Juxtaposable a, Semigroup a) => Vn a -> a -> a -> a #
cat :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Monoid' a, HasOrigin a) => v n -> [a] -> a #
cat' :: (InSpace v n a, Metric v, Floating n, Juxtaposable a, Monoid' a, HasOrigin a) => v n -> CatOpts n -> [a] -> a #
composeAligned :: (Monoid' m, Floating n, Ord n, Metric v) => (QDiagram b v n m -> QDiagram b v n m) -> ([QDiagram b v n m] -> QDiagram b v n m) -> [QDiagram b v n m] -> QDiagram b v n m #
extrudeEnvelope :: (Metric v, OrderedField n, Monoid' m) => v n -> QDiagram b v n m -> QDiagram b v n m #
intrudeEnvelope :: (Metric v, OrderedField n, Monoid' m) => v n -> QDiagram b v n m -> QDiagram b v n m #
strut :: (Metric v, OrderedField n) => v n -> QDiagram b v n m #
withEnvelope :: (InSpace v n a, Monoid' m, Enveloped a) => a -> QDiagram b v n m -> QDiagram b v n m #
withTrace :: (InSpace v n a, Metric v, OrderedField n, Monoid' m, Traced a) => a -> QDiagram b v n m -> QDiagram b v n m #
cubicSpline :: (V t ~ v, N t ~ n, TrailLike t, Fractional (v n)) => Bool -> [Point v n] -> t #
asDeformation :: (Additive v, Num n) => Transformation v n -> Deformation v v n #
fromDirection :: (Metric v, Floating n) => Direction v n -> v n #
namePoint :: (IsName nm, Metric v, OrderedField n, Semigroup m) => (QDiagram b v n m -> Point v n) -> nm -> QDiagram b v n m -> QDiagram b v n m #
named :: (IsName nm, Metric v, OrderedField n, Semigroup m) => nm -> QDiagram b v n m -> QDiagram b v n m #
domainBounds :: DomainBounds p => p -> (N p, N p) #
stdTolerance :: Fractional a => a #
adjEps :: Lens' (AdjustOpts n) n #
adjMethod :: Lens' (AdjustOpts n) (AdjustMethod n) #
adjSide :: Lens' (AdjustOpts n) AdjustSide #
adjust :: (N t ~ n, Sectionable t, HasArcLength t, Fractional n) => t -> AdjustOpts n -> t #
fixPath :: (Metric v, OrderedField n) => Path v n -> [[FixedSegment v n]] #
pathCentroid :: (Metric v, OrderedField n) => Path v n -> Point v n #
pathFromLocTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> Path v n #
pathFromTrail :: (Metric v, OrderedField n) => Trail v n -> Path v n #
pathFromTrailAt :: (Metric v, OrderedField n) => Trail v n -> Point v n -> Path v n #
pathLocSegments :: (Metric v, OrderedField n) => Path v n -> [[Located (Segment Closed v n)]] #
pathOffsets :: (Metric v, OrderedField n) => Path v n -> [v n] #
pathTrails :: Path v n -> [Located (Trail v n)] #
pathVertices :: (Metric v, OrderedField n) => Path v n -> [[Point v n]] #
pathVertices' :: (Metric v, OrderedField n) => n -> Path v n -> [[Point v n]] #
reversePath :: (Metric v, OrderedField n) => Path v n -> Path v n #
scalePath :: (HasLinearMap v, Metric v, OrderedField n) => n -> Path v n -> Path v n #
clearValue :: QDiagram b v n m -> QDiagram b v n Any #
fixedSegIso :: (Num n, Additive v) => Iso' (FixedSegment v n) (Located (Segment Closed v n)) #
fromFixedSeg :: (Num n, Additive v) => FixedSegment v n -> Located (Segment Closed v n) #
getArcLengthBounded :: (Num n, Ord n) => n -> ArcLength n -> Interval n #
getArcLengthCached :: ArcLength n -> Interval n #
getArcLengthFun :: ArcLength n -> n -> Interval n #
mapSegmentVectors :: (v n -> v' n') -> Segment c v n -> Segment c v' n' #
mkFixedSeg :: (Num n, Additive v) => Located (Segment Closed v n) -> FixedSegment v n #
oeEnvelope :: Lens' (OffsetEnvelope v n) (Envelope v n) #
oeOffset :: Lens' (OffsetEnvelope v n) (TotalOffset v n) #
openLinear :: Segment Open v n #
requiredScale :: (Additive v, Foldable v, Fractional n, Ord n) => SizeSpec v n -> v n -> n #
requiredScaling :: (Additive v, Foldable v, Fractional n, Ord n) => SizeSpec v n -> v n -> Transformation v n #
sizeAdjustment :: (Additive v, Foldable v, OrderedField n) => SizeSpec v n -> BoundingBox v n -> (v n, Transformation v n) #
sized :: (InSpace v n a, HasLinearMap v, Transformable a, Enveloped a) => SizeSpec v n -> a -> a #
sizedAs :: (InSpace v n a, SameSpace a b, HasLinearMap v, Transformable a, Enveloped a, Enveloped b) => b -> a -> a #
normalAtParam :: (InSpace V2 n t, Parametric (Tangent t), Floating n) => t -> n -> V2 n #
tangentAtEnd :: EndValues (Tangent t) => t -> Vn t #
tangentAtParam :: Parametric (Tangent t) => t -> N t -> Vn t #
tangentAtStart :: EndValues (Tangent t) => t -> Vn t #
snugCenterXYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a #
snugCenterXZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a #
snugCenterYZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a #
snugCenterZ :: (InSpace v n a, R3 v, Fractional n, Alignable a, HasOrigin a, Traced a) => a -> a #
snugZ :: (V a ~ v, N a ~ n, Alignable a, Traced a, HasOrigin a, R3 v, Fractional n) => n -> a -> a #
highlightIntensity :: Traversal' (Style v n) Double #
highlightSize :: Traversal' (Style v n) Double #
camForward :: Camera l n -> Direction V3 n #
facing_ZCamera :: (Floating n, Ord n, Typeable n, CameraLens l, Renderable (Camera l n) b) => l n -> QDiagram b V3 n Any #
horizontalFieldOfView :: Lens' (PerspectiveLens n) (Angle n) #
mm50 :: Floating n => PerspectiveLens n #
mm50Camera :: (Typeable n, Floating n, Ord n, Renderable (Camera PerspectiveLens n) b) => QDiagram b V3 n Any #
mm50Narrow :: Floating n => PerspectiveLens n #
mm50Wide :: Floating n => PerspectiveLens n #
orthoHeight :: Lens' (OrthoLens n) n #
orthoWidth :: Lens' (OrthoLens n) n #
verticalFieldOfView :: Lens' (PerspectiveLens n) (Angle n) #
facingZ :: (R3 v, Functor v, Fractional n) => Deformation v v n #
parallelZ0 :: (R3 v, Num n) => Deformation v v n #
perspectiveZ1 :: (R3 v, Functor v, Fractional n) => Deformation v v n #
parallelLight :: (Typeable n, OrderedField n, Renderable (ParallelLight n) b) => Direction V3 n -> Colour Double -> QDiagram b V3 n Any #
pointLight :: (Typeable n, Num n, Ord n, Renderable (PointLight n) b) => Colour Double -> QDiagram b V3 n Any #
difference :: (CsgPrim a, CsgPrim b) => a n -> b n -> CSG n #
intersection :: (CsgPrim a, CsgPrim b) => a n -> b n -> CSG n #
pointAt :: (Floating n, Ord n) => Direction V3 n -> Direction V3 n -> Direction V3 n -> Transformation V3 n #
reflectAcross :: (InSpace v n t, Metric v, Fractional n, Transformable t) => Point v n -> v n -> t -> t #
reflectZ :: (InSpace v n t, R3 v, Transformable t) => t -> t #
reflectionAcross :: (Metric v, Fractional n) => Point v n -> v n -> Transformation v n #
reflectionZ :: (Additive v, R3 v, Num n) => Transformation v n #
rotateAbout :: (InSpace V3 n t, Floating n, Transformable t) => Point V3 n -> Direction V3 n -> Angle n -> t -> t #
rotationAbout :: Floating n => Point V3 n -> Direction V3 n -> Angle n -> Transformation V3 n #
scaleZ :: (InSpace v n t, R3 v, Fractional n, Transformable t) => n -> t -> t #
scalingZ :: (Additive v, R3 v, Fractional n) => n -> Transformation v n #
translateZ :: (InSpace v n t, R3 v, Transformable t) => n -> t -> t #
translationZ :: (Additive v, R3 v, Num n) => n -> Transformation v n #
boundaryFrom :: (OrderedField n, Metric v, Semigroup m) => Subdiagram b v n m -> v n -> Point v n #
boundaryFromMay :: (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> v n -> Maybe (Point v n) #
closeTrail :: Trail v n -> Trail v n #
emptyTrail :: (Metric v, OrderedField n) => Trail v n #
fixTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> [FixedSegment v n] #
getSegment :: t -> GetSegment t #
isLineEmpty :: (Metric v, OrderedField n) => Trail' Line v n -> Bool #
isTrailEmpty :: (Metric v, OrderedField n) => Trail v n -> Bool #
lineFromOffsets :: (Metric v, OrderedField n) => [v n] -> Trail' Line v n #
lineFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Trail' Line v n #
lineFromVertices :: (Metric v, OrderedField n) => [Point v n] -> Trail' Line v n #
lineOffset :: (Metric v, OrderedField n) => Trail' Line v n -> v n #
lineOffsets :: Trail' Line v n -> [v n] #
lineVertices :: (Metric v, OrderedField n) => Located (Trail' Line v n) -> [Point v n] #
lineVertices' :: (Metric v, OrderedField n) => n -> Located (Trail' Line v n) -> [Point v n] #
loopFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Segment Open v n -> Trail' Loop v n #
loopOffsets :: (Metric v, OrderedField n) => Trail' Loop v n -> [v n] #
loopVertices :: (Metric v, OrderedField n) => Located (Trail' Loop v n) -> [Point v n] #
loopVertices' :: (Metric v, OrderedField n) => n -> Located (Trail' Loop v n) -> [Point v n] #
numSegs :: (Num c, Measured (SegMeasure v n) a) => a -> c #
offset :: (OrderedField n, Metric v, Measured (SegMeasure v n) t) => t -> v n #
onLine :: (Metric v, OrderedField n) => (Trail' Line v n -> Trail' Line v n) -> Trail v n -> Trail v n #
onLineSegments :: (Metric v, OrderedField n) => ([Segment Closed v n] -> [Segment Closed v n]) -> Trail' Line v n -> Trail' Line v n #
onTrail :: (Trail' Line v n -> Trail' l1 v n) -> (Trail' Loop v n -> Trail' l2 v n) -> Trail v n -> Trail v n #
reverseLine :: (Metric v, OrderedField n) => Trail' Line v n -> Trail' Line v n #
reverseLocLine :: (Metric v, OrderedField n) => Located (Trail' Line v n) -> Located (Trail' Line v n) #
reverseLocLoop :: (Metric v, OrderedField n) => Located (Trail' Loop v n) -> Located (Trail' Loop v n) #
reverseLocTrail :: (Metric v, OrderedField n) => Located (Trail v n) -> Located (Trail v n) #
reverseLoop :: (Metric v, OrderedField n) => Trail' Loop v n -> Trail' Loop v n #
reverseTrail :: (Metric v, OrderedField n) => Trail v n -> Trail v n #
trailFromOffsets :: (Metric v, OrderedField n) => [v n] -> Trail v n #
trailFromSegments :: (Metric v, OrderedField n) => [Segment Closed v n] -> Trail v n #
trailFromVertices :: (Metric v, OrderedField n) => [Point v n] -> Trail v n #
trailLocSegments :: (Metric v, OrderedField n) => Located (Trail v n) -> [Located (Segment Closed v n)] #
trailMeasure :: (SegMeasure v n :>: m, Measured (SegMeasure v n) t) => a -> (m -> a) -> t -> a #
trailOffset :: (Metric v, OrderedField n) => Trail v n -> v n #
trailOffsets :: (Metric v, OrderedField n) => Trail v n -> [v n] #
trailSegments :: (Metric v, OrderedField n) => Trail v n -> [Segment Closed v n] #
trailVertices :: (Metric v, OrderedField n) => Located (Trail v n) -> [Point v n] #
trailVertices' :: (Metric v, OrderedField n) => n -> Located (Trail v n) -> [Point v n] #
unfixTrail :: (Metric v, Ord n, Floating n) => [FixedSegment v n] -> Located (Trail v n) #
fromOffsets :: TrailLike t => [Vn t] -> t #
conjugate :: (Additive v, Num n) => Transformation v n -> Transformation v n -> Transformation v n #
transformed :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => Transformation v n -> Iso a b a b #
translated :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => v n -> Iso a b a b #
underT :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b) => (a -> b) -> Transformation v n -> a -> b #
snugCenterX :: (InSpace v n a, R1 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a #
snugCenterXY :: (InSpace v n a, R2 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a #
snugCenterY :: (InSpace v n a, R2 v, Fractional n, Alignable a, Traced a, HasOrigin a) => a -> a #
annularWedge :: (TrailLike t, V t ~ V2, N t ~ n, RealFloat n) => n -> n -> Direction V2 n -> Angle n -> t #
arrow :: (TypeableFloat n, Renderable (Path V2 n) b) => n -> QDiagram b V2 n Any #
arrow' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> n -> QDiagram b V2 n Any #
arrowAt :: (TypeableFloat n, Renderable (Path V2 n) b) => Point V2 n -> V2 n -> QDiagram b V2 n Any #
arrowAt' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> Point V2 n -> V2 n -> QDiagram b V2 n Any #
arrowBetween :: (TypeableFloat n, Renderable (Path V2 n) b) => Point V2 n -> Point V2 n -> QDiagram b V2 n Any #
arrowBetween' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> Point V2 n -> Point V2 n -> QDiagram b V2 n Any #
arrowV :: (TypeableFloat n, Renderable (Path V2 n) b) => V2 n -> QDiagram b V2 n Any #
arrowV' :: (TypeableFloat n, Renderable (Path V2 n) b) => ArrowOpts n -> V2 n -> QDiagram b V2 n Any #
connect :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
connect' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
connectOutside :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
connectOutside' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
connectPerim :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => n1 -> n2 -> Angle n -> Angle n -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
connectPerim' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName n1, IsName n2) => ArrowOpts n -> n1 -> n2 -> Angle n -> Angle n -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
gap :: Traversal' (ArrowOpts n) (Measure n) #
gaps :: Traversal' (ArrowOpts n) (Measure n) #
headLength :: Lens' (ArrowOpts n) (Measure n) #
headTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n) #
lengths :: Traversal' (ArrowOpts n) (Measure n) #
shaftTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n) #
straightShaft :: OrderedField n => Trail V2 n #
tailLength :: Lens' (ArrowOpts n) (Measure n) #
tailTexture :: TypeableFloat n => Lens' (ArrowOpts n) (Texture n) #
arrowheadDart :: RealFloat n => Angle n -> ArrowHT n #
arrowheadHalfDart :: RealFloat n => Angle n -> ArrowHT n #
arrowheadSpike :: RealFloat n => Angle n -> ArrowHT n #
arrowheadThorn :: RealFloat n => Angle n -> ArrowHT n #
arrowheadTriangle :: RealFloat n => Angle n -> ArrowHT n #
arrowtailBlock :: RealFloat n => Angle n -> ArrowHT n #
arrowtailQuill :: OrderedField n => Angle n -> ArrowHT n #
_FillTexture :: Iso' (FillTexture n) (Recommend (Texture n)) #
_LineTexture :: Iso (LineTexture n) (LineTexture n') (Texture n) (Texture n') #
defaultLG :: Fractional n => Texture n #
defaultRG :: Fractional n => Texture n #
getFillTexture :: FillTexture n -> Texture n #
getLineTexture :: LineTexture n -> Texture n #
lGradSpreadMethod :: Lens' (LGradient n) SpreadMethod #
lGradStops :: Lens' (LGradient n) [GradientStop n] #
lGradTrans :: Lens' (LGradient n) (Transformation V2 n) #
mkLinearGradient :: Num n => [GradientStop n] -> Point V2 n -> Point V2 n -> SpreadMethod -> Texture n #
mkRadialGradient :: Num n => [GradientStop n] -> Point V2 n -> n -> Point V2 n -> n -> SpreadMethod -> Texture n #
rGradRadius0 :: Lens' (RGradient n) n #
rGradRadius1 :: Lens' (RGradient n) n #
rGradSpreadMethod :: Lens' (RGradient n) SpreadMethod #
rGradStops :: Lens' (RGradient n) [GradientStop n] #
rGradTrans :: Lens' (RGradient n) (Transformation V2 n) #
recommendFillColor :: (InSpace V2 n a, Color c, Typeable n, Floating n, HasStyle a) => c -> a -> a #
stopColor :: Lens' (GradientStop n) SomeColor #
stopFraction :: Lens' (GradientStop n) n #
bg :: (TypeableFloat n, Renderable (Path V2 n) b) => Colour Double -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
bgFrame :: (TypeableFloat n, Renderable (Path V2 n) b) => n -> Colour Double -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
boundingRect :: (InSpace V2 n a, SameSpace a t, Enveloped t, Transformable t, TrailLike t, Monoid t, Enveloped a) => a -> t #
extrudeBottom :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m #
extrudeLeft :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m #
extrudeRight :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m #
extrudeTop :: (OrderedField n, Monoid' m) => n -> QDiagram b V2 n m -> QDiagram b V2 n m #
hcat' :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => CatOpts n -> [a] -> a #
rectEnvelope :: (OrderedField n, Monoid' m) => Point V2 n -> V2 n -> QDiagram b V2 n m -> QDiagram b V2 n m #
vcat' :: (InSpace V2 n a, Floating n, Juxtaposable a, HasOrigin a, Monoid' a) => CatOpts n -> [a] -> a #
facingX :: (R1 v, Functor v, Fractional n) => Deformation v v n #
facingY :: (R2 v, Functor v, Fractional n) => Deformation v v n #
parallelX0 :: (R1 v, Num n) => Deformation v v n #
parallelY0 :: (R2 v, Num n) => Deformation v v n #
perspectiveX1 :: (R1 v, Functor v, Fractional n) => Deformation v v n #
perspectiveY1 :: (R2 v, Functor v, Floating n) => Deformation v v n #
image :: (TypeableFloat n, Typeable a, Renderable (DImage n a) b) => DImage n a -> QDiagram b V2 n Any #
rasterDia :: (TypeableFloat n, Renderable (DImage n Embedded) b) => (Int -> Int -> AlphaColour Double) -> Int -> Int -> QDiagram b V2 n Any #
eLineWidth :: Lens (EnvelopeOpts n1) (EnvelopeOpts n2) (Measure n1) (Measure n2) #
ePoints :: Lens' (EnvelopeOpts n) Int #
oMinSize :: Lens' (OriginOpts n) n #
oScale :: Lens' (OriginOpts n) n #
showEnvelope :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => QDiagram b V2 n Any -> QDiagram b V2 n Any #
showEnvelope' :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => EnvelopeOpts n -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
showLabels :: (TypeableFloat n, Renderable (Text n) b, Semigroup m) => QDiagram b V2 n m -> QDiagram b V2 n Any #
showOrigin :: (TypeableFloat n, Renderable (Path V2 n) b, Monoid' m) => QDiagram b V2 n m -> QDiagram b V2 n m #
showOrigin' :: (TypeableFloat n, Renderable (Path V2 n) b, Monoid' m) => OriginOpts n -> QDiagram b V2 n m -> QDiagram b V2 n m #
showTrace :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => QDiagram b V2 n Any -> QDiagram b V2 n Any #
showTrace' :: (Enum n, TypeableFloat n, Renderable (Path V2 n) b) => TraceOpts n -> QDiagram b V2 n Any -> QDiagram b V2 n Any #
intersectPoints :: (InSpace V2 n t, SameSpace t s, ToPath t, ToPath s, OrderedField n) => t -> s -> [P2 n] #
intersectPoints' :: (InSpace V2 n t, SameSpace t s, ToPath t, ToPath s, OrderedField n) => n -> t -> s -> [P2 n] #
intersectPointsP :: OrderedField n => Path V2 n -> Path V2 n -> [P2 n] #
intersectPointsP' :: OrderedField n => n -> Path V2 n -> Path V2 n -> [P2 n] #
intersectPointsT :: OrderedField n => Located (Trail V2 n) -> Located (Trail V2 n) -> [P2 n] #
intersectPointsT' :: OrderedField n => n -> Located (Trail V2 n) -> Located (Trail V2 n) -> [P2 n] #
queryFillRule :: Lens' (StrokeOpts a) FillRule #
stroke :: (InSpace V2 n t, ToPath t, TypeableFloat n, Renderable (Path V2 n) b) => t -> QDiagram b V2 n Any #
stroke' :: (InSpace V2 n t, ToPath t, TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> t -> QDiagram b V2 n Any #
strokeLine :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail' Line V2 n -> QDiagram b V2 n Any #
strokeLocLine :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail' Line V2 n) -> QDiagram b V2 n Any #
strokeLocLoop :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail' Loop V2 n) -> QDiagram b V2 n Any #
strokeLocT :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail V2 n) -> QDiagram b V2 n Any #
strokeLocTrail :: (TypeableFloat n, Renderable (Path V2 n) b) => Located (Trail V2 n) -> QDiagram b V2 n Any #
strokeLoop :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail' Loop V2 n -> QDiagram b V2 n Any #
strokeP' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Path V2 n -> QDiagram b V2 n Any #
strokePath :: (TypeableFloat n, Renderable (Path V2 n) b) => Path V2 n -> QDiagram b V2 n Any #
strokePath' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Path V2 n -> QDiagram b V2 n Any #
strokeT' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Trail V2 n -> QDiagram b V2 n Any #
strokeTrail :: (TypeableFloat n, Renderable (Path V2 n) b) => Trail V2 n -> QDiagram b V2 n Any #
strokeTrail' :: (TypeableFloat n, Renderable (Path V2 n) b, IsName a) => StrokeOpts a -> Trail V2 n -> QDiagram b V2 n Any #
vertexNames :: Lens (StrokeOpts a) (StrokeOpts a') [[a]] [[a']] #
polyCenter :: Lens' (PolygonOpts n) (Point V2 n) #
polyOrient :: Lens' (PolygonOpts n) (PolyOrientation n) #
polyTrail :: OrderedField n => PolygonOpts n -> Located (Trail V2 n) #
polyType :: Lens' (PolygonOpts n) (PolyType n) #
eqTriangle :: (InSpace V2 n t, TrailLike t) => n -> t #
hendecagon :: (InSpace V2 n t, TrailLike t) => n -> t #
radiusBL :: Lens' (RoundedRectOpts d) d #
radiusBR :: Lens' (RoundedRectOpts d) d #
radiusTL :: Lens' (RoundedRectOpts d) d #
radiusTR :: Lens' (RoundedRectOpts d) d #
roundedRect' :: (InSpace V2 n t, TrailLike t, RealFloat n) => n -> n -> RoundedRectOpts n -> t #
unitSquare :: (InSpace V2 n t, TrailLike t) => t #
_fontSizeR :: (Typeable n, OrderedField n) => Lens' (Style v n) (Measured n (Recommend n)) #
alignedText :: (TypeableFloat n, Renderable (Text n) b) => n -> n -> String -> QDiagram b V2 n Any #
baselineText :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any #
mediumWeight :: HasStyle a => a -> a #
text :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any #
thinWeight :: HasStyle a => a -> a #
topLeftText :: (TypeableFloat n, Renderable (Text n) b) => String -> QDiagram b V2 n Any #
ultraLight :: HasStyle a => a -> a #
reflectAbout :: (InSpace V2 n t, OrderedField n, Transformable t) => P2 n -> Direction V2 n -> t -> t #
reflectX :: (InSpace v n t, R1 v, Transformable t) => t -> t #
reflectXY :: (InSpace v n t, R2 v, Transformable t) => t -> t #
reflectY :: (InSpace v n t, R2 v, Transformable t) => t -> t #
reflectionAbout :: OrderedField n => P2 n -> Direction V2 n -> T2 n #
reflectionX :: (Additive v, R1 v, Num n) => Transformation v n #
reflectionXY :: (Additive v, R2 v, Num n) => Transformation v n #
reflectionY :: (Additive v, R2 v, Num n) => Transformation v n #
rotateAround :: (InSpace V2 n t, Transformable t, Floating n) => P2 n -> Angle n -> t -> t #
rotateTo :: (InSpace V2 n t, OrderedField n, Transformable t) => Direction V2 n -> t -> t #
rotated :: (InSpace V2 n a, Floating n, SameSpace a b, Transformable a, Transformable b) => Angle n -> Iso a b a b #
rotationTo :: OrderedField n => Direction V2 n -> T2 n #
scaleRotateTo :: (InSpace V2 n t, Transformable t, Floating n) => V2 n -> t -> t #
scaleX :: (InSpace v n t, R2 v, Fractional n, Transformable t) => n -> t -> t #
scaleY :: (InSpace v n t, R2 v, Fractional n, Transformable t) => n -> t -> t #
scalingRotationTo :: Floating n => V2 n -> T2 n #
scalingX :: (Additive v, R1 v, Fractional n) => n -> Transformation v n #
scalingY :: (Additive v, R2 v, Fractional n) => n -> Transformation v n #
shearX :: (InSpace V2 n t, Transformable t) => n -> t -> t #
shearY :: (InSpace V2 n t, Transformable t) => n -> t -> t #
translateX :: (InSpace v n t, R1 v, Transformable t) => n -> t -> t #
translateY :: (InSpace v n t, R2 v, Transformable t) => n -> t -> t #
translationX :: (Additive v, R1 v, Num n) => n -> Transformation v n #
translationY :: (Additive v, R2 v, Num n) => n -> Transformation v n #
globalPackage :: IO FilePath #
project :: (Metric v, Fractional a) => v a -> v a -> v a #
(^/) :: (Functor f, Fractional a) => f a -> a -> f a #
basis :: (Additive t, Traversable t, Num a) => [t a] #
basisFor :: (Traversable t, Num a) => t b -> [t a] #
scaled :: (Traversable t, Num a) => t a -> t (t a) #
_head :: Cons s s a a => Traversal' s a #
_init :: Snoc s s a a => Traversal' s s #
_last :: Snoc s s a a => Traversal' s a #
_tail :: Cons s s a a => Traversal' s s #
fromEq :: AnEquality s t a b -> Equality b a t s #
mapEq :: AnEquality s t a b -> f s -> f a #
runEq :: AnEquality s t a b -> Identical s t a b #
substEq :: AnEquality s t a b -> ((s ~ a) -> (t ~ b) -> r) -> r #
(^?!) :: HasCallStack => s -> Getting (Endo a) s a -> a #
(^@..) :: s -> IndexedGetting i (Endo [(i, a)]) s a -> [(i, a)] #
(^@?!) :: HasCallStack => s -> IndexedGetting i (Endo (i, a)) s a -> (i, a) #
asumOf :: Alternative f => Getting (Endo (f a)) s (f a) -> s -> f a #
concatMapOf :: Getting [r] s a -> (a -> [r]) -> s -> [r] #
droppingWhile :: (Conjoined p, Profunctor q, Applicative f) => (a -> Bool) -> Optical p q (Compose (State Bool) f) s t a a -> Optical p q f s t a a #
elemIndexOf :: Eq a => IndexedGetting i (First i) s a -> a -> s -> Maybe i #
elemIndicesOf :: Eq a => IndexedGetting i (Endo [i]) s a -> a -> s -> [i] #
findIndexOf :: IndexedGetting i (First i) s a -> (a -> Bool) -> s -> Maybe i #
findIndicesOf :: IndexedGetting i (Endo [i]) s a -> (a -> Bool) -> s -> [i] #
foldMapByOf :: Fold s a -> (r -> r -> r) -> r -> (a -> r) -> s -> r #
folded :: Foldable f => IndexedFold Int (f a) a #
folded64 :: Foldable f => IndexedFold Int64 (f a) a #
foldr1Of' :: HasCallStack => Getting (Dual (Endo (Endo (Maybe a)))) s a -> (a -> a -> a) -> s -> a #
foldring :: (Contravariant f, Applicative f) => ((a -> f a -> f a) -> f a -> s -> f a) -> LensLike f s t a b #
iconcatMapOf :: IndexedGetting i [r] s a -> (i -> a -> [r]) -> s -> [r] #
idroppingWhile :: (Indexable i p, Profunctor q, Applicative f) => (i -> a -> Bool) -> Optical (Indexed i) q (Compose (State Bool) f) s t a a -> Optical p q f s t a a #
ifindMOf :: Monad m => IndexedGetting i (Endo (m (Maybe a))) s a -> (i -> a -> m Bool) -> s -> m (Maybe a) #
ifoldMapOf :: IndexedGetting i m s a -> (i -> a -> m) -> s -> m #
ifolding :: (Foldable f, Indexable i p, Contravariant g, Applicative g) => (s -> f (i, a)) -> Over p g s t a b #
ifoldlMOf :: Monad m => IndexedGetting i (Endo (r -> m r)) s a -> (i -> r -> a -> m r) -> r -> s -> m r #
ifoldlOf :: IndexedGetting i (Dual (Endo r)) s a -> (i -> r -> a -> r) -> r -> s -> r #
ifoldlOf' :: IndexedGetting i (Endo (r -> r)) s a -> (i -> r -> a -> r) -> r -> s -> r #
ifoldrMOf :: Monad m => IndexedGetting i (Dual (Endo (r -> m r))) s a -> (i -> a -> r -> m r) -> r -> s -> m r #
ifoldrOf :: IndexedGetting i (Endo r) s a -> (i -> a -> r -> r) -> r -> s -> r #
ifoldrOf' :: IndexedGetting i (Dual (Endo (r -> r))) s a -> (i -> a -> r -> r) -> r -> s -> r #
ifoldring :: (Indexable i p, Contravariant f, Applicative f) => ((i -> a -> f a -> f a) -> f a -> s -> f a) -> Over p f s t a b #
iforMOf_ :: Monad m => IndexedGetting i (Sequenced r m) s a -> s -> (i -> a -> m r) -> m () #
iforOf_ :: Functor f => IndexedGetting i (Traversed r f) s a -> s -> (i -> a -> f r) -> f () #
imapMOf_ :: Monad m => IndexedGetting i (Sequenced r m) s a -> (i -> a -> m r) -> s -> m () #
ipre :: IndexedGetting i (First (i, a)) s a -> IndexPreservingGetter s (Maybe (i, a)) #
ipreuse :: MonadState s m => IndexedGetting i (First (i, a)) s a -> m (Maybe (i, a)) #
ipreuses :: MonadState s m => IndexedGetting i (First r) s a -> (i -> a -> r) -> m (Maybe r) #
ipreview :: MonadReader s m => IndexedGetting i (First (i, a)) s a -> m (Maybe (i, a)) #
ipreviews :: MonadReader s m => IndexedGetting i (First r) s a -> (i -> a -> r) -> m (Maybe r) #
itakingWhile :: (Indexable i p, Profunctor q, Contravariant f, Applicative f) => (i -> a -> Bool) -> Optical' (Indexed i) q (Const (Endo (f s)) :: Type -> Type) s a -> Optical' p q f s a #
itoListOf :: IndexedGetting i (Endo [(i, a)]) s a -> s -> [(i, a)] #
itraverseOf_ :: Functor f => IndexedGetting i (Traversed r f) s a -> (i -> a -> f r) -> s -> f () #
lined :: Applicative f => IndexedLensLike' Int f String String #
maximum1Of :: Ord a => Getting (Max a) s a -> s -> a #
minimum1Of :: Ord a => Getting (Min a) s a -> s -> a #
replicated :: Int -> Fold a a #
sequence1Of_ :: Functor f => Getting (TraversedF a f) s (f a) -> s -> f () #
sequenceAOf_ :: Functor f => Getting (Traversed a f) s (f a) -> s -> f () #
sequenceOf_ :: Monad m => Getting (Sequenced a m) s (m a) -> s -> m () #
takingWhile :: (Conjoined p, Applicative f) => (a -> Bool) -> Over p (TakingWhile p f a a) s t a a -> Over p f s t a a #
toNonEmptyOf :: Getting (NonEmptyDList a) s a -> s -> NonEmpty a #
traverse1Of_ :: Functor f => Getting (TraversedF r f) s a -> (a -> f r) -> s -> f () #
traverseOf_ :: Functor f => Getting (Traversed r f) s a -> (a -> f r) -> s -> f () #
worded :: Applicative f => IndexedLensLike' Int f String String #
(^@.) :: s -> IndexedGetting i (i, a) s a -> (i, a) #
getting :: (Profunctor p, Profunctor q, Functor f, Contravariant f) => Optical p q f s t a b -> Optical' p q f s a #
ilistening :: MonadWriter w m => IndexedGetting i (i, u) w u -> m a -> m (a, (i, u)) #
ilistenings :: MonadWriter w m => IndexedGetting i v w u -> (i -> u -> v) -> m a -> m (a, v) #
ito :: (Indexable i p, Contravariant f) => (s -> (i, a)) -> Over' p f s a #
iuse :: MonadState s m => IndexedGetting i (i, a) s a -> m (i, a) #
iuses :: MonadState s m => IndexedGetting i r s a -> (i -> a -> r) -> m r #
iview :: MonadReader s m => IndexedGetting i (i, a) s a -> m (i, a) #
iviews :: MonadReader s m => IndexedGetting i r s a -> (i -> a -> r) -> m r #
like :: (Profunctor p, Contravariant f, Functor f) => a -> Optic' p f s a #
listening :: MonadWriter w m => Getting u w u -> m a -> m (a, u) #
listenings :: MonadWriter w m => Getting v w u -> (u -> v) -> m a -> m (a, v) #
to :: (Profunctor p, Contravariant f) => (s -> a) -> Optic' p f s a #
use :: MonadState s m => Getting a s a -> m a #
view :: MonadReader s m => Getting a s a -> m a #
iall :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool #
iany :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool #
icompose :: Indexable p c => (i -> j -> p) -> (Indexed i s t -> r) -> (Indexed j a b -> s -> t) -> c a b -> r #
iconcatMap :: FoldableWithIndex i f => (i -> a -> [b]) -> f a -> [b] #
ifind :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Maybe (i, a) #
ifoldMapBy :: FoldableWithIndex i t => (r -> r -> r) -> r -> (i -> a -> r) -> t a -> r #
ifoldMapByOf :: IndexedFold i t a -> (r -> r -> r) -> r -> (i -> a -> r) -> t -> r #
ifoldlM :: (FoldableWithIndex i f, Monad m) => (i -> b -> a -> m b) -> b -> f a -> m b #
ifoldrM :: (FoldableWithIndex i f, Monad m) => (i -> a -> b -> m b) -> b -> f a -> m b #
ifor :: (TraversableWithIndex i t, Applicative f) => t a -> (i -> a -> f b) -> f (t b) #
iforM :: (TraversableWithIndex i t, Monad m) => t a -> (i -> a -> m b) -> m (t b) #
iforM_ :: (FoldableWithIndex i t, Monad m) => t a -> (i -> a -> m b) -> m () #
ifor_ :: (FoldableWithIndex i t, Applicative f) => t a -> (i -> a -> f b) -> f () #
imapAccumL :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b) #
imapAccumR :: TraversableWithIndex i t => (i -> s -> a -> (s, b)) -> s -> t a -> (s, t b) #
imapM :: (TraversableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m (t b) #
imapM_ :: (FoldableWithIndex i t, Monad m) => (i -> a -> m b) -> t a -> m () #
inone :: FoldableWithIndex i f => (i -> a -> Bool) -> f a -> Bool #
itoList :: FoldableWithIndex i f => f a -> [(i, a)] #
itraverseBy :: TraversableWithIndex i t => (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (i -> a -> f b) -> t a -> f (t b) #
itraverseByOf :: IndexedTraversal i s t a b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (i -> a -> f b) -> s -> f t #
itraverse_ :: (FoldableWithIndex i t, Applicative f) => (i -> a -> f b) -> t a -> f () #
indexing :: Indexable Int p => ((a -> Indexing f b) -> s -> Indexing f t) -> p a (f b) -> s -> f t #
indexing64 :: Indexable Int64 p => ((a -> Indexing64 f b) -> s -> Indexing64 f t) -> p a (f b) -> s -> f t #
makeClassyPrisms :: Name -> DecsQ #
makePrisms :: Name -> DecsQ #
retagged :: (Profunctor p, Bifunctor p) => p a b -> p s b #
bimapping :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> AnIso s' t' a' b' -> Iso (f s s') (g t t') (f a a') (g b b') #
contramapping :: Contravariant f => AnIso s t a b -> Iso (f a) (f b) (f s) (f t) #
dimapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> AnIso s' t' a' b' -> Iso (p a s') (q b t') (p s a') (q t b') #
lmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p a x) (q b y) (p s x) (q t y) #
rmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p x s) (q y t) (p x a) (q y b) #
(#%%=) :: MonadState s m => ALens s s a b -> (a -> (r, b)) -> m r #
(#%=) :: MonadState s m => ALens s s a b -> (a -> b) -> m () #
(#=) :: MonadState s m => ALens s s a b -> b -> m () #
(%%=) :: MonadState s m => Over p ((,) r) s s a b -> p a (r, b) -> m r #
(<#%=) :: MonadState s m => ALens s s a b -> (a -> b) -> m b #
(<#=) :: MonadState s m => ALens s s a b -> b -> m b #
(<%=) :: MonadState s m => LensLike ((,) b) s s a b -> (a -> b) -> m b #
(<//=) :: (MonadState s m, Fractional a) => LensLike' ((,) a) s a -> a -> m a #
(<//~) :: Fractional a => LensLike ((,) a) s t a a -> a -> s -> (a, t) #
(<<%=) :: (Strong p, MonadState s m) => Over p ((,) a) s s a b -> p a b -> m a #
(<<.=) :: MonadState s m => LensLike ((,) a) s s a b -> b -> m a #
(<<//=) :: (MonadState s m, Fractional a) => LensLike' ((,) a) s a -> a -> m a #
(<<//~) :: Fractional a => LensLike' ((,) a) s a -> a -> s -> (a, s) #
(<<^^=) :: (MonadState s m, Fractional a, Integral e) => LensLike' ((,) a) s a -> e -> m a #
(<<~) :: MonadState s m => ALens s s a b -> m b -> m b #
(<^^=) :: (MonadState s m, Fractional a, Integral e) => LensLike' ((,) a) s a -> e -> m a #
alongside :: LensLike (AlongsideLeft f b') s t a b -> LensLike (AlongsideRight f t) s' t' a' b' -> LensLike f (s, s') (t, t') (a, a') (b, b') #
choosing :: Functor f => LensLike f s t a b -> LensLike f s' t' a b -> LensLike f (Either s s') (Either t t') a b #
chosen :: IndexPreservingLens (Either a a) (Either b b) a b #
cloneIndexPreservingLens :: ALens s t a b -> IndexPreservingLens s t a b #
cloneIndexedLens :: AnIndexedLens i s t a b -> IndexedLens i s t a b #
ilens :: (s -> (i, a)) -> (s -> b -> t) -> IndexedLens i s t a b #
iplens :: (s -> a) -> (s -> b -> t) -> IndexPreservingLens s t a b #
ilevels :: Applicative f => Traversing (Indexed i) f s t a b -> IndexedLensLike Int f s t (Level i a) (Level j b) #
composOpFold :: Plated a => b -> (b -> b -> b) -> (a -> b) -> a -> b #
contextsOf :: ATraversal' a a -> a -> [Context a a a] #
contextsOn :: Plated a => ATraversal s t a a -> s -> [Context a a t] #
contextsOnOf :: ATraversal s t a a -> ATraversal' a a -> s -> [Context a a t] #
cosmosOf :: (Applicative f, Contravariant f) => LensLike' f a a -> LensLike' f a a #
cosmosOn :: (Applicative f, Contravariant f, Plated a) => LensLike' f s a -> LensLike' f s a #
cosmosOnOf :: (Applicative f, Contravariant f) => LensLike' f s a -> LensLike' f a a -> LensLike' f s a #
deep :: (Conjoined p, Applicative f, Plated s) => Traversing p f s s a b -> Over p f s s a b #
holesOnOf :: Conjoined p => LensLike (Bazaar p r r) s t a b -> Over p (Bazaar p r r) a b r r -> s -> [Pretext p r r t] #
rewriteMOf :: Monad m => LensLike (WrappedMonad m) a b a b -> (b -> m (Maybe a)) -> a -> m b #
rewriteMOn :: (Monad m, Plated a) => LensLike (WrappedMonad m) s t a a -> (a -> m (Maybe a)) -> s -> m t #
rewriteMOnOf :: Monad m => LensLike (WrappedMonad m) s t a b -> LensLike (WrappedMonad m) a b a b -> (b -> m (Maybe a)) -> s -> m t #
rewriteOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> Maybe a) -> s -> t #
transformM :: (Monad m, Plated a) => (a -> m a) -> a -> m a #
transformMOf :: Monad m => LensLike (WrappedMonad m) a b a b -> (b -> m b) -> a -> m b #
transformMOn :: (Monad m, Plated a) => LensLike (WrappedMonad m) s t a a -> (a -> m a) -> s -> m t #
transformMOnOf :: Monad m => LensLike (WrappedMonad m) s t a b -> LensLike (WrappedMonad m) a b a b -> (b -> m b) -> s -> m t #
transformOf :: ASetter a b a b -> (b -> b) -> a -> b #
transformOn :: Plated a => ASetter s t a a -> (a -> a) -> s -> t #
transformOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> b) -> s -> t #
universeOf :: Getting [a] a a -> a -> [a] #
universeOn :: Plated a => Getting [a] s a -> s -> [a] #
universeOnOf :: Getting [a] s a -> Getting [a] a a -> s -> [a] #
below :: Traversable f => APrism' s a -> Prism' (f s) (f a) #
clonePrism :: APrism s t a b -> Prism s t a b #
without :: APrism s t a b -> APrism u v c d -> Prism (Either s u) (Either t v) (Either a c) (Either b d) #
reuse :: MonadState b m => AReview t b -> m t #
reuses :: MonadState b m => AReview t b -> (t -> r) -> m r #
review :: MonadReader b m => AReview t b -> m t #
reviews :: MonadReader b m => AReview t b -> (t -> r) -> m r #
(%=) :: MonadState s m => ASetter s s a b -> (a -> b) -> m () #
(%@=) :: MonadState s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m () #
(%@~) :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t #
(**=) :: (MonadState s m, Floating a) => ASetter' s a -> a -> m () #
(*=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m () #
(+=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m () #
(-=) :: (MonadState s m, Num a) => ASetter' s a -> a -> m () #
(.=) :: MonadState s m => ASetter s s a b -> b -> m () #
(.@=) :: MonadState s m => AnIndexedSetter i s s a b -> (i -> b) -> m () #
(.@~) :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t #
(//=) :: (MonadState s m, Fractional a) => ASetter' s a -> a -> m () #
(//~) :: Fractional a => ASetter s t a a -> a -> s -> t #
(<.=) :: MonadState s m => ASetter s s a b -> b -> m b #
(<>=) :: (MonadState s m, Monoid a) => ASetter' s a -> a -> m () #
(<?=) :: MonadState s m => ASetter s s a (Maybe b) -> b -> m b #
(<~) :: MonadState s m => ASetter s s a b -> m b -> m () #
(?=) :: MonadState s m => ASetter s s a (Maybe b) -> b -> m () #
(^^=) :: (MonadState s m, Fractional a, Integral e) => ASetter' s a -> e -> m () #
(^^~) :: (Fractional a, Integral e) => ASetter s t a a -> e -> s -> t #
assign :: MonadState s m => ASetter s s a b -> b -> m () #
censoring :: MonadWriter w m => Setter w w u v -> (u -> v) -> m a -> m a #
cloneIndexPreservingSetter :: ASetter s t a b -> IndexPreservingSetter s t a b #
cloneIndexedSetter :: AnIndexedSetter i s t a b -> IndexedSetter i s t a b #
cloneSetter :: ASetter s t a b -> Setter s t a b #
contramapped :: Contravariant f => Setter (f b) (f a) a b #
icensoring :: MonadWriter w m => IndexedSetter i w w u v -> (i -> u -> v) -> m a -> m a #
ilocally :: MonadReader s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m r -> m r #
imapOf :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t #
imodifying :: MonadState s m => AnIndexedSetter i s s a b -> (i -> a -> b) -> m () #
iover :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t #
ipassing :: MonadWriter w m => IndexedSetter i w w u v -> m (a, i -> u -> v) -> m a #
iset :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t #
isets :: ((i -> a -> b) -> s -> t) -> IndexedSetter i s t a b #
locally :: MonadReader s m => ASetter s s a b -> (a -> b) -> m r -> m r #
modifying :: MonadState s m => ASetter s s a b -> (a -> b) -> m () #
passing :: MonadWriter w m => Setter w w u v -> m (a, u -> v) -> m a #
scribe :: (MonadWriter t m, Monoid s) => ASetter s t a b -> b -> m () #
sets :: (Profunctor p, Profunctor q, Settable f) => (p a b -> q s t) -> Optical p q f s t a b #
setting :: ((a -> b) -> s -> t) -> IndexPreservingSetter s t a b #
declareClassy :: DecsQ -> DecsQ #
declareFields :: DecsQ -> DecsQ #
declareLenses :: DecsQ -> DecsQ #
declareLensesWith :: LensRules -> DecsQ -> DecsQ #
declarePrisms :: DecsQ -> DecsQ #
declareWrapped :: DecsQ -> DecsQ #
lensRulesFor :: [(String, String)] -> LensRules #
lookingupNamer :: [(String, String)] -> FieldNamer #
makeClassy :: Name -> DecsQ #
makeClassy_ :: Name -> DecsQ #
makeFields :: Name -> DecsQ #
makeFieldsNoPrefix :: Name -> DecsQ #
makeLenses :: Name -> DecsQ #
makeLensesWith :: LensRules -> Name -> DecsQ #
makeWrapped :: Name -> DecsQ #
mappingNamer :: (String -> [String]) -> FieldNamer #
both :: Bitraversable r => Traversal (r a a) (r b b) a b #
both1 :: Bitraversable1 r => Traversal1 (r a a) (r b b) a b #
cloneIndexPreservingTraversal :: ATraversal s t a b -> IndexPreservingTraversal s t a b #
cloneIndexPreservingTraversal1 :: ATraversal1 s t a b -> IndexPreservingTraversal1 s t a b #
cloneIndexedTraversal :: AnIndexedTraversal i s t a b -> IndexedTraversal i s t a b #
cloneIndexedTraversal1 :: AnIndexedTraversal1 i s t a b -> IndexedTraversal1 i s t a b #
cloneTraversal :: ATraversal s t a b -> Traversal s t a b #
cloneTraversal1 :: ATraversal1 s t a b -> Traversal1 s t a b #
confusing :: Applicative f => LensLike (Curried (Yoneda f) (Yoneda f)) s t a b -> LensLike f s t a b #
deepOf :: (Conjoined p, Applicative f) => LensLike f s t s t -> Traversing p f s t a b -> Over p f s t a b #
dropping :: (Conjoined p, Applicative f) => Int -> Over p (Indexing f) s t a a -> Over p f s t a a #
element :: Traversable t => Int -> IndexedTraversal' Int (t a) a #
elementOf :: Applicative f => LensLike (Indexing f) s t a a -> Int -> IndexedLensLike Int f s t a a #
elements :: Traversable t => (Int -> Bool) -> IndexedTraversal' Int (t a) a #
elementsOf :: Applicative f => LensLike (Indexing f) s t a a -> (Int -> Bool) -> IndexedLensLike Int f s t a a #
failing :: (Conjoined p, Applicative f) => Traversing p f s t a b -> Over p f s t a b -> Over p f s t a b #
forMOf :: LensLike (WrappedMonad m) s t a b -> s -> (a -> m b) -> m t #
iforMOf :: (Indexed i a (WrappedMonad m b) -> s -> WrappedMonad m t) -> s -> (i -> a -> m b) -> m t #
ignored :: Applicative f => pafb -> s -> f s #
imapAccumLOf :: Over (Indexed i) (State acc) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t) #
imapAccumROf :: Over (Indexed i) (Backwards (State acc)) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t) #
imapMOf :: Over (Indexed i) (WrappedMonad m) s t a b -> (i -> a -> m b) -> s -> m t #
ipartsOf :: (Indexable [i] p, Functor f) => Traversing (Indexed i) f s t a a -> Over p f s t [a] [a] #
ipartsOf' :: (Indexable [i] p, Functor f) => Over (Indexed i) (Bazaar' (Indexed i) a) s t a a -> Over p f s t [a] [a] #
itraverseOf :: (Indexed i a (f b) -> s -> f t) -> (i -> a -> f b) -> s -> f t #
iunsafePartsOf :: (Indexable [i] p, Functor f) => Traversing (Indexed i) f s t a b -> Over p f s t [a] [b] #
iunsafePartsOf' :: Over (Indexed i) (Bazaar (Indexed i) a b) s t a b -> IndexedLens [i] s t [a] [b] #
loci :: Traversal (Bazaar ((->) :: Type -> Type -> Type) a c s) (Bazaar ((->) :: Type -> Type -> Type) b c s) a b #
mapAccumLOf :: LensLike (State acc) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t) #
mapAccumROf :: LensLike (Backwards (State acc)) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t) #
mapMOf :: LensLike (WrappedMonad m) s t a b -> (a -> m b) -> s -> m t #
partsOf :: Functor f => Traversing ((->) :: Type -> Type -> Type) f s t a a -> LensLike f s t [a] [a] #
partsOf' :: ATraversal s t a a -> Lens s t [a] [a] #
sequenceAOf :: LensLike f s t (f b) b -> s -> f t #
sequenceByOf :: Traversal s t (f b) b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> s -> f t #
sequenceOf :: LensLike (WrappedMonad m) s t (m b) b -> s -> m t #
taking :: (Conjoined p, Applicative f) => Int -> Traversing p f s t a a -> Over p f s t a a #
transposeOf :: LensLike ZipList s t [a] a -> s -> [t] #
traverseByOf :: Traversal s t a b -> (forall x. x -> f x) -> (forall x y. f (x -> y) -> f x -> f y) -> (a -> f b) -> s -> f t #
traverseOf :: LensLike f s t a b -> (a -> f b) -> s -> f t #
traversed :: Traversable f => IndexedTraversal Int (f a) (f b) a b #
traversed1 :: Traversable1 f => IndexedTraversal1 Int (f a) (f b) a b #
traversed64 :: Traversable f => IndexedTraversal Int64 (f a) (f b) a b #
unsafePartsOf :: Functor f => Traversing ((->) :: Type -> Type -> Type) f s t a b -> LensLike f s t [a] [b] #
unsafePartsOf' :: ATraversal s t a b -> Lens s t [a] [b] #
unsafeSingular :: (HasCallStack, Conjoined p, Functor f) => Traversing p f s t a b -> Over p f s t a b #
_GWrapped' :: (Generic s, D1 d (C1 c (S1 s' (Rec0 a))) ~ Rep s, Unwrapped s ~ GUnwrapped (Rep s)) => Iso' s (Unwrapped s) #
_Unwrapped :: Rewrapping s t => Iso (Unwrapped t) (Unwrapped s) t s #
_Unwrapped' :: Wrapped s => Iso' (Unwrapped s) s #
_Unwrapping :: Rewrapping s t => (Unwrapped s -> s) -> Iso (Unwrapped t) (Unwrapped s) t s #
ala :: (Functor f, Rewrapping s t) => (Unwrapped s -> s) -> ((Unwrapped t -> t) -> f s) -> f (Unwrapped s) #
alaf :: (Functor f, Functor g, Rewrapping s t) => (Unwrapped s -> s) -> (f t -> g s) -> f (Unwrapped t) -> g (Unwrapped s) #
Instances
| Functor Active | |
| Applicative Active | |
| Apply Active | |
| Semigroup a => Semigroup (Active a) | |
| (Monoid a, Semigroup a) => Monoid (Active a) | |
| Wrapped (Active a) | |
| Active a1 ~ t => Rewrapped (Active a2) t | |
Defined in Data.Active | |
| type N (Active a) | |
Defined in Diagrams.Animation.Active | |
| type V (Active a) | |
Defined in Diagrams.Animation.Active | |
| type Unwrapped (Active a) | |
Defined in Data.Active | |
Instances
Instances
| Functor Time | |
| Affine Time | |
| Enum n => Enum (Time n) | |
Defined in Data.Active | |
| Eq n => Eq (Time n) | |
| Fractional n => Fractional (Time n) | |
| Num n => Num (Time n) | |
| Ord n => Ord (Time n) | |
| Read n => Read (Time n) | |
| Real n => Real (Time n) | |
Defined in Data.Active Methods toRational :: Time n -> Rational # | |
| RealFrac n => RealFrac (Time n) | |
| Show n => Show (Time n) | |
| Wrapped (Time n) | |
| Time n1 ~ t => Rewrapped (Time n2) t | |
Defined in Data.Active | |
| type Diff Time | |
Defined in Data.Active | |
| type Unwrapped (Time n) | |
Defined in Data.Active | |
newtype Envelope (v :: Type -> Type) n #
Instances
class (Metric (V a), OrderedField (N a)) => Enveloped a where #
Methods
getEnvelope :: a -> Envelope (V a) (N a) #
Instances
type OrderedField s = (Floating s, Ord s) #
Methods
moveOriginTo :: Point (V t) (N t) -> t -> t #
Instances
class Juxtaposable a where #
Instances
| (Enveloped b, HasOrigin b) => Juxtaposable [b] | |
Defined in Diagrams.Core.Juxtapose | |
| (Enveloped b, HasOrigin b, Ord b) => Juxtaposable (Set b) | |
| Enveloped a => Juxtaposable (Located a) | |
| Juxtaposable a => Juxtaposable (b -> a) | |
Defined in Diagrams.Core.Juxtapose | |
| (Enveloped a, HasOrigin a, Enveloped b, HasOrigin b, V a ~ V b, N a ~ N b) => Juxtaposable (a, b) | |
Defined in Diagrams.Core.Juxtapose | |
| (Enveloped b, HasOrigin b) => Juxtaposable (Map k b) | |
| (Metric v, OrderedField n) => Juxtaposable (Envelope v n) | |
| Juxtaposable a => Juxtaposable (Measured n a) | |
| (Metric v, OrderedField n) => Juxtaposable (Path v n) | |
| (Metric v, OrderedField n, Monoid' m) => Juxtaposable (QDiagram b v n m) | |
Instances
class (Typeable a, Ord a, Show a) => IsName a where #
Minimal complete definition
Nothing
Instances
| IsName Bool | |
Defined in Diagrams.Core.Names | |
| IsName Char | |
Defined in Diagrams.Core.Names | |
| IsName Double | |
Defined in Diagrams.Core.Names | |
| IsName Float | |
Defined in Diagrams.Core.Names | |
| IsName Int | |
Defined in Diagrams.Core.Names | |
| IsName Integer | |
Defined in Diagrams.Core.Names | |
| IsName () | |
Defined in Diagrams.Core.Names | |
| IsName AName | |
Defined in Diagrams.Core.Names | |
| IsName Name | |
Defined in Diagrams.Core.Names | |
| IsName a => IsName [a] | |
Defined in Diagrams.Core.Names | |
| IsName a => IsName (Maybe a) | |
Defined in Diagrams.Core.Names | |
| (IsName a, IsName b) => IsName (a, b) | |
Defined in Diagrams.Core.Names | |
| (IsName a, IsName b, IsName c) => IsName (a, b, c) | |
Defined in Diagrams.Core.Names | |
Instances
| Eq Name | |
| Ord Name | |
| Show Name | |
| Semigroup Name | |
| Monoid Name | |
| IsName Name | |
Defined in Diagrams.Core.Names | |
| Qualifiable Name | |
| Wrapped Name | |
| Rewrapped Name Name | |
Defined in Diagrams.Core.Names | |
| Each Name Name AName AName | |
| Action Name (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| type Unwrapped Name | |
Defined in Diagrams.Core.Names | |
class Qualifiable q where #
Instances
| Qualifiable Name | |
| Qualifiable a => Qualifiable [a] | |
Defined in Diagrams.Core.Names | |
| (Ord a, Qualifiable a) => Qualifiable (Set a) | |
| Qualifiable a => Qualifiable (TransInv a) | |
| Qualifiable a => Qualifiable (Located a) | |
| Qualifiable a => Qualifiable (b -> a) | |
Defined in Diagrams.Core.Names | |
| (Qualifiable a, Qualifiable b) => Qualifiable (a, b) | |
Defined in Diagrams.Core.Names | |
| Qualifiable a => Qualifiable (Map k a) | |
| Qualifiable a => Qualifiable (Measured n a) | |
| (Qualifiable a, Qualifiable b, Qualifiable c) => Qualifiable (a, b, c) | |
Defined in Diagrams.Core.Names | |
| (Metric v, OrderedField n, Semigroup m) => Qualifiable (QDiagram b v n m) | |
| Qualifiable (SubMap b v n m) | |
newtype Query (v :: Type -> Type) n m #
Instances
| Functor v => Profunctor (Query v) | |
Defined in Diagrams.Core.Query | |
| Functor v => Closed (Query v) | |
Defined in Diagrams.Core.Query | |
| Functor v => Corepresentable (Query v) | |
Defined in Diagrams.Core.Query Methods cotabulate :: (Corep (Query v) d -> c) -> Query v d c | |
| Functor v => Costrong (Query v) | |
| Functor v => Cosieve (Query v) (Point v) | |
Defined in Diagrams.Core.Query | |
| Monad (Query v n) | |
| Functor (Query v n) | |
| Applicative (Query v n) | |
| Representable (Query v n) | |
| Distributive (Query v n) | |
| Semigroup m => Semigroup (Query v n m) | |
| Monoid m => Monoid (Query v n m) | |
| (Additive v, Num n) => HasOrigin (Query v n m) | |
Defined in Diagrams.Core.Query | |
| (Additive v, Num n) => Transformable (Query v n m) | |
Defined in Diagrams.Core.Query | |
| Wrapped (Query v n m) | |
| HasQuery (Query v n m) m | |
| Rewrapped (Query v a m) (Query v' a' m') | |
Defined in Diagrams.Core.Query | |
| type Corep (Query v) | |
Defined in Diagrams.Core.Query | |
| type Rep (Query v n) | |
Defined in Diagrams.Core.Query | |
| type N (Query v n m) | |
Defined in Diagrams.Core.Query | |
| type V (Query v n m) | |
Defined in Diagrams.Core.Query | |
| type Unwrapped (Query v n m) | |
Defined in Diagrams.Core.Query | |
data Attribute (v :: Type -> Type) n where #
Constructors
| Attribute :: forall (v :: Type -> Type) n a. AttributeClass a => a -> Attribute v n | |
| MAttribute :: forall (v :: Type -> Type) n a. AttributeClass a => Measured n a -> Attribute v n | |
| TAttribute :: forall (v :: Type -> Type) n a. (AttributeClass a, Transformable a, V a ~ v, N a ~ n) => a -> Attribute v n |
Instances
| Show (Attribute v n) | |
| Typeable n => Semigroup (Attribute v n) | |
| (Additive v, Traversable v, Floating n) => Transformable (Attribute v n) | |
Defined in Diagrams.Core.Style | |
| Each (Style v n) (Style v' n') (Attribute v n) (Attribute v' n') | |
| type N (Attribute v n) | |
Defined in Diagrams.Core.Style | |
| type V (Attribute v n) | |
Defined in Diagrams.Core.Style | |
class (Typeable a, Semigroup a) => AttributeClass a #
Instances
Methods
applyStyle :: Style (V a) (N a) -> a -> a #
Instances
| HasStyle a => HasStyle [a] | |
Defined in Diagrams.Core.Style Methods applyStyle :: Style (V [a]) (N [a]) -> [a] -> [a] # | |
| (HasStyle a, Ord a) => HasStyle (Set a) | |
Defined in Diagrams.Core.Style | |
| HasStyle b => HasStyle (a -> b) | |
Defined in Diagrams.Core.Style Methods applyStyle :: Style (V (a -> b)) (N (a -> b)) -> (a -> b) -> a -> b # | |
| (HasStyle a, HasStyle b, V a ~ V b, N a ~ N b) => HasStyle (a, b) | |
Defined in Diagrams.Core.Style Methods applyStyle :: Style (V (a, b)) (N (a, b)) -> (a, b) -> (a, b) # | |
| HasStyle a => HasStyle (Map k a) | |
Defined in Diagrams.Core.Style | |
| HasStyle b => HasStyle (Measured n b) | |
Defined in Diagrams.Core.Style | |
| Typeable n => HasStyle (Style v n) | |
Defined in Diagrams.Core.Style | |
| (Metric v, OrderedField n, Semigroup m) => HasStyle (QDiagram b v n m) | |
Defined in Diagrams.Core.Types | |
data Style (v :: Type -> Type) n #
Instances
| Show (Style v n) | |
| Typeable n => Semigroup (Style v n) | |
| Typeable n => Monoid (Style v n) | |
| Typeable n => HasStyle (Style v n) | |
Defined in Diagrams.Core.Style | |
| (Additive v, Traversable v, Floating n) => Transformable (Style v n) | |
Defined in Diagrams.Core.Style | |
| At (Style v n) | |
| Ixed (Style v n) | |
Defined in Diagrams.Core.Style | |
| Wrapped (Style v n) | |
| Action (Style v n) m | |
Defined in Diagrams.Core.Style | |
| Rewrapped (Style v n) (Style v' n') | |
Defined in Diagrams.Core.Style | |
| Each (Style v n) (Style v' n') (Attribute v n) (Attribute v' n') | |
| type N (Style v n) | |
Defined in Diagrams.Core.Style | |
| type V (Style v n) | |
Defined in Diagrams.Core.Style | |
| type Index (Style v n) | |
Defined in Diagrams.Core.Style | |
| type IxValue (Style v n) | |
Defined in Diagrams.Core.Style | |
| type Unwrapped (Style v n) | |
Defined in Diagrams.Core.Style | |
data SortedList a #
Instances
| Ord a => Semigroup (SortedList a) | |
Defined in Diagrams.Core.Trace Methods (<>) :: SortedList a -> SortedList a -> SortedList a # sconcat :: NonEmpty (SortedList a) -> SortedList a # stimes :: Integral b => b -> SortedList a -> SortedList a # | |
| Ord a => Monoid (SortedList a) | |
Defined in Diagrams.Core.Trace Methods mempty :: SortedList a # mappend :: SortedList a -> SortedList a -> SortedList a # mconcat :: [SortedList a] -> SortedList a # | |
newtype Trace (v :: Type -> Type) n #
Constructors
| Trace | |
Fields
| |
Instances
| Show (Trace v n) | |
| Ord n => Semigroup (Trace v n) | |
| Ord n => Monoid (Trace v n) | |
| (Additive v, Num n) => HasOrigin (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| (Additive v, Ord n) => Traced (Trace v n) | |
| (Additive v, Num n) => Transformable (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| (Metric v, OrderedField n) => Alignable (Trace v n) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v0 n0 (Trace v n), Fractional n0, HasOrigin (Trace v n)) => (v0 n0 -> Trace v n -> Point v0 n0) -> v0 n0 -> n0 -> Trace v n -> Trace v n # defaultBoundary :: (V (Trace v n) ~ v0, N (Trace v n) ~ n0) => v0 n0 -> Trace v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (Trace v n), Fractional n0, HasOrigin (Trace v n)) => v0 n0 -> n0 -> Trace v n -> Trace v n # | |
| Wrapped (Trace v n) | |
| Rewrapped (Trace v n) (Trace v' n') | |
Defined in Diagrams.Core.Trace | |
| type N (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| type V (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| type Unwrapped (Trace v n) | |
Defined in Diagrams.Core.Trace | |
class (Additive (V a), Ord (N a)) => Traced a where #
Instances
type HasLinearMap (v :: Type -> Type) = (HasBasis v, Traversable v) #
Constructors
| TransInv t |
Instances
| Eq t => Eq (TransInv t) | |
| Ord t => Ord (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| Show t => Show (TransInv t) | |
| Semigroup t => Semigroup (TransInv t) | |
| Monoid t => Monoid (TransInv t) | |
| Enveloped t => Enveloped (TransInv t) | |
Defined in Diagrams.Core.Envelope | |
| HasOrigin (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| Qualifiable a => Qualifiable (TransInv a) | |
| Traced t => Traced (TransInv t) | |
| (Num (N t), Additive (V t), Transformable t) => Transformable (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| TrailLike t => TrailLike (TransInv t) | |
| Wrapped (TransInv t) | |
| Rewrapped (TransInv t) (TransInv t') | |
Defined in Diagrams.Core.Transform | |
| type N (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| type V (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| type Unwrapped (TransInv t) | |
Defined in Diagrams.Core.Transform | |
class Transformable t where #
Methods
transform :: Transformation (V t) (N t) -> t -> t #
Instances
data Transformation (v :: Type -> Type) n #
Instances
class Backend b (v :: Type -> Type) n where #
Minimal complete definition
Associated Types
data Render b (v :: Type -> Type) n :: Type #
Methods
adjustDia :: (Additive v, Monoid' m, Num n) => b -> Options b v n -> QDiagram b v n m -> (Options b v n, Transformation v n, QDiagram b v n m) #
renderRTree :: b -> Options b v n -> RTree b v n Annotation -> Result b v n #
Instances
| Backend NullBackend v n | |
Defined in Diagrams.Core.Types Associated Types data Render NullBackend v n :: Type # type Result NullBackend v n :: Type # data Options NullBackend v n :: Type # Methods adjustDia :: (Additive v, Monoid' m, Num n) => NullBackend -> Options NullBackend v n -> QDiagram NullBackend v n m -> (Options NullBackend v n, Transformation v n, QDiagram NullBackend v n m) # renderRTree :: NullBackend -> Options NullBackend v n -> RTree NullBackend v n Annotation -> Result NullBackend v n # | |
| SVGFloat n => Backend SVG V2 n | |
data NullBackend #
Instances
data Prim b (v :: Type -> Type) n where #
Constructors
| Prim :: forall b (v :: Type -> Type) n p. (Transformable p, Typeable p, Renderable p b) => p -> Prim b (V p) (N p) |
Instances
| Transformable (Prim b v n) | |
Defined in Diagrams.Core.Types | |
| Renderable (Prim b v n) b | |
| type N (Prim b v n) | |
Defined in Diagrams.Core.Types | |
| type V (Prim b v n) | |
Defined in Diagrams.Core.Types | |
data QDiagram b (v :: Type -> Type) n m #
Instances
class Transformable t => Renderable t b where #
Instances
newtype SubMap b (v :: Type -> Type) n m #
Constructors
| SubMap (Map Name [Subdiagram b v n m]) |
Instances
| Action Name (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| Functor (SubMap b v n) | |
| Semigroup (SubMap b v n m) | |
| Monoid (SubMap b v n m) | |
| (OrderedField n, Metric v) => HasOrigin (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| Qualifiable (SubMap b v n m) | |
| Transformable (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| Wrapped (SubMap b v n m) | |
| Rewrapped (SubMap b v n m) (SubMap b' v' n' m') | |
Defined in Diagrams.Core.Types | |
| type N (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| type V (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| type Unwrapped (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
data Subdiagram b (v :: Type -> Type) n m #
Constructors
| Subdiagram (QDiagram b v n m) (DownAnnots v n) |
Instances
type TypeableFloat n = (Typeable n, RealFloat n) #
Instances
| type N SVG | |
Defined in Diagrams.Backend.SVG | |
| type N [a] | |
Defined in Diagrams.Core.V | |
| type N (Option a) | |
Defined in Diagrams.Core.V | |
| type N (Set a) | |
Defined in Diagrams.Core.V | |
| type N (Active a) | |
Defined in Diagrams.Animation.Active | |
| type N (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| type N (Angle n) | |
Defined in Diagrams.Angle | |
| type N (Located a) | |
Defined in Diagrams.Located | |
| type N (Tangent t) | |
Defined in Diagrams.Tangent | |
| type N (OrthoLens n) | |
Defined in Diagrams.ThreeD.Camera | |
| type N (PerspectiveLens n) | |
Defined in Diagrams.ThreeD.Camera | |
| type N (ParallelLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type N (PointLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type N (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type N (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type N (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type N (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type N (GetSegment t) | |
Defined in Diagrams.Trail | |
| type N (LGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (RGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (Texture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (V2 n) | |
Defined in Diagrams.TwoD.Types | |
| type N (V3 n) | |
Defined in Diagrams.ThreeD.Types | |
| type N (Text n) | |
Defined in Diagrams.TwoD.Text type N (Text n) = n | |
| type N (Clip n) | |
Defined in Diagrams.TwoD.Path type N (Clip n) = n | |
| type N (Deletable m) | |
Defined in Diagrams.Core.V | |
| type N (Split m) | |
Defined in Diagrams.Core.V | |
| type N (FillTexture n) | |
Defined in Diagrams.TwoD.Attributes type N (FillTexture n) = n | |
| type N (LineTexture n) | |
Defined in Diagrams.TwoD.Attributes type N (LineTexture n) = n | |
| type N (BernsteinPoly n) | |
Defined in Diagrams.TwoD.Segment.Bernstein type N (BernsteinPoly n) = n | |
| type N (a -> b) | |
Defined in Diagrams.Core.V | |
| type N (a, b) | |
Defined in Diagrams.Core.V | |
| type N (Map k a) | |
Defined in Diagrams.Core.V | |
| type N (Envelope v n) | |
Defined in Diagrams.Core.Envelope | |
| type N (Measured n a) | |
Defined in Diagrams.Core.Measure | |
| type N (Attribute v n) | |
Defined in Diagrams.Core.Style | |
| type N (Style v n) | |
Defined in Diagrams.Core.Style | |
| type N (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| type N (Transformation v n) | |
Defined in Diagrams.Core.Transform | |
| type N (BoundingBox v n) | |
Defined in Diagrams.BoundingBox | |
| type N (Direction v n) | |
Defined in Diagrams.Direction | |
| type N (Path v n) | |
Defined in Diagrams.Path | |
| type N (FixedSegment v n) | |
Defined in Diagrams.Segment | |
| type N (SizeSpec v n) | |
Defined in Diagrams.Size | |
| type N (Camera l n) | |
Defined in Diagrams.ThreeD.Camera | |
| type N (SegTree v n) | |
Defined in Diagrams.Trail | |
| type N (Trail v n) | |
Defined in Diagrams.Trail | |
| type N (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
| type N (Point v n) | |
Defined in Diagrams.Core.Points | |
| type N (FingerTree m a) | |
Defined in Diagrams.Trail | |
| type N (m :+: n) | |
Defined in Diagrams.Core.V | |
| type N (NonEmptyBoundingBox v n) | |
Defined in Diagrams.BoundingBox type N (NonEmptyBoundingBox v n) = n | |
| type N (a, b, c) | |
Defined in Diagrams.Core.V | |
| type N (Query v n m) | |
Defined in Diagrams.Core.Query | |
| type N (Prim b v n) | |
Defined in Diagrams.Core.Types | |
| type N (Offset c v n) | |
Defined in Diagrams.Segment | |
| type N (Segment c v n) | |
Defined in Diagrams.Segment | |
| type N (Trail' l v n) | |
Defined in Diagrams.Trail | |
| type N (QDiagram b v n m) | |
Defined in Diagrams.Core.Types | |
| type N (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| type N (Subdiagram b v n m) | |
Defined in Diagrams.Core.Types | |
type family V a :: Type -> Type #
Instances
| type V SVG | |
Defined in Diagrams.Backend.SVG | |
| type V [a] | |
Defined in Diagrams.Core.V | |
| type V (Option a) | |
Defined in Diagrams.Core.V | |
| type V (Set a) | |
Defined in Diagrams.Core.V | |
| type V (Active a) | |
Defined in Diagrams.Animation.Active | |
| type V (TransInv t) | |
Defined in Diagrams.Core.Transform | |
| type V (Located a) | |
Defined in Diagrams.Located | |
| type V (Tangent t) | |
Defined in Diagrams.Tangent | |
| type V (OrthoLens n) | |
Defined in Diagrams.ThreeD.Camera | |
| type V (PerspectiveLens n) | |
Defined in Diagrams.ThreeD.Camera | |
| type V (ParallelLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type V (PointLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type V (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (GetSegment t) | |
Defined in Diagrams.Trail | |
| type V (LGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (RGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (Texture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (V2 n) | |
Defined in Diagrams.TwoD.Types | |
| type V (V3 n) | |
Defined in Diagrams.ThreeD.Types | |
| type V (Text n) | |
Defined in Diagrams.TwoD.Text | |
| type V (Clip n) | |
Defined in Diagrams.TwoD.Path | |
| type V (Deletable m) | |
Defined in Diagrams.Core.V | |
| type V (Split m) | |
Defined in Diagrams.Core.V | |
| type V (FillTexture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (LineTexture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (BernsteinPoly n) | |
Defined in Diagrams.TwoD.Segment.Bernstein type V (BernsteinPoly n) = V1 | |
| type V (a -> b) | |
Defined in Diagrams.Core.V | |
| type V (a, b) | |
Defined in Diagrams.Core.V | |
| type V (Map k a) | |
Defined in Diagrams.Core.V | |
| type V (Envelope v n) | |
Defined in Diagrams.Core.Envelope | |
| type V (Measured n a) | |
Defined in Diagrams.Core.Measure | |
| type V (Attribute v n) | |
Defined in Diagrams.Core.Style | |
| type V (Style v n) | |
Defined in Diagrams.Core.Style | |
| type V (Trace v n) | |
Defined in Diagrams.Core.Trace | |
| type V (Transformation v n) | |
Defined in Diagrams.Core.Transform | |
| type V (BoundingBox v n) | |
Defined in Diagrams.BoundingBox | |
| type V (Direction v n) | |
Defined in Diagrams.Direction | |
| type V (Path v n) | |
Defined in Diagrams.Path | |
| type V (FixedSegment v n) | |
Defined in Diagrams.Segment | |
| type V (SizeSpec v n) | |
Defined in Diagrams.Size | |
| type V (Camera l n) | |
Defined in Diagrams.ThreeD.Camera | |
| type V (SegTree v n) | |
Defined in Diagrams.Trail | |
| type V (Trail v n) | |
Defined in Diagrams.Trail | |
| type V (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
| type V (Point v n) | |
Defined in Diagrams.Core.Points | |
| type V (FingerTree m a) | |
Defined in Diagrams.Trail | |
| type V (m :+: n) | |
Defined in Diagrams.Core.V | |
| type V (NonEmptyBoundingBox v n) | |
Defined in Diagrams.BoundingBox type V (NonEmptyBoundingBox v n) = v | |
| type V (a, b, c) | |
Defined in Diagrams.Core.V | |
| type V (Query v n m) | |
Defined in Diagrams.Core.Query | |
| type V (Prim b v n) | |
Defined in Diagrams.Core.Types | |
| type V (Offset c v n) | |
Defined in Diagrams.Segment | |
| type V (Segment c v n) | |
Defined in Diagrams.Segment | |
| type V (Trail' l v n) | |
Defined in Diagrams.Trail | |
| type V (QDiagram b v n m) | |
Defined in Diagrams.Core.Types | |
| type V (SubMap b v n m) | |
Defined in Diagrams.Core.Types | |
| type V (Subdiagram b v n m) | |
Defined in Diagrams.Core.Types | |
Minimal complete definition
Methods
alignBy' :: (InSpace v n a, Fractional n, HasOrigin a) => (v n -> a -> Point v n) -> v n -> n -> a -> a #
defaultBoundary :: (V a ~ v, N a ~ n) => v n -> a -> Point v n #
alignBy :: (InSpace v n a, Fractional n, HasOrigin a) => v n -> n -> a -> a #
Instances
| (V b ~ v, N b ~ n, Metric v, OrderedField n, Alignable b) => Alignable [b] | |
Defined in Diagrams.Align | |
| (V b ~ v, N b ~ n, Metric v, OrderedField n, Alignable b) => Alignable (Set b) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v n (Set b), Fractional n, HasOrigin (Set b)) => (v n -> Set b -> Point v n) -> v n -> n -> Set b -> Set b # defaultBoundary :: (V (Set b) ~ v, N (Set b) ~ n) => v n -> Set b -> Point v n # alignBy :: (InSpace v n (Set b), Fractional n, HasOrigin (Set b)) => v n -> n -> Set b -> Set b # | |
| Alignable a => Alignable (Located a) | |
Defined in Diagrams.Located Methods alignBy' :: (InSpace v n (Located a), Fractional n, HasOrigin (Located a)) => (v n -> Located a -> Point v n) -> v n -> n -> Located a -> Located a # defaultBoundary :: (V (Located a) ~ v, N (Located a) ~ n) => v n -> Located a -> Point v n # alignBy :: (InSpace v n (Located a), Fractional n, HasOrigin (Located a)) => v n -> n -> Located a -> Located a # | |
| (InSpace v n a, HasOrigin a, Alignable a) => Alignable (b -> a) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v n (b -> a), Fractional n, HasOrigin (b -> a)) => (v n -> (b -> a) -> Point v n) -> v n -> n -> (b -> a) -> b -> a # defaultBoundary :: (V (b -> a) ~ v, N (b -> a) ~ n) => v n -> (b -> a) -> Point v n # alignBy :: (InSpace v n (b -> a), Fractional n, HasOrigin (b -> a)) => v n -> n -> (b -> a) -> b -> a # | |
| (V b ~ v, N b ~ n, Metric v, OrderedField n, Alignable b) => Alignable (Map k b) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v n (Map k b), Fractional n, HasOrigin (Map k b)) => (v n -> Map k b -> Point v n) -> v n -> n -> Map k b -> Map k b # defaultBoundary :: (V (Map k b) ~ v, N (Map k b) ~ n) => v n -> Map k b -> Point v n # alignBy :: (InSpace v n (Map k b), Fractional n, HasOrigin (Map k b)) => v n -> n -> Map k b -> Map k b # | |
| (Metric v, OrderedField n) => Alignable (Envelope v n) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v0 n0 (Envelope v n), Fractional n0, HasOrigin (Envelope v n)) => (v0 n0 -> Envelope v n -> Point v0 n0) -> v0 n0 -> n0 -> Envelope v n -> Envelope v n # defaultBoundary :: (V (Envelope v n) ~ v0, N (Envelope v n) ~ n0) => v0 n0 -> Envelope v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (Envelope v n), Fractional n0, HasOrigin (Envelope v n)) => v0 n0 -> n0 -> Envelope v n -> Envelope v n # | |
| (Metric v, OrderedField n) => Alignable (Trace v n) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v0 n0 (Trace v n), Fractional n0, HasOrigin (Trace v n)) => (v0 n0 -> Trace v n -> Point v0 n0) -> v0 n0 -> n0 -> Trace v n -> Trace v n # defaultBoundary :: (V (Trace v n) ~ v0, N (Trace v n) ~ n0) => v0 n0 -> Trace v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (Trace v n), Fractional n0, HasOrigin (Trace v n)) => v0 n0 -> n0 -> Trace v n -> Trace v n # | |
| (Metric v, Traversable v, OrderedField n) => Alignable (BoundingBox v n) | |
Defined in Diagrams.BoundingBox Methods alignBy' :: (InSpace v0 n0 (BoundingBox v n), Fractional n0, HasOrigin (BoundingBox v n)) => (v0 n0 -> BoundingBox v n -> Point v0 n0) -> v0 n0 -> n0 -> BoundingBox v n -> BoundingBox v n # defaultBoundary :: (V (BoundingBox v n) ~ v0, N (BoundingBox v n) ~ n0) => v0 n0 -> BoundingBox v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (BoundingBox v n), Fractional n0, HasOrigin (BoundingBox v n)) => v0 n0 -> n0 -> BoundingBox v n -> BoundingBox v n # | |
| (Metric v, OrderedField n) => Alignable (Path v n) | |
Defined in Diagrams.Path Methods alignBy' :: (InSpace v0 n0 (Path v n), Fractional n0, HasOrigin (Path v n)) => (v0 n0 -> Path v n -> Point v0 n0) -> v0 n0 -> n0 -> Path v n -> Path v n # defaultBoundary :: (V (Path v n) ~ v0, N (Path v n) ~ n0) => v0 n0 -> Path v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (Path v n), Fractional n0, HasOrigin (Path v n)) => v0 n0 -> n0 -> Path v n -> Path v n # | |
| (Metric v, OrderedField n, Monoid' m) => Alignable (QDiagram b v n m) | |
Defined in Diagrams.Align Methods alignBy' :: (InSpace v0 n0 (QDiagram b v n m), Fractional n0, HasOrigin (QDiagram b v n m)) => (v0 n0 -> QDiagram b v n m -> Point v0 n0) -> v0 n0 -> n0 -> QDiagram b v n m -> QDiagram b v n m # defaultBoundary :: (V (QDiagram b v n m) ~ v0, N (QDiagram b v n m) ~ n0) => v0 n0 -> QDiagram b v n m -> Point v0 n0 # alignBy :: (InSpace v0 n0 (QDiagram b v n m), Fractional n0, HasOrigin (QDiagram b v n m)) => v0 n0 -> n0 -> QDiagram b v n m -> QDiagram b v n m # | |
Instances
| Functor Angle | |
| Applicative Angle | |
| Additive Angle | |
| Enum n => Enum (Angle n) | |
| Eq n => Eq (Angle n) | |
| Ord n => Ord (Angle n) | |
| Read n => Read (Angle n) | |
| Show n => Show (Angle n) | |
| Num n => Semigroup (Angle n) | |
| Num n => Monoid (Angle n) | |
| (V t ~ V2, N t ~ n, Transformable t, Floating n) => Action (Angle n) t | |
Defined in Diagrams.Angle | |
| type N (Angle n) | |
Defined in Diagrams.Angle | |
Instances
| Color SomeColor | |
Defined in Diagrams.Attributes Methods toAlphaColour :: SomeColor -> AlphaColour Double # | |
| a ~ Double => Color (AlphaColour a) | |
Defined in Diagrams.Attributes Methods toAlphaColour :: AlphaColour a -> AlphaColour Double # fromAlphaColour :: AlphaColour Double -> AlphaColour a # | |
| a ~ Double => Color (Colour a) | |
Defined in Diagrams.Attributes Methods toAlphaColour :: Colour a -> AlphaColour Double # fromAlphaColour :: AlphaColour Double -> Colour a # | |
Constructors
| Dashing [n] n |
data FillOpacity #
Instances
| Semigroup FillOpacity | |
Defined in Diagrams.Attributes Methods (<>) :: FillOpacity -> FillOpacity -> FillOpacity # sconcat :: NonEmpty FillOpacity -> FillOpacity # stimes :: Integral b => b -> FillOpacity -> FillOpacity # | |
| AttributeClass FillOpacity | |
Defined in Diagrams.Attributes | |
Constructors
| LineCapButt | |
| LineCapRound | |
| LineCapSquare |
Instances
| Eq LineCap | |
| Ord LineCap | |
| Show LineCap | |
| Semigroup LineCap | |
| Default LineCap | |
Defined in Diagrams.Attributes | |
| AttributeClass LineCap | |
Defined in Diagrams.Attributes | |
Constructors
| LineJoinMiter | |
| LineJoinRound | |
| LineJoinBevel |
Instances
| Eq LineJoin | |
| Ord LineJoin | |
Defined in Diagrams.Attributes | |
| Show LineJoin | |
| Semigroup LineJoin | |
| Default LineJoin | |
Defined in Diagrams.Attributes | |
| AttributeClass LineJoin | |
Defined in Diagrams.Attributes | |
newtype LineMiterLimit #
Constructors
| LineMiterLimit (Last Double) |
Instances
| Eq LineMiterLimit | |
Defined in Diagrams.Attributes Methods (==) :: LineMiterLimit -> LineMiterLimit -> Bool # (/=) :: LineMiterLimit -> LineMiterLimit -> Bool # | |
| Ord LineMiterLimit | |
Defined in Diagrams.Attributes Methods compare :: LineMiterLimit -> LineMiterLimit -> Ordering # (<) :: LineMiterLimit -> LineMiterLimit -> Bool # (<=) :: LineMiterLimit -> LineMiterLimit -> Bool # (>) :: LineMiterLimit -> LineMiterLimit -> Bool # (>=) :: LineMiterLimit -> LineMiterLimit -> Bool # max :: LineMiterLimit -> LineMiterLimit -> LineMiterLimit # min :: LineMiterLimit -> LineMiterLimit -> LineMiterLimit # | |
| Semigroup LineMiterLimit | |
Defined in Diagrams.Attributes Methods (<>) :: LineMiterLimit -> LineMiterLimit -> LineMiterLimit # sconcat :: NonEmpty LineMiterLimit -> LineMiterLimit # stimes :: Integral b => b -> LineMiterLimit -> LineMiterLimit # | |
| Default LineMiterLimit | |
Defined in Diagrams.Attributes Methods def :: LineMiterLimit # | |
| AttributeClass LineMiterLimit | |
Defined in Diagrams.Attributes | |
Instances
| Semigroup (LineWidth n) | |
| OrderedField n => Default (LineWidthM n) | |
Defined in Diagrams.Attributes | |
| Typeable n => AttributeClass (LineWidth n) | |
Defined in Diagrams.Attributes | |
Instances
| Show SomeColor | |
| Color SomeColor | |
Defined in Diagrams.Attributes Methods toAlphaColour :: SomeColor -> AlphaColour Double # | |
data StrokeOpacity #
Instances
| Semigroup StrokeOpacity | |
Defined in Diagrams.Attributes Methods (<>) :: StrokeOpacity -> StrokeOpacity -> StrokeOpacity # sconcat :: NonEmpty StrokeOpacity -> StrokeOpacity # stimes :: Integral b => b -> StrokeOpacity -> StrokeOpacity # | |
| AttributeClass StrokeOpacity | |
Defined in Diagrams.Attributes | |
data BoundingBox (v :: Type -> Type) n #
Instances
Constructors
| a :& b |
Instances
| (Eq a, Eq b) => Eq (a :& b) | |
| (Ord a, Ord b) => Ord (a :& b) | |
Defined in Diagrams.Coordinates | |
| (Show a, Show b) => Show (a :& b) | |
| Coordinates (a :& b) | |
Defined in Diagrams.Coordinates | |
| type Decomposition (a :& b) | |
Defined in Diagrams.Coordinates | |
| type FinalCoord (a :& b) | |
Defined in Diagrams.Coordinates | |
| type PrevDim (a :& b) | |
Defined in Diagrams.Coordinates | |
class Coordinates c where #
Methods
(^&) :: PrevDim c -> FinalCoord c -> c #
pr :: PrevDim c -> FinalCoord c -> c #
coords :: c -> Decomposition c #
Instances
| Coordinates (V2 n) | |
| Coordinates (V3 n) | |
| Coordinates (V4 n) | |
Defined in Diagrams.Coordinates Methods (^&) :: PrevDim (V4 n) -> FinalCoord (V4 n) -> V4 n # pr :: PrevDim (V4 n) -> FinalCoord (V4 n) -> V4 n # coords :: V4 n -> Decomposition (V4 n) # | |
| Coordinates (a, b) | |
Defined in Diagrams.Coordinates Methods (^&) :: PrevDim (a, b) -> FinalCoord (a, b) -> (a, b) # pr :: PrevDim (a, b) -> FinalCoord (a, b) -> (a, b) # coords :: (a, b) -> Decomposition (a, b) # | |
| Coordinates (a :& b) | |
Defined in Diagrams.Coordinates | |
| Coordinates (v n) => Coordinates (Point v n) | |
Defined in Diagrams.Coordinates | |
| Coordinates (a, b, c) | |
Defined in Diagrams.Coordinates Associated Types type FinalCoord (a, b, c) :: Type # type PrevDim (a, b, c) :: Type # type Decomposition (a, b, c) :: Type # Methods (^&) :: PrevDim (a, b, c) -> FinalCoord (a, b, c) -> (a, b, c) # pr :: PrevDim (a, b, c) -> FinalCoord (a, b, c) -> (a, b, c) # coords :: (a, b, c) -> Decomposition (a, b, c) # | |
| Coordinates (a, b, c, d) | |
Defined in Diagrams.Coordinates Associated Types type FinalCoord (a, b, c, d) :: Type # type PrevDim (a, b, c, d) :: Type # type Decomposition (a, b, c, d) :: Type # Methods (^&) :: PrevDim (a, b, c, d) -> FinalCoord (a, b, c, d) -> (a, b, c, d) # pr :: PrevDim (a, b, c, d) -> FinalCoord (a, b, c, d) -> (a, b, c, d) # coords :: (a, b, c, d) -> Decomposition (a, b, c, d) # | |
class Deformable a b where #
Instances
| (Metric v, Metric u, OrderedField n, r ~ Located (Trail u n)) => Deformable (Located (Trail v n)) r | |
| (Metric v, Metric u, OrderedField n, r ~ Path u n) => Deformable (Path v n) r | |
| r ~ Point u n => Deformable (Point v n) r | |
newtype Deformation (v :: Type -> Type) (u :: Type -> Type) n #
Constructors
| Deformation (Point v n -> Point u n) |
Instances
| Semigroup (Deformation v v n) | |
Defined in Diagrams.Deform Methods (<>) :: Deformation v v n -> Deformation v v n -> Deformation v v n # sconcat :: NonEmpty (Deformation v v n) -> Deformation v v n # stimes :: Integral b => b -> Deformation v v n -> Deformation v v n # | |
| Monoid (Deformation v v n) | |
Defined in Diagrams.Deform Methods mempty :: Deformation v v n # mappend :: Deformation v v n -> Deformation v v n -> Deformation v v n # mconcat :: [Deformation v v n] -> Deformation v v n # | |
data Direction (v :: Type -> Type) n #
Instances
| Functor v => Functor (Direction v) | |
| HasPhi v => HasPhi (Direction v) | |
| HasTheta v => HasTheta (Direction v) | |
| Eq (v n) => Eq (Direction v n) | |
| Ord (v n) => Ord (Direction v n) | |
Defined in Diagrams.Direction Methods compare :: Direction v n -> Direction v n -> Ordering # (<) :: Direction v n -> Direction v n -> Bool # (<=) :: Direction v n -> Direction v n -> Bool # (>) :: Direction v n -> Direction v n -> Bool # (>=) :: Direction v n -> Direction v n -> Bool # | |
| Read (v n) => Read (Direction v n) | |
| Show (v n) => Show (Direction v n) | |
| (V (v n) ~ v, N (v n) ~ n, Transformable (v n)) => Transformable (Direction v n) | |
Defined in Diagrams.Direction | |
| type N (Direction v n) | |
Defined in Diagrams.Direction | |
| type V (Direction v n) | |
Defined in Diagrams.Direction | |
Instances
type family Codomain p :: Type -> Type #
Instances
| type Codomain (Located a) | |
Defined in Diagrams.Located | |
| type Codomain (Tangent t) | |
Defined in Diagrams.Tangent | |
| type Codomain (GetSegment t) | |
Defined in Diagrams.Trail | |
| type Codomain (BernsteinPoly n) | |
Defined in Diagrams.TwoD.Segment.Bernstein type Codomain (BernsteinPoly n) = V1 | |
| type Codomain (FixedSegment v n) | |
Defined in Diagrams.Segment | |
| type Codomain (SegTree v n) | |
Defined in Diagrams.Trail | |
| type Codomain (Trail v n) | |
Defined in Diagrams.Trail | |
| type Codomain (Segment Closed v n) | |
Defined in Diagrams.Segment | |
| type Codomain (Trail' l v n) | |
Defined in Diagrams.Trail | |
class DomainBounds p where #
Minimal complete definition
Nothing
Instances
class (Parametric p, DomainBounds p) => EndValues p where #
Minimal complete definition
Nothing
Instances
class Parametric p => HasArcLength p where #
Minimal complete definition
Methods
arcLengthBounded :: N p -> p -> Interval (N p) #
arcLength :: N p -> p -> N p #
stdArcLength :: p -> N p #
arcLengthToParam :: N p -> p -> N p -> N p #
stdArcLengthToParam :: p -> N p -> N p #
Instances
class Parametric p where #
Instances
class DomainBounds p => Sectionable p where #
Minimal complete definition
Methods
splitAtParam :: p -> N p -> (p, p) #
section :: p -> N p -> N p -> p #
reverseDomain :: p -> p #
Instances
data AdjustMethod n #
Constructors
| ByParam n | |
| ByAbsolute n | |
| ToAbsolute n |
Instances
| Fractional n => Default (AdjustMethod n) | |
Defined in Diagrams.Parametric.Adjust Methods def :: AdjustMethod n # | |
data AdjustOpts n #
Instances
| Fractional n => Default (AdjustOpts n) | |
Defined in Diagrams.Parametric.Adjust Methods def :: AdjustOpts n # | |
data AdjustSide #
Instances
newtype Path (v :: Type -> Type) n #
Instances
| Eq (v n) => Eq (Path v n) | |
| Ord (v n) => Ord (Path v n) | |
Defined in Diagrams.Path | |
| Show (v n) => Show (Path v n) | |
| Generic (Path v n) | |
| Semigroup (Path v n) | |
| Monoid (Path v n) | |
| (Metric v, OrderedField n) => Enveloped (Path v n) | |
Defined in Diagrams.Path | |
| (Additive v, Num n) => HasOrigin (Path v n) | |
Defined in Diagrams.Path | |
| (Metric v, OrderedField n) => Juxtaposable (Path v n) | |
| (HasLinearMap v, Metric v, OrderedField n) => Transformable (Path v n) | |
Defined in Diagrams.Path | |
| (Metric v, OrderedField n) => Alignable (Path v n) | |
Defined in Diagrams.Path Methods alignBy' :: (InSpace v0 n0 (Path v n), Fractional n0, HasOrigin (Path v n)) => (v0 n0 -> Path v n -> Point v0 n0) -> v0 n0 -> n0 -> Path v n -> Path v n # defaultBoundary :: (V (Path v n) ~ v0, N (Path v n) ~ n0) => v0 n0 -> Path v n -> Point v0 n0 # alignBy :: (InSpace v0 n0 (Path v n), Fractional n0, HasOrigin (Path v n)) => v0 n0 -> n0 -> Path v n -> Path v n # | |
| ToPath (Path v n) | |
| (Metric v, OrderedField n) => TrailLike (Path v n) | |
| AsEmpty (Path v n) | |
Defined in Diagrams.Path | |
| (Metric v, OrderedField n) => Reversing (Path v n) | |
Defined in Diagrams.Path | |
| Wrapped (Path v n) | |
| (OrderedField n, Metric v, Serialize (v n), Serialize (V (v n) (N (v n)))) => Serialize (Path v n) | |
Defined in Diagrams.Path | |
| (HasLinearMap v, Metric v, OrderedField n) => Renderable (Path v n) NullBackend | |
Defined in Diagrams.Path Methods render :: NullBackend -> Path v n -> Render NullBackend (V (Path v n)) (N (Path v n)) # | |
| SVGFloat n => Renderable (Path V2 n) SVG | |
| (Metric v, Metric u, OrderedField n, r ~ Path u n) => Deformable (Path v n) r | |
| Rewrapped (Path v n) (Path v' n') | |
Defined in Diagrams.Path | |
| Cons (Path v n) (Path v' n') (Located (Trail v n)) (Located (Trail v' n')) | |
| Snoc (Path v n) (Path v' n') (Located (Trail v n)) (Located (Trail v' n')) | |
| Each (Path v n) (Path v' n') (Located (Trail v n)) (Located (Trail v' n')) | |
| type Rep (Path v n) | |
| type N (Path v n) | |
Defined in Diagrams.Path | |
| type V (Path v n) | |
Defined in Diagrams.Path | |
| type Unwrapped (Path v n) | |
Defined in Diagrams.Path | |
Instances
| ToPath a => ToPath [a] | |
| ToPath (Located [Segment Closed v n]) | |
| ToPath (Located (Segment Closed v n)) | |
| ToPath (Located (Trail v n)) | |
| ToPath (Located (Trail' l v n)) | |
| ToPath (Path v n) | |
| ToPath (FixedSegment v n) | |
Defined in Diagrams.Path Methods toPath :: FixedSegment v n -> Path (V (FixedSegment v n)) (N (FixedSegment v n)) # | |
| ToPath (Trail v n) | |
| ToPath (Trail' l v n) | |
class HasQuery t m | t -> m where #
Instances
| (Num n, Ord n) => HasQuery (Box n) Any | |
| (Floating n, Ord n) => HasQuery (CSG n) Any | |
| (Num n, Ord n) => HasQuery (Ellipsoid n) Any | |
| OrderedField n => HasQuery (Frustum n) Any | |
| RealFloat n => HasQuery (Clip n) All | |
| (Additive v, Foldable v, Ord n) => HasQuery (BoundingBox v n) Any | |
Defined in Diagrams.BoundingBox Methods getQuery :: BoundingBox v n -> Query (V (BoundingBox v n)) (N (BoundingBox v n)) Any # | |
| RealFloat n => HasQuery (DImage n a) Any | |
| HasQuery (Query v n m) m | |
| Monoid m => HasQuery (QDiagram b v n m) m | |
Instances
| (Num n, Ord n) => Semigroup (ArcLength n) | |
| (Num n, Ord n) => Monoid (ArcLength n) | |
| Wrapped (ArcLength n) | |
| Rewrapped (ArcLength n) (ArcLength n') | |
Defined in Diagrams.Segment | |
| (Metric v, OrderedField n) => Measured (SegMeasure v n) (SegMeasure v n) | |
Defined in Diagrams.Segment Methods measure :: SegMeasure v n -> SegMeasure v n | |
| (Floating n, Ord n, Metric v) => Measured (SegMeasure v n) (SegTree v n) | |
Defined in Diagrams.Trail Methods measure :: SegTree v n -> SegMeasure v n | |
| (OrderedField n, Metric v) => Measured (SegMeasure v n) (Segment Closed v n) | |
Defined in Diagrams.Segment Methods measure :: Segment Closed v n -> SegMeasure v n | |
| type Unwrapped (ArcLength n) | |
Defined in Diagrams.Segment | |
Instances
data FixedSegment (v :: Type -> Type) n #
Instances
data Offset c (v :: Type -> Type) n where #
Constructors
| OffsetOpen :: forall c (v :: Type -> Type) n. Offset Open v n | |
| OffsetClosed :: forall c (v :: Type -> Type) n. v n -> Offset Closed v n |
Instances
| Functor v => Functor (Offset c v) | |
| Eq (v n) => Eq (Offset c v n) | |
| Ord (v n) => Ord (Offset c v n) | |
Defined in Diagrams.Segment | |
| Show (v n) => Show (Offset c v n) | |
| Transformable (Offset c v n) | |
Defined in Diagrams.Segment | |
| (Additive v, Num n) => Reversing (Offset c v n) | |
Defined in Diagrams.Segment | |
| Each (Offset c v n) (Offset c v' n') (v n) (v' n') | |
| type N (Offset c v n) | |
Defined in Diagrams.Segment | |
| type V (Offset c v n) | |
Defined in Diagrams.Segment | |
data OffsetEnvelope (v :: Type -> Type) n #
Constructors
| OffsetEnvelope | |
Fields
| |
Instances
| (Metric v, OrderedField n) => Semigroup (OffsetEnvelope v n) | |
Defined in Diagrams.Segment Methods (<>) :: OffsetEnvelope v n -> OffsetEnvelope v n -> OffsetEnvelope v n # sconcat :: NonEmpty (OffsetEnvelope v n) -> OffsetEnvelope v n # stimes :: Integral b => b -> OffsetEnvelope v n -> OffsetEnvelope v n # | |
| (Metric v, OrderedField n) => Measured (SegMeasure v n) (SegMeasure v n) | |
Defined in Diagrams.Segment Methods measure :: SegMeasure v n -> SegMeasure v n | |
| (Floating n, Ord n, Metric v) => Measured (SegMeasure v n) (SegTree v n) | |
Defined in Diagrams.Trail Methods measure :: SegTree v n -> SegMeasure v n | |
| (OrderedField n, Metric v) => Measured (SegMeasure v n) (Segment Closed v n) | |
Defined in Diagrams.Segment Methods measure :: Segment Closed v n -> SegMeasure v n | |
Instances
| Semigroup SegCount | |
| Monoid SegCount | |
| Wrapped SegCount | |
| Rewrapped SegCount SegCount | |
Defined in Diagrams.Segment | |
| (Metric v, OrderedField n) => Measured (SegMeasure v n) (SegMeasure v n) | |
Defined in Diagrams.Segment Methods measure :: SegMeasure v n -> SegMeasure v n | |
| (Floating n, Ord n, Metric v) => Measured (SegMeasure v n) (SegTree v n) | |
Defined in Diagrams.Trail Methods measure :: SegTree v n -> SegMeasure v n | |
| (OrderedField n, Metric v) => Measured (SegMeasure v n) (Segment Closed v n) | |
Defined in Diagrams.Segment Methods measure :: Segment Closed v n -> SegMeasure v n | |
| type Unwrapped SegCount | |
Defined in Diagrams.Segment | |
type SegMeasure (v :: Type -> Type) n = SegCount ::: (ArcLength n ::: (OffsetEnvelope v n ::: ())) #
data Segment c (v :: Type -> Type) n #
Instances
newtype TotalOffset (v :: Type -> Type) n #
Constructors
| TotalOffset (v n) |
Instances
| (Num n, Additive v) => Semigroup (TotalOffset v n) | |
Defined in Diagrams.Segment Methods (<>) :: TotalOffset v n -> TotalOffset v n -> TotalOffset v n # sconcat :: NonEmpty (TotalOffset v n) -> TotalOffset v n # stimes :: Integral b => b -> TotalOffset v n -> TotalOffset v n # | |
| (Num n, Additive v) => Monoid (TotalOffset v n) | |
Defined in Diagrams.Segment Methods mempty :: TotalOffset v n # mappend :: TotalOffset v n -> TotalOffset v n -> TotalOffset v n # mconcat :: [TotalOffset v n] -> TotalOffset v n # | |
| Wrapped (TotalOffset v n) | |
Defined in Diagrams.Segment Associated Types type Unwrapped (TotalOffset v n) :: Type # Methods _Wrapped' :: Iso' (TotalOffset v n) (Unwrapped (TotalOffset v n)) # | |
| Rewrapped (TotalOffset v n) (TotalOffset v' n') | |
Defined in Diagrams.Segment | |
| type Unwrapped (TotalOffset v n) | |
Defined in Diagrams.Segment | |
data SizeSpec (v :: Type -> Type) n #
Instances
| Functor v => Functor (SizeSpec v) | |
| Show (v n) => Show (SizeSpec v n) | |
| Generic (SizeSpec v n) | |
| Hashable (v n) => Hashable (SizeSpec v n) | |
Defined in Diagrams.Size | |
| type Rep (SizeSpec v n) | |
Defined in Diagrams.Size | |
| type N (SizeSpec v n) | |
Defined in Diagrams.Size | |
| type V (SizeSpec v n) | |
Defined in Diagrams.Size | |
Constructors
| Tangent t |
Instances
Instances
| Show Ambient | |
| Semigroup Ambient | |
| AttributeClass Ambient | |
Defined in Diagrams.ThreeD.Attributes | |
Instances
| Show Diffuse | |
| Semigroup Diffuse | |
| AttributeClass Diffuse | |
Defined in Diagrams.ThreeD.Attributes | |
Instances
| Show Highlight | |
| Semigroup Highlight | |
| AttributeClass Highlight | |
Defined in Diagrams.ThreeD.Attributes | |
Constructors
| Specular | |
Fields | |
newtype SurfaceColor #
Constructors
| SurfaceColor (Last (Colour Double)) |
Instances
| Show SurfaceColor | |
Defined in Diagrams.ThreeD.Attributes Methods showsPrec :: Int -> SurfaceColor -> ShowS # show :: SurfaceColor -> String # showList :: [SurfaceColor] -> ShowS # | |
| Semigroup SurfaceColor | |
Defined in Diagrams.ThreeD.Attributes Methods (<>) :: SurfaceColor -> SurfaceColor -> SurfaceColor # sconcat :: NonEmpty SurfaceColor -> SurfaceColor # stimes :: Integral b => b -> SurfaceColor -> SurfaceColor # | |
| AttributeClass SurfaceColor | |
Defined in Diagrams.ThreeD.Attributes | |
data Camera (l :: Type -> Type) n #
Instances
| Num n => Transformable (Camera l n) | |
Defined in Diagrams.ThreeD.Camera | |
| Num n => Renderable (Camera l n) NullBackend | |
Defined in Diagrams.ThreeD.Camera Methods render :: NullBackend -> Camera l n -> Render NullBackend (V (Camera l n)) (N (Camera l n)) # | |
| type N (Camera l n) | |
Defined in Diagrams.ThreeD.Camera | |
| type V (Camera l n) | |
Defined in Diagrams.ThreeD.Camera | |
Constructors
| OrthoLens | |
Fields
| |
data PerspectiveLens n #
Constructors
| PerspectiveLens | |
Fields
| |
Instances
| CameraLens PerspectiveLens | |
Defined in Diagrams.ThreeD.Camera Methods aspect :: Floating n => PerspectiveLens n -> n # | |
| type N (PerspectiveLens n) | |
Defined in Diagrams.ThreeD.Camera | |
| type V (PerspectiveLens n) | |
Defined in Diagrams.ThreeD.Camera | |
data ParallelLight n #
Constructors
| ParallelLight (V3 n) (Colour Double) |
Instances
| Transformable (ParallelLight n) | |
Defined in Diagrams.ThreeD.Light Methods transform :: Transformation (V (ParallelLight n)) (N (ParallelLight n)) -> ParallelLight n -> ParallelLight n # | |
| type N (ParallelLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type V (ParallelLight n) | |
Defined in Diagrams.ThreeD.Light | |
data PointLight n #
Constructors
| PointLight (Point V3 n) (Colour Double) |
Instances
| Fractional n => Transformable (PointLight n) | |
Defined in Diagrams.ThreeD.Light Methods transform :: Transformation (V (PointLight n)) (N (PointLight n)) -> PointLight n -> PointLight n # | |
| type N (PointLight n) | |
Defined in Diagrams.ThreeD.Light | |
| type V (PointLight n) | |
Defined in Diagrams.ThreeD.Light | |
Constructors
| Box (Transformation V3 n) |
Instances
| CsgPrim Box | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Enveloped (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (Fractional n, Ord n) => Traced (Box n) | |
| Fractional n => Transformable (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Skinned (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| Fractional n => Renderable (Box n) NullBackend | |
Defined in Diagrams.ThreeD.Shapes Methods render :: NullBackend -> Box n -> Render NullBackend (V (Box n)) (N (Box n)) # | |
| (Num n, Ord n) => HasQuery (Box n) Any | |
| type N (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
Constructors
| CsgEllipsoid (Ellipsoid n) | |
| CsgBox (Box n) | |
| CsgFrustum (Frustum n) | |
| CsgUnion [CSG n] | |
| CsgIntersection [CSG n] | |
| CsgDifference (CSG n) (CSG n) |
Instances
| CsgPrim CSG | |
Defined in Diagrams.ThreeD.Shapes | |
| RealFloat n => Enveloped (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (RealFloat n, Ord n) => Traced (CSG n) | |
| Fractional n => Transformable (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (RealFloat n, Ord n) => Skinned (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (Floating n, Ord n) => HasQuery (CSG n) Any | |
| type N (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
Constructors
| Ellipsoid (Transformation V3 n) |
Instances
| CsgPrim Ellipsoid | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Enveloped (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Traced (Ellipsoid n) | |
| Fractional n => Transformable (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Skinned (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| Fractional n => Renderable (Ellipsoid n) NullBackend | |
Defined in Diagrams.ThreeD.Shapes Methods render :: NullBackend -> Ellipsoid n -> Render NullBackend (V (Ellipsoid n)) (N (Ellipsoid n)) # | |
| (Num n, Ord n) => HasQuery (Ellipsoid n) Any | |
| type N (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
Constructors
| Frustum n n (Transformation V3 n) |
Instances
| CsgPrim Frustum | |
Defined in Diagrams.ThreeD.Shapes | |
| (OrderedField n, RealFloat n) => Enveloped (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (RealFloat n, Ord n) => Traced (Frustum n) | |
| Fractional n => Transformable (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| Skinned (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| Fractional n => Renderable (Frustum n) NullBackend | |
Defined in Diagrams.ThreeD.Shapes Methods render :: NullBackend -> Frustum n -> Render NullBackend (V (Frustum n)) (N (Frustum n)) # | |
| OrderedField n => HasQuery (Frustum n) Any | |
| type N (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
| type V (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
Methods
skin :: (Renderable t b, N t ~ n, TypeableFloat n) => t -> QDiagram b V3 n Any #
Instances
| OrderedField n => Skinned (Box n) | |
Defined in Diagrams.ThreeD.Shapes | |
| (RealFloat n, Ord n) => Skinned (CSG n) | |
Defined in Diagrams.ThreeD.Shapes | |
| OrderedField n => Skinned (Ellipsoid n) | |
Defined in Diagrams.ThreeD.Shapes | |
| Skinned (Frustum n) | |
Defined in Diagrams.ThreeD.Shapes | |
type T3 = Transformation V3 #
newtype GetSegment t #
Constructors
| GetSegment t |
Instances
newtype GetSegmentCodomain (v :: Type -> Type) n #
Constructors
| GetSegmentCodomain (Maybe (v n, Segment Closed v n, AnIso' n n)) |
Instances
Instances
| (Metric v, OrderedField n, Real n) => EndValues (GetSegment (Trail' Loop v n)) | |
Defined in Diagrams.Trail Methods atStart :: GetSegment (Trail' Loop v n) -> Codomain (GetSegment (Trail' Loop v n)) (N (GetSegment (Trail' Loop v n))) # atEnd :: GetSegment (Trail' Loop v n) -> Codomain (GetSegment (Trail' Loop v n)) (N (GetSegment (Trail' Loop v n))) # | |
| (Metric v, OrderedField n, Real n) => Parametric (GetSegment (Trail' Loop v n)) | |
Defined in Diagrams.Trail Methods atParam :: GetSegment (Trail' Loop v n) -> N (GetSegment (Trail' Loop v n)) -> Codomain (GetSegment (Trail' Loop v n)) (N (GetSegment (Trail' Loop v n))) # | |
| (Metric v, OrderedField n) => TrailLike (Trail' Loop v n) | |
newtype SegTree (v :: Type -> Type) n #
Constructors
| SegTree (FingerTree (SegMeasure v n) (Segment Closed v n)) |
Instances
data Trail (v :: Type -> Type) n where #
Instances
data Trail' l (v :: Type -> Type) n where #
Constructors
| Line :: forall l (v :: Type -> Type) n. SegTree v n -> Trail' Line v n | |
| Loop :: forall l (v :: Type -> Type) n. SegTree v n -> Segment Open v n -> Trail' Loop v n |
Instances
class (Metric (V t), OrderedField (N t)) => TrailLike t where #
Instances
| (Metric v, OrderedField n) => TrailLike [Point v n] | |
| TrailLike t => TrailLike (TransInv t) | |
| TrailLike t => TrailLike (Located t) | |
| (Metric v, OrderedField n) => TrailLike (Path v n) | |
| (Metric v, OrderedField n) => TrailLike (Trail v n) | |
| (Metric v, OrderedField n) => TrailLike (Trail' Line v n) | |
| (Metric v, OrderedField n) => TrailLike (Trail' Loop v n) | |
Constructors
| ArrowOpts | |
Fields
| |
Instances
| TypeableFloat n => Default (ArrowOpts n) | |
Defined in Diagrams.TwoD.Arrow | |
data GradientStop d #
Constructors
| GradientStop | |
Fields
| |
Constructors
| LGradient | |
Fields
| |
Instances
| Fractional n => Transformable (LGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (LGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (LGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
Constructors
| RGradient | |
Fields
| |
Instances
| Fractional n => Transformable (RGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (RGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (RGradient n) | |
Defined in Diagrams.TwoD.Attributes | |
data SpreadMethod #
Constructors
| GradPad | |
| GradReflect | |
| GradRepeat |
Instances
| Floating n => Transformable (Texture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type N (Texture n) | |
Defined in Diagrams.TwoD.Attributes | |
| type V (Texture n) | |
Defined in Diagrams.TwoD.Attributes | |
Instances
| Fractional n => HasOrigin (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
| Fractional n => Transformable (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
| Fractional n => Renderable (DImage n a) NullBackend | |
Defined in Diagrams.TwoD.Image Methods render :: NullBackend -> DImage n a -> Render NullBackend (V (DImage n a)) (N (DImage n a)) # | |
| SVGFloat n => Renderable (DImage n (Native Img)) SVG | |
| SVGFloat n => Renderable (DImage n Embedded) SVG | |
| RealFloat n => HasQuery (DImage n a) Any | |
| type N (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
| type V (DImage n a) | |
Defined in Diagrams.TwoD.Image | |
Constructors
| ImageRaster :: forall a. DynamicImage -> ImageData Embedded | |
| ImageRef :: forall a. FilePath -> ImageData External | |
| ImageNative :: forall a t. t -> ImageData (Native t) |
data EnvelopeOpts n #
Constructors
| EnvelopeOpts | |
Instances
| OrderedField n => Default (EnvelopeOpts n) | |
Defined in Diagrams.TwoD.Model Methods def :: EnvelopeOpts n # | |
data OriginOpts n #
Instances
| Fractional n => Default (OriginOpts n) | |
Defined in Diagrams.TwoD.Model Methods def :: OriginOpts n # | |
Instances
| Eq FillRule | |
| Ord FillRule | |
Defined in Diagrams.TwoD.Path | |
| Show FillRule | |
| Semigroup FillRule | |
| Default FillRule | |
Defined in Diagrams.TwoD.Path | |
| AttributeClass FillRule | |
Defined in Diagrams.TwoD.Path | |
data StrokeOpts a #
Constructors
| StrokeOpts | |
Fields
| |
Instances
| Default (StrokeOpts a) | |
Defined in Diagrams.TwoD.Path Methods def :: StrokeOpts a # | |
data PolyOrientation n #
Instances
data PolygonOpts n #
Constructors
| PolygonOpts | |
Fields
| |
Instances
| Num n => Default (PolygonOpts n) | |
Defined in Diagrams.TwoD.Polygons Methods def :: PolygonOpts n # | |
data RoundedRectOpts d #
Constructors
| RoundedRectOpts | |
Instances
| Num d => Default (RoundedRectOpts d) | |
Defined in Diagrams.TwoD.Shapes Methods def :: RoundedRectOpts d # | |
type T2 = Transformation V2 #
class Additive (Diff p) => Affine (p :: Type -> Type) where #
Instances
| Affine [] | |
| Affine Maybe | |
| Affine Complex | |
| Affine ZipList | |
| Affine Identity | |
| Affine IntMap | |
| Affine Vector | |
| Affine Time | |
| Affine V2 | |
| Affine V3 | |
| Affine V4 | |
| Affine V1 | |
| Affine Plucker | |
| Affine Quaternion | |
| Affine V0 | |
| Ord k => Affine (Map k) | |
| (Eq k, Hashable k) => Affine (HashMap k) | |
| Additive f => Affine (Point f) | |
| Dim n => Affine (V n) | |
| Affine ((->) b :: Type -> Type) | |
newtype Point (f :: Type -> Type) a #
Constructors
| P (f a) |
Instances
| Unbox (f a) => Vector Vector (Point f a) | |
Defined in Linear.Affine Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (Point f a) -> m (Vector (Point f a)) basicUnsafeThaw :: PrimMonad m => Vector (Point f a) -> m (Mutable Vector (PrimState m) (Point f a)) basicLength :: Vector (Point f a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (Point f a) -> Vector (Point f a) basicUnsafeIndexM :: Monad m => Vector (Point f a) -> Int -> m (Point f a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (Point f a) -> Vector (Point f a) -> m () | |
| Unbox (f a) => MVector MVector (Point f a) | |
Defined in Linear.Affine Methods basicLength :: MVector s (Point f a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (Point f a) -> MVector s (Point f a) basicOverlaps :: MVector s (Point f a) -> MVector s (Point f a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (Point f a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (Point f a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> Point f a -> m (MVector (PrimState m) (Point f a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> m (Point f a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> Point f a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (Point f a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (Point f a) -> Point f a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (Point f a) -> MVector (PrimState m) (Point f a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (Point f a) -> MVector (PrimState m) (Point f a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (Point f a) -> Int -> m (MVector (PrimState m) (Point f a)) | |
| Monad f => Monad (Point f) | |
| Functor f => Functor (Point f) | |
| Applicative f => Applicative (Point f) | |
| Foldable f => Foldable (Point f) | |
Defined in Linear.Affine Methods fold :: Monoid m => Point f m -> m # foldMap :: Monoid m => (a -> m) -> Point f a -> m # foldr :: (a -> b -> b) -> b -> Point f a -> b # foldr' :: (a -> b -> b) -> b -> Point f a -> b # foldl :: (b -> a -> b) -> b -> Point f a -> b # foldl' :: (b -> a -> b) -> b -> Point f a -> b # foldr1 :: (a -> a -> a) -> Point f a -> a # foldl1 :: (a -> a -> a) -> Point f a -> a # elem :: Eq a => a -> Point f a -> Bool # maximum :: Ord a => Point f a -> a # minimum :: Ord a => Point f a -> a # | |
| Traversable f => Traversable (Point f) | |
| Eq1 f => Eq1 (Point f) | |
| Ord1 f => Ord1 (Point f) | |
Defined in Linear.Affine | |
| Read1 f => Read1 (Point f) | |
Defined in Linear.Affine | |
| Show1 f => Show1 (Point f) | |
| Hashable1 f => Hashable1 (Point f) | |
Defined in Linear.Affine | |
| Apply f => Apply (Point f) | |
| Bind f => Bind (Point f) | |
| HasPhi v => HasPhi (Point v) | |
| HasTheta v => HasTheta (Point v) | |
| (Metric v, OrderedField n) => TrailLike [Point v n] | |
| HasR v => HasR (Point v) | |
| Additive f => Affine (Point f) | |
| Metric f => Metric (Point f) | |
Defined in Linear.Affine | |
| R1 f => R1 (Point f) | |
Defined in Linear.Affine | |
| R2 f => R2 (Point f) | |
| R3 f => R3 (Point f) | |
| Additive f => Additive (Point f) | |
Defined in Linear.Affine Methods (^+^) :: Num a => Point f a -> Point f a -> Point f a # (^-^) :: Num a => Point f a -> Point f a -> Point f a # lerp :: Num a => a -> Point f a -> Point f a -> Point f a # liftU2 :: (a -> a -> a) -> Point f a -> Point f a -> Point f a # liftI2 :: (a -> b -> c) -> Point f a -> Point f b -> Point f c # | |
| Representable f => Representable (Point f) | |
| Distributive f => Distributive (Point f) | |
| Finite f => Finite (Point f) | |
| R4 f => R4 (Point f) | |
| Serial1 f => Serial1 (Point f) | |
Defined in Linear.Affine Methods serializeWith :: MonadPut m => (a -> m ()) -> Point f a -> m () deserializeWith :: MonadGet m => m a -> m (Point f a) | |
| Generic1 (Point f :: Type -> Type) | |
| Functor v => Cosieve (Query v) (Point v) | |
Defined in Diagrams.Core.Query | |
| Eq (f a) => Eq (Point f a) | |
| Fractional (f a) => Fractional (Point f a) | |
| (Typeable f, Typeable a, Data (f a)) => Data (Point f a) | |
Defined in Linear.Affine Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Point f a -> c (Point f a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (Point f a) # toConstr :: Point f a -> Constr # dataTypeOf :: Point f a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (Point f a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (Point f a)) # gmapT :: (forall b. Data b => b -> b) -> Point f a -> Point f a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Point f a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Point f a -> r # gmapQ :: (forall d. Data d => d -> u) -> Point f a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> Point f a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> Point f a -> m (Point f a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Point f a -> m (Point f a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Point f a -> m (Point f a) # | |
| Num (f a) => Num (Point f a) | |
Defined in Linear.Affine | |
| Ord (f a) => Ord (Point f a) | |
| Read (f a) => Read (Point f a) | |
| Show (f a) => Show (Point f a) | |
| Ix (f a) => Ix (Point f a) | |
Defined in Linear.Affine Methods range :: (Point f a, Point f a) -> [Point f a] # index :: (Point f a, Point f a) -> Point f a -> Int # unsafeIndex :: (Point f a, Point f a) -> Point f a -> Int inRange :: (Point f a, Point f a) -> Point f a -> Bool # rangeSize :: (Point f a, Point f a) -> Int # unsafeRangeSize :: (Point f a, Point f a) -> Int | |
| Generic (Point f a) | |
| Storable (f a) => Storable (Point f a) | |
Defined in Linear.Affine | |
| Binary (f a) => Binary (Point f a) | |
| NFData (f a) => NFData (Point f a) | |
Defined in Linear.Affine | |
| Hashable (f a) => Hashable (Point f a) | |
Defined in Linear.Affine | |
| Unbox (f a) => Unbox (Point f a) | |
Defined in Linear.Affine | |
| (OrderedField n, Metric v) => Enveloped (Point v n) | |
Defined in Diagrams.Core.Envelope | |
| (Additive v, Num n) => HasOrigin (Point v n) | |
Defined in Diagrams.Core.HasOrigin | |
| (Additive v, Ord n) => Traced (Point v n) | |
| (Additive v, Num n) => Transformable (Point v n) | |
Defined in Diagrams.Core.Transform | |
| Coordinates (v n) => Coordinates (Point v n) | |
Defined in Diagrams.Coordinates | |
| Ixed (f a) => Ixed (Point f a) | |
Defined in Linear.Affine | |
| Wrapped (Point f a) | |
| Serialize (f a) => Serialize (Point f a) | |
Defined in Linear.Affine | |
| Epsilon (f a) => Epsilon (Point f a) | |
Defined in Linear.Affine | |
| Serial (f a) => Serial (Point f a) | |
Defined in Linear.Affine | |
| r ~ Point u n => Deformable (Point v n) r | |
| t ~ Point g b => Rewrapped (Point f a) t | |
Defined in Linear.Affine | |
| Traversable f => Each (Point f a) (Point f b) a b | |
| (Additive v', Foldable v', Ord n') => Each (BoundingBox v n) (BoundingBox v' n') (Point v n) (Point v' n') | |
Defined in Diagrams.BoundingBox Methods each :: Traversal (BoundingBox v n) (BoundingBox v' n') (Point v n) (Point v' n') # | |
| Each (FixedSegment v n) (FixedSegment v' n') (Point v n) (Point v' n') | |
Defined in Diagrams.Segment Methods each :: Traversal (FixedSegment v n) (FixedSegment v' n') (Point v n) (Point v' n') # | |
| newtype MVector s (Point f a) | |
Defined in Linear.Affine | |
| type Diff (Point f) | |
Defined in Linear.Affine | |
| type Rep (Point f) | |
Defined in Linear.Affine type Rep (Point f) = Rep f | |
| type Size (Point f) | |
Defined in Linear.Affine type Size (Point f) = Size f | |
| type Rep1 (Point f :: Type -> Type) | |
| type Rep (Point f a) | |
Defined in Linear.Affine | |
| newtype Vector (Point f a) | |
Defined in Linear.Affine | |
| type N (Point v n) | |
Defined in Diagrams.Core.Points | |
| type V (Point v n) | |
Defined in Diagrams.Core.Points | |
| type Decomposition (Point v n) | |
Defined in Diagrams.Coordinates | |
| type FinalCoord (Point v n) | |
Defined in Diagrams.Coordinates | |
| type PrevDim (Point v n) | |
Defined in Diagrams.Coordinates | |
| type Index (Point f a) | |
Defined in Linear.Affine | |
| type IxValue (Point f a) | |
Defined in Linear.Affine | |
| type Unwrapped (Point f a) | |
Defined in Linear.Affine | |
class Additive f => Metric (f :: Type -> Type) where #
Minimal complete definition
Nothing
Methods
dot :: Num a => f a -> f a -> a #
quadrance :: Num a => f a -> a #
qd :: Num a => f a -> f a -> a #
distance :: Floating a => f a -> f a -> a #
Instances
| Metric [] | |
| Metric Maybe | |
| Metric ZipList | |
Defined in Linear.Metric | |
| Metric Identity | |
Defined in Linear.Metric | |
| Metric IntMap | |
| Metric Vector | |
| Metric V2 | |
| Metric V3 | |
| Metric V4 | |
| Metric V1 | |
| Metric Plucker | |
Defined in Linear.Plucker | |
| Metric Quaternion | |
| Metric V0 | |
| Ord k => Metric (Map k) | |
| (Hashable k, Eq k) => Metric (HashMap k) | |
Defined in Linear.Metric | |
| Metric f => Metric (Point f) | |
Defined in Linear.Affine | |
| Dim n => Metric (V n) | |
class R1 t => R2 (t :: Type -> Type) where #
Minimal complete definition
Constructors
| V2 !a !a |
Instances
| Monad V2 | |
| Functor V2 | |
| MonadFix V2 | |
| Applicative V2 | |
| Foldable V2 | |
Defined in Linear.V2 Methods fold :: Monoid m => V2 m -> m # foldMap :: Monoid m => (a -> m) -> V2 a -> m # foldr :: (a -> b -> b) -> b -> V2 a -> b # foldr' :: (a -> b -> b) -> b -> V2 a -> b # foldl :: (b -> a -> b) -> b -> V2 a -> b # foldl' :: (b -> a -> b) -> b -> V2 a -> b # foldr1 :: (a -> a -> a) -> V2 a -> a # foldl1 :: (a -> a -> a) -> V2 a -> a # elem :: Eq a => a -> V2 a -> Bool # maximum :: Ord a => V2 a -> a # | |
| Traversable V2 | |
| Eq1 V2 | |
| Ord1 V2 | |
| Read1 V2 | |
| Show1 V2 | |
| MonadZip V2 | |
| Hashable1 V2 | |
| Apply V2 | |
| Bind V2 | |
| HasR V2 | |
| Affine V2 | |
| Metric V2 | |
| R1 V2 | |
| R2 V2 | |
| Additive V2 | |
| Traversable1 V2 | |
| Representable V2 | |
| Distributive V2 | |
| Foldable1 V2 | |
| Finite V2 | |
| Serial1 V2 | |
Defined in Linear.V2 Methods serializeWith :: MonadPut m => (a -> m ()) -> V2 a -> m () deserializeWith :: MonadGet m => m a -> m (V2 a) | |
| SVGFloat n => Backend SVG V2 n | |
| Unbox a => Vector Vector (V2 a) | |
Defined in Linear.V2 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V2 a) -> m (Vector (V2 a)) basicUnsafeThaw :: PrimMonad m => Vector (V2 a) -> m (Mutable Vector (PrimState m) (V2 a)) basicLength :: Vector (V2 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V2 a) -> Vector (V2 a) basicUnsafeIndexM :: Monad m => Vector (V2 a) -> Int -> m (V2 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V2 a) -> Vector (V2 a) -> m () | |
| Unbox a => MVector MVector (V2 a) | |
Defined in Linear.V2 Methods basicLength :: MVector s (V2 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V2 a) -> MVector s (V2 a) basicOverlaps :: MVector s (V2 a) -> MVector s (V2 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V2 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V2 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V2 a -> m (MVector (PrimState m) (V2 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> m (V2 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> V2 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V2 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V2 a) -> V2 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V2 a) -> MVector (PrimState m) (V2 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V2 a) -> MVector (PrimState m) (V2 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V2 a) -> Int -> m (MVector (PrimState m) (V2 a)) | |
| Bounded a => Bounded (V2 a) | |
| Eq a => Eq (V2 a) | |
| Floating a => Floating (V2 a) | |
| Fractional a => Fractional (V2 a) | |
| Data a => Data (V2 a) | |
Defined in Linear.V2 Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> V2 a -> c (V2 a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (V2 a) # dataTypeOf :: V2 a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (V2 a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (V2 a)) # gmapT :: (forall b. Data b => b -> b) -> V2 a -> V2 a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> V2 a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> V2 a -> r # gmapQ :: (forall d. Data d => d -> u) -> V2 a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> V2 a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> V2 a -> m (V2 a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> V2 a -> m (V2 a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> V2 a -> m (V2 a) # | |
| Num a => Num (V2 a) | |
| Ord a => Ord (V2 a) | |
| Read a => Read (V2 a) | |
| Show a => Show (V2 a) | |
| Ix a => Ix (V2 a) | |
| Generic (V2 a) | |
| Lift a => Lift (V2 a) | |
| Storable a => Storable (V2 a) | |
| Binary a => Binary (V2 a) | |
| NFData a => NFData (V2 a) | |
| Hashable a => Hashable (V2 a) | |
| Unbox a => Unbox (V2 a) | |
Defined in Linear.V2 | |
| Coordinates (V2 n) | |
| Ixed (V2 a) | |
| Serialize a => Serialize (V2 a) | |
| Epsilon a => Epsilon (V2 a) | |
| Serial a => Serial (V2 a) | |
Defined in Linear.V2 | |
| Generic1 V2 | |
| FoldableWithIndex (E V2) V2 | |
| FunctorWithIndex (E V2) V2 | |
| TraversableWithIndex (E V2) V2 | |
Defined in Linear.V2 Methods itraverse :: Applicative f => (E V2 -> a -> f b) -> V2 a -> f (V2 b) # itraversed :: IndexedTraversal (E V2) (V2 a) (V2 b) a b # | |
| Each (V2 a) (V2 b) a b | |
| Field1 (V2 a) (V2 a) a a | |
| Field2 (V2 a) (V2 a) a a | |
| RealFloat n => Traced (BoundingBox V2 n) | |
Defined in Diagrams.BoundingBox Methods getTrace :: BoundingBox V2 n -> Trace (V (BoundingBox V2 n)) (N (BoundingBox V2 n)) # | |
| SVGFloat n => Renderable (Path V2 n) SVG | |
| Semigroup (Render SVG V2 n) | |
| Monoid (Render SVG V2 n) | |
| Hashable n => Hashable (Options SVG V2 n) | |
Defined in Diagrams.Backend.SVG | |
| type Diff V2 | |
Defined in Linear.Affine | |
| type Rep V2 | |
| type Size V2 | |
| data Options SVG V2 n | |
Defined in Diagrams.Backend.SVG data Options SVG V2 n = SVGOptions {
| |
| newtype Render SVG V2 n | |
Defined in Diagrams.Backend.SVG | |
| type Result SVG V2 n | |
Defined in Diagrams.Backend.SVG | |
| data MVector s (V2 a) | |
| type Rep (V2 a) | |
Defined in Linear.V2 type Rep (V2 a) = D1 (MetaData "V2" "Linear.V2" "lnr-1.20.9-8295282c" False) (C1 (MetaCons "V2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 a) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 a))) | |
| data Vector (V2 a) | |
| type N (V2 n) | |
Defined in Diagrams.TwoD.Types | |
| type V (V2 n) | |
Defined in Diagrams.TwoD.Types | |
| type Decomposition (V2 n) | |
Defined in Diagrams.Coordinates | |
| type FinalCoord (V2 n) | |
Defined in Diagrams.Coordinates | |
| type PrevDim (V2 n) | |
Defined in Diagrams.Coordinates | |
| type Index (V2 a) | |
| type IxValue (V2 a) | |
| type Rep1 V2 | |
Defined in Linear.V2 type Rep1 V2 = D1 (MetaData "V2" "Linear.V2" "lnr-1.20.9-8295282c" False) (C1 (MetaCons "V2" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) Par1 :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) Par1)) | |
Constructors
| V3 !a !a !a |
Instances
| Monad V3 | |
| Functor V3 | |
| MonadFix V3 | |
| Applicative V3 | |
| Foldable V3 | |
Defined in Linear.V3 Methods fold :: Monoid m => V3 m -> m # foldMap :: Monoid m => (a -> m) -> V3 a -> m # foldr :: (a -> b -> b) -> b -> V3 a -> b # foldr' :: (a -> b -> b) -> b -> V3 a -> b # foldl :: (b -> a -> b) -> b -> V3 a -> b # foldl' :: (b -> a -> b) -> b -> V3 a -> b # foldr1 :: (a -> a -> a) -> V3 a -> a # foldl1 :: (a -> a -> a) -> V3 a -> a # elem :: Eq a => a -> V3 a -> Bool # maximum :: Ord a => V3 a -> a # | |
| Traversable V3 | |
| Eq1 V3 | |
| Ord1 V3 | |
| Read1 V3 | |
| Show1 V3 | |
| MonadZip V3 | |
| Hashable1 V3 | |
| Apply V3 | |
| Bind V3 | |
| Affine V3 | |
| Metric V3 | |
| R1 V3 | |
| R2 V3 | |
| R3 V3 | |
| Additive V3 | |
| Traversable1 V3 | |
| Representable V3 | |
| Distributive V3 | |
| Foldable1 V3 | |
| Finite V3 | |
| Serial1 V3 | |
Defined in Linear.V3 Methods serializeWith :: MonadPut m => (a -> m ()) -> V3 a -> m () deserializeWith :: MonadGet m => m a -> m (V3 a) | |
| Unbox a => Vector Vector (V3 a) | |
Defined in Linear.V3 Methods basicUnsafeFreeze :: PrimMonad m => Mutable Vector (PrimState m) (V3 a) -> m (Vector (V3 a)) basicUnsafeThaw :: PrimMonad m => Vector (V3 a) -> m (Mutable Vector (PrimState m) (V3 a)) basicLength :: Vector (V3 a) -> Int basicUnsafeSlice :: Int -> Int -> Vector (V3 a) -> Vector (V3 a) basicUnsafeIndexM :: Monad m => Vector (V3 a) -> Int -> m (V3 a) basicUnsafeCopy :: PrimMonad m => Mutable Vector (PrimState m) (V3 a) -> Vector (V3 a) -> m () | |
| Unbox a => MVector MVector (V3 a) | |
Defined in Linear.V3 Methods basicLength :: MVector s (V3 a) -> Int basicUnsafeSlice :: Int -> Int -> MVector s (V3 a) -> MVector s (V3 a) basicOverlaps :: MVector s (V3 a) -> MVector s (V3 a) -> Bool basicUnsafeNew :: PrimMonad m => Int -> m (MVector (PrimState m) (V3 a)) basicInitialize :: PrimMonad m => MVector (PrimState m) (V3 a) -> m () basicUnsafeReplicate :: PrimMonad m => Int -> V3 a -> m (MVector (PrimState m) (V3 a)) basicUnsafeRead :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> m (V3 a) basicUnsafeWrite :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> V3 a -> m () basicClear :: PrimMonad m => MVector (PrimState m) (V3 a) -> m () basicSet :: PrimMonad m => MVector (PrimState m) (V3 a) -> V3 a -> m () basicUnsafeCopy :: PrimMonad m => MVector (PrimState m) (V3 a) -> MVector (PrimState m) (V3 a) -> m () basicUnsafeMove :: PrimMonad m => MVector (PrimState m) (V3 a) -> MVector (PrimState m) (V3 a) -> m () basicUnsafeGrow :: PrimMonad m => MVector (PrimState m) (V3 a) -> Int -> m (MVector (PrimState m) (V3 a)) | |
| Bounded a => Bounded (V3 a) | |
| Eq a => Eq (V3 a) | |
| Floating a => Floating (V3 a) | |
| Fractional a => Fractional (V3 a) | |
| Data a => Data (V3 a) | |
Defined in Linear.V3 Methods gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> V3 a -> c (V3 a) # gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c (V3 a) # dataTypeOf :: V3 a -> DataType # dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c (V3 a)) # dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c (V3 a)) # gmapT :: (forall b. Data b => b -> b) -> V3 a -> V3 a # gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> V3 a -> r # gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> V3 a -> r # gmapQ :: (forall d. Data d => d -> u) -> V3 a -> [u] # gmapQi :: Int -> (forall d. Data d => d -> u) -> V3 a -> u # gmapM :: Monad m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> V3 a -> m (V3 a) # | |
| Num a => Num (V3 a) | |
| Ord a => Ord (V3 a) | |
| Read a => Read (V3 a) | |
| Show a => Show (V3 a) | |
| Ix a => Ix (V3 a) | |
| Generic (V3 a) | |
| Lift a => Lift (V3 a) | |
| Storable a => Storable (V3 a) | |
| Binary a => Binary (V3 a) | |
| NFData a => NFData (V3 a) | |
| Hashable a => Hashable (V3 a) | |
| Unbox a => Unbox (V3 a) | |
Defined in Linear.V3 | |
| Coordinates (V3 n) | |
| Ixed (V3 a) | |
| Serialize a => Serialize (V3 a) | |
| Epsilon a => Epsilon (V3 a) | |
| Serial a => Serial (V3 a) | |
Defined in Linear.V3 | |
| Generic1 V3 | |
| FoldableWithIndex (E V3) V3 | |
| FunctorWithIndex (E V3) V3 | |
| TraversableWithIndex (E V3) V3 | |
Defined in Linear.V3 Methods itraverse :: Applicative f => (E V3 -> a -> f b) -> V3 a -> f (V3 b) # itraversed :: IndexedTraversal (E V3) (V3 a) (V3 b) a b # | |
| Each (V3 a) (V3 b) a b | |
| Field1 (V3 a) (V3 a) a a | |
| Field2 (V3 a) (V3 a) a a | |
| Field3 (V3 a) (V3 a) a a | |
| TypeableFloat n => Traced (BoundingBox V3 n) | |
Defined in Diagrams.BoundingBox Methods getTrace :: BoundingBox V3 n -> Trace (V (BoundingBox V3 n)) (N (BoundingBox V3 n)) # | |
| type Diff V3 | |
Defined in Linear.Affine | |
| type Rep V3 | |
| type Size V3 | |
| data MVector s (V3 a) | |
| type Rep (V3 a) | |
Defined in Linear.V3 type Rep (V3 a) = D1 (MetaData "V3" "Linear.V3" "lnr-1.20.9-8295282c" False) (C1 (MetaCons "V3" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 a) :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 a) :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 a)))) | |
| data Vector (V3 a) | |
| type N (V3 n) | |
Defined in Diagrams.ThreeD.Types | |
| type V (V3 n) | |
Defined in Diagrams.ThreeD.Types | |
| type Decomposition (V3 n) | |
Defined in Diagrams.Coordinates | |
| type FinalCoord (V3 n) | |
Defined in Diagrams.Coordinates | |
| type PrevDim (V3 n) | |
Defined in Diagrams.Coordinates | |
| type Index (V3 a) | |
| type IxValue (V3 a) | |
| type Rep1 V3 | |
Defined in Linear.V3 type Rep1 V3 = D1 (MetaData "V3" "Linear.V3" "lnr-1.20.9-8295282c" False) (C1 (MetaCons "V3" PrefixI False) (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) Par1 :*: (S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) Par1 :*: S1 (MetaSel (Nothing :: Maybe Symbol) NoSourceUnpackedness SourceStrict DecidedStrict) Par1))) | |
class Functor f => Additive (f :: Type -> Type) where #
Minimal complete definition
Nothing
Methods
(^+^) :: Num a => f a -> f a -> f a #
(^-^) :: Num a => f a -> f a -> f a #
lerp :: Num a => a -> f a -> f a -> f a #
Instances
| Additive [] | |
| Additive Maybe | |
| Additive Complex | |
Defined in Linear.Vector Methods (^+^) :: Num a => Complex a -> Complex a -> Complex a # (^-^) :: Num a => Complex a -> Complex a -> Complex a # lerp :: Num a => a -> Complex a -> Complex a -> Complex a # liftU2 :: (a -> a -> a) -> Complex a -> Complex a -> Complex a # liftI2 :: (a -> b -> c) -> Complex a -> Complex b -> Complex c # | |
| Additive ZipList | |
Defined in Linear.Vector Methods (^+^) :: Num a => ZipList a -> ZipList a -> ZipList a # (^-^) :: Num a => ZipList a -> ZipList a -> ZipList a # lerp :: Num a => a -> ZipList a -> ZipList a -> ZipList a # liftU2 :: (a -> a -> a) -> ZipList a -> ZipList a -> ZipList a # liftI2 :: (a -> b -> c) -> ZipList a -> ZipList b -> ZipList c # | |
| Additive Identity | |
Defined in Linear.Vector Methods (^+^) :: Num a => Identity a -> Identity a -> Identity a # (^-^) :: Num a => Identity a -> Identity a -> Identity a # lerp :: Num a => a -> Identity a -> Identity a -> Identity a # liftU2 :: (a -> a -> a) -> Identity a -> Identity a -> Identity a # liftI2 :: (a -> b -> c) -> Identity a -> Identity b -> Identity c # | |
| Additive IntMap | |
Defined in Linear.Vector | |
| Additive Vector | |
Defined in Linear.Vector | |
| Additive Duration | |
Defined in Data.Active Methods (^+^) :: Num a => Duration a -> Duration a -> Duration a # (^-^) :: Num a => Duration a -> Duration a -> Duration a # lerp :: Num a => a -> Duration a -> Duration a -> Duration a # liftU2 :: (a -> a -> a) -> Duration a -> Duration a -> Duration a # liftI2 :: (a -> b -> c) -> Duration a -> Duration b -> Duration c # | |
| Additive Angle | |
| Additive V2 | |
| Additive V3 | |
| Additive V4 | |
| Additive V1 | |
| Additive Plucker | |
Defined in Linear.Plucker Methods (^+^) :: Num a => Plucker a -> Plucker a -> Plucker a # (^-^) :: Num a => Plucker a -> Plucker a -> Plucker a # lerp :: Num a => a -> Plucker a -> Plucker a -> Plucker a # liftU2 :: (a -> a -> a) -> Plucker a -> Plucker a -> Plucker a # liftI2 :: (a -> b -> c) -> Plucker a -> Plucker b -> Plucker c # | |
| Additive Quaternion | |
Defined in Linear.Quaternion Methods zero :: Num a => Quaternion a # (^+^) :: Num a => Quaternion a -> Quaternion a -> Quaternion a # (^-^) :: Num a => Quaternion a -> Quaternion a -> Quaternion a # lerp :: Num a => a -> Quaternion a -> Quaternion a -> Quaternion a # liftU2 :: (a -> a -> a) -> Quaternion a -> Quaternion a -> Quaternion a # liftI2 :: (a -> b -> c) -> Quaternion a -> Quaternion b -> Quaternion c # | |
| Additive V0 | |
| Ord k => Additive (Map k) | |
| (Eq k, Hashable k) => Additive (HashMap k) | |
Defined in Linear.Vector Methods zero :: Num a => HashMap k a # (^+^) :: Num a => HashMap k a -> HashMap k a -> HashMap k a # (^-^) :: Num a => HashMap k a -> HashMap k a -> HashMap k a # lerp :: Num a => a -> HashMap k a -> HashMap k a -> HashMap k a # liftU2 :: (a -> a -> a) -> HashMap k a -> HashMap k a -> HashMap k a # liftI2 :: (a -> b -> c) -> HashMap k a -> HashMap k b -> HashMap k c # | |
| Additive (Measured n) | |
Defined in Diagrams.Core.Measure Methods zero :: Num a => Measured n a # (^+^) :: Num a => Measured n a -> Measured n a -> Measured n a # (^-^) :: Num a => Measured n a -> Measured n a -> Measured n a # lerp :: Num a => a -> Measured n a -> Measured n a -> Measured n a # liftU2 :: (a -> a -> a) -> Measured n a -> Measured n a -> Measured n a # liftI2 :: (a -> b -> c) -> Measured n a -> Measured n b -> Measured n c # | |
| Additive f => Additive (Point f) | |
Defined in Linear.Affine Methods (^+^) :: Num a => Point f a -> Point f a -> Point f a # (^-^) :: Num a => Point f a -> Point f a -> Point f a # lerp :: Num a => a -> Point f a -> Point f a -> Point f a # liftU2 :: (a -> a -> a) -> Point f a -> Point f a -> Point f a # liftI2 :: (a -> b -> c) -> Point f a -> Point f b -> Point f c # | |
| Dim n => Additive (V n) | |
| Additive ((->) b :: Type -> Type) | |
Defined in Linear.Vector | |
newtype E (t :: Type -> Type) #
Instances
| FoldableWithIndex (E V2) V2 | |
| FoldableWithIndex (E V3) V3 | |
| FoldableWithIndex (E V4) V4 | |
| FoldableWithIndex (E V1) V1 | |
| FoldableWithIndex (E Plucker) Plucker | |
Defined in Linear.Plucker Methods ifoldMap :: Monoid m => (E Plucker -> a -> m) -> Plucker a -> m # ifolded :: IndexedFold (E Plucker) (Plucker a) a # ifoldr :: (E Plucker -> a -> b -> b) -> b -> Plucker a -> b # ifoldl :: (E Plucker -> b -> a -> b) -> b -> Plucker a -> b # ifoldr' :: (E Plucker -> a -> b -> b) -> b -> Plucker a -> b # ifoldl' :: (E Plucker -> b -> a -> b) -> b -> Plucker a -> b # | |
| FoldableWithIndex (E Quaternion) Quaternion | |
Defined in Linear.Quaternion Methods ifoldMap :: Monoid m => (E Quaternion -> a -> m) -> Quaternion a -> m # ifolded :: IndexedFold (E Quaternion) (Quaternion a) a # ifoldr :: (E Quaternion -> a -> b -> b) -> b -> Quaternion a -> b # ifoldl :: (E Quaternion -> b -> a -> b) -> b -> Quaternion a -> b # ifoldr' :: (E Quaternion -> a -> b -> b) -> b -> Quaternion a -> b # ifoldl' :: (E Quaternion -> b -> a -> b) -> b -> Quaternion a -> b # | |
| FoldableWithIndex (E V0) V0 | |
| FunctorWithIndex (E V2) V2 | |
| FunctorWithIndex (E V3) V3 | |
| FunctorWithIndex (E V4) V4 | |
| FunctorWithIndex (E V1) V1 | |
| FunctorWithIndex (E Plucker) Plucker | |
Defined in Linear.Plucker | |
| FunctorWithIndex (E Quaternion) Quaternion | |
Defined in Linear.Quaternion | |
| FunctorWithIndex (E V0) V0 | |
| TraversableWithIndex (E V2) V2 | |
Defined in Linear.V2 Methods itraverse :: Applicative f => (E V2 -> a -> f b) -> V2 a -> f (V2 b) # itraversed :: IndexedTraversal (E V2) (V2 a) (V2 b) a b # | |
| TraversableWithIndex (E V3) V3 | |
Defined in Linear.V3 Methods itraverse :: Applicative f => (E V3 -> a -> f b) -> V3 a -> f (V3 b) # itraversed :: IndexedTraversal (E V3) (V3 a) (V3 b) a b # | |
| TraversableWithIndex (E V4) V4 | |
Defined in Linear.V4 Methods itraverse :: Applicative f => (E V4 -> a -> f b) -> V4 a -> f (V4 b) # itraversed :: IndexedTraversal (E V4) (V4 a) (V4 b) a b # | |
| TraversableWithIndex (E V1) V1 | |
Defined in Linear.V1 Methods itraverse :: Applicative f => (E V1 -> a -> f b) -> V1 a -> f (V1 b) # itraversed :: IndexedTraversal (E V1) (V1 a) (V1 b) a b # | |
| TraversableWithIndex (E Plucker) Plucker | |
Defined in Linear.Plucker Methods itraverse :: Applicative f => (E Plucker -> a -> f b) -> Plucker a -> f (Plucker b) # itraversed :: IndexedTraversal (E Plucker) (Plucker a) (Plucker b) a b # | |
| TraversableWithIndex (E Quaternion) Quaternion | |
Defined in Linear.Quaternion Methods itraverse :: Applicative f => (E Quaternion -> a -> f b) -> Quaternion a -> f (Quaternion b) # itraversed :: IndexedTraversal (E Quaternion) (Quaternion a) (Quaternion b) a b # | |
| TraversableWithIndex (E V0) V0 | |
Defined in Linear.V0 Methods itraverse :: Applicative f => (E V0 -> a -> f b) -> V0 a -> f (V0 b) # itraversed :: IndexedTraversal (E V0) (V0 a) (V0 b) a b # | |
Minimal complete definition
at
Minimal complete definition
contains
Instances
| type Index ByteString | |
Defined in Control.Lens.At | |
| type Index ByteString | |
Defined in Control.Lens.At | |
| type Index IntSet | |
Defined in Control.Lens.At | |
| type Index Text | |
Defined in Control.Lens.At | |
| type Index Text | |
Defined in Control.Lens.At | |
| type Index [a] | |
Defined in Control.Lens.At | |
| type Index (Maybe a) | |
Defined in Control.Lens.At | |
| type Index (Complex a) | |
Defined in Control.Lens.At | |
| type Index (Identity a) | |
Defined in Control.Lens.At | |
| type Index (NonEmpty a) | |
Defined in Control.Lens.At | |
| type Index (IntMap a) | |
Defined in Control.Lens.At | |
| type Index (Tree a) | |
Defined in Control.Lens.At | |
| type Index (Seq a) | |
Defined in Control.Lens.At | |
| type Index (Set a) | |
Defined in Control.Lens.At | |
| type Index (HashSet a) | |
Defined in Control.Lens.At type Index (HashSet a) = a | |
| type Index (Vector a) | |
Defined in Control.Lens.At | |
| type Index (Vector a) | |
Defined in Control.Lens.At | |
| type Index (Vector a) | |
Defined in Control.Lens.At | |
| type Index (Vector a) | |
Defined in Control.Lens.At | |
| type Index (V2 a) | |
| type Index (V3 a) | |
| type Index (V4 a) | |
| type Index (V1 a) | |
| type Index (Plucker a) | |
Defined in Linear.Plucker | |
| type Index (Quaternion a) | |
Defined in Linear.Quaternion | |
| type Index (V0 a) | |
| type Index (e -> a) | |
Defined in Control.Lens.At type Index (e -> a) = e | |
| type Index (a, b) | |
Defined in Control.Lens.At | |
| type Index (UArray i e) | |
Defined in Control.Lens.At | |
| type Index (Array i e) | |
Defined in Control.Lens.At | |
| type Index (Map k a) | |
Defined in Control.Lens.At | |
| type Index (HashMap k a) | |
Defined in Control.Lens.At type Index (HashMap k a) = k | |
| type Index (Style v n) | |
Defined in Diagrams.Core.Style | |
| type Index (Point f a) | |
Defined in Linear.Affine | |
| type Index (a, b, c) | |
Defined in Control.Lens.At | |
| type Index (V n a) | |
| type Index (a, b, c, d) | |
Defined in Control.Lens.At | |
| type Index (a, b, c, d, e) | |
Defined in Control.Lens.At | |
| type Index (a, b, c, d, e, f) | |
Defined in Control.Lens.At | |
| type Index (a, b, c, d, e, f, g) | |
Defined in Control.Lens.At | |
| type Index (a, b, c, d, e, f, g, h) | |
Defined in Control.Lens.At | |
| type Index (a, b, c, d, e, f, g, h, i) | |
Defined in Control.Lens.At | |
type family IxValue m :: Type #
Instances
| type IxValue ByteString | |
Defined in Control.Lens.At | |
| type IxValue ByteString | |
Defined in Control.Lens.At | |
| type IxValue IntSet | |
Defined in Control.Lens.At | |
| type IxValue Text | |
Defined in Control.Lens.At | |
| type IxValue Text | |
Defined in Control.Lens.At | |
| type IxValue [a] | |
Defined in Control.Lens.At type IxValue [a] = a | |
| type IxValue (Maybe a) | |
Defined in Control.Lens.At | |
| type IxValue (Identity a) | |
Defined in Control.Lens.At | |
| type IxValue (NonEmpty a) | |
Defined in Control.Lens.At | |
| type IxValue (IntMap a) | |
Defined in Control.Lens.At | |
| type IxValue (Tree a) | |
Defined in Control.Lens.At | |
| type IxValue (Seq a) | |
Defined in Control.Lens.At | |
| type IxValue (Set k) | |
Defined in Control.Lens.At | |
| type IxValue (HashSet k) | |
Defined in Control.Lens.At type IxValue (HashSet k) = () | |
| type IxValue (Vector a) | |
Defined in Control.Lens.At type IxValue (Vector a) = a | |
| type IxValue (Vector a) | |
Defined in Control.Lens.At | |
| type IxValue (Vector a) | |
Defined in Control.Lens.At type IxValue (Vector a) = a | |
| type IxValue (Vector a) | |
Defined in Control.Lens.At type IxValue (Vector a) = a | |
| type IxValue (V2 a) | |
| type IxValue (V3 a) | |
| type IxValue (V4 a) | |
| type IxValue (V1 a) | |
| type IxValue (Plucker a) | |
Defined in Linear.Plucker type IxValue (Plucker a) = a | |
| type IxValue (Quaternion a) | |
Defined in Linear.Quaternion type IxValue (Quaternion a) = a | |
| type IxValue (V0 a) | |
| type IxValue (e -> a) | |
Defined in Control.Lens.At type IxValue (e -> a) = a | |
| type IxValue (a, a2) | |
Defined in Control.Lens.At type IxValue (a, a2) = a | |
| type IxValue (UArray i e) | |
Defined in Control.Lens.At | |
| type IxValue (Array i e) | |
Defined in Control.Lens.At | |
| type IxValue (Map k a) | |
Defined in Control.Lens.At | |
| type IxValue (HashMap k a) | |
Defined in Control.Lens.At type IxValue (HashMap k a) = a | |
| type IxValue (Style v n) | |
Defined in Diagrams.Core.Style | |
| type IxValue (Point f a) | |
Defined in Linear.Affine | |
| type IxValue (a, a2, a3) | |
Defined in Control.Lens.At type IxValue (a, a2, a3) = a | |
| type IxValue (V n a) | |
| type IxValue (a, a2, a3, a4) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4) = a | |
| type IxValue (a, a2, a3, a4, a5) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4, a5) = a | |
| type IxValue (a, a2, a3, a4, a5, a6) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4, a5, a6) = a | |
| type IxValue (a, a2, a3, a4, a5, a6, a7) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4, a5, a6, a7) = a | |
| type IxValue (a, a2, a3, a4, a5, a6, a7, a8) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4, a5, a6, a7, a8) = a | |
| type IxValue (a, a2, a3, a4, a5, a6, a7, a8, a9) | |
Defined in Control.Lens.At type IxValue (a, a2, a3, a4, a5, a6, a7, a8, a9) = a | |
Minimal complete definition
Nothing
Methods
ix :: Index m -> Traversal' m (IxValue m) #
Instances
| Ixed ByteString | |
Defined in Control.Lens.At Methods ix :: Index ByteString -> Traversal' ByteString (IxValue ByteString) # | |
| Ixed ByteString | |
Defined in Control.Lens.At Methods ix :: Index ByteString -> Traversal' ByteString (IxValue ByteString) # | |
| Ixed IntSet | |
Defined in Control.Lens.At | |
| Ixed Text | |
Defined in Control.Lens.At | |
| Ixed Text | |
Defined in Control.Lens.At | |
| Ixed [a] | |
Defined in Control.Lens.At Methods ix :: Index [a] -> Traversal' [a] (IxValue [a]) # | |
| Ixed (Maybe a) | |
Defined in Control.Lens.At | |
| Ixed (Identity a) | |
Defined in Control.Lens.At | |
| Ixed (NonEmpty a) | |
Defined in Control.Lens.At | |
| Ixed (IntMap a) | |
Defined in Control.Lens.At | |
| Ixed (Tree a) | |
Defined in Control.Lens.At | |
| Ixed (Seq a) | |
Defined in Control.Lens.At | |
| Ord k => Ixed (Set k) | |
Defined in Control.Lens.At | |
| (Eq k, Hashable k) => Ixed (HashSet k) | |
Defined in Control.Lens.At Methods ix :: Index (HashSet k) -> Traversal' (HashSet k) (IxValue (HashSet k)) # | |
| Ixed (Vector a) | |
Defined in Control.Lens.At Methods ix :: Index (Vector a) -> Traversal' (Vector a) (IxValue (Vector a)) # | |
| Unbox a => Ixed (Vector a) | |
Defined in Control.Lens.At | |
| Prim a => Ixed (Vector a) | |
Defined in Control.Lens.At Methods ix :: Index (Vector a) -> Traversal' (Vector a) (IxValue (Vector a)) # | |
| Storable a => Ixed (Vector a) | |
Defined in Control.Lens.At Methods ix :: Index (Vector a) -> Traversal' (Vector a) (IxValue (Vector a)) # | |
| Ixed (V2 a) | |
| Ixed (V3 a) | |
| Ixed (V4 a) | |
| Ixed (V1 a) | |
| Ixed (Plucker a) | |
Defined in Linear.Plucker Methods ix :: Index (Plucker a) -> Traversal' (Plucker a) (IxValue (Plucker a)) # | |
| Ixed (Quaternion a) | |
Defined in Linear.Quaternion Methods ix :: Index (Quaternion a) -> Traversal' (Quaternion a) (IxValue (Quaternion a)) # | |
| Ixed (V0 a) | |
| Eq e => Ixed (e -> a) | |
Defined in Control.Lens.At Methods ix :: Index (e -> a) -> Traversal' (e -> a) (IxValue (e -> a)) # | |
| a ~ a2 => Ixed (a, a2) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2) -> Traversal' (a, a2) (IxValue (a, a2)) # | |
| (IArray UArray e, Ix i) => Ixed (UArray i e) | |
Defined in Control.Lens.At | |
| Ix i => Ixed (Array i e) | |
Defined in Control.Lens.At | |
| Ord k => Ixed (Map k a) | |
Defined in Control.Lens.At | |
| (Eq k, Hashable k) => Ixed (HashMap k a) | |
Defined in Control.Lens.At Methods ix :: Index (HashMap k a) -> Traversal' (HashMap k a) (IxValue (HashMap k a)) # | |
| Ixed (Style v n) | |
Defined in Diagrams.Core.Style | |
| Ixed (f a) => Ixed (Point f a) | |
Defined in Linear.Affine | |
| (a ~ a2, a ~ a3) => Ixed (a, a2, a3) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3) -> Traversal' (a, a2, a3) (IxValue (a, a2, a3)) # | |
| Ixed (V n a) | |
| (a ~ a2, a ~ a3, a ~ a4) => Ixed (a, a2, a3, a4) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4) -> Traversal' (a, a2, a3, a4) (IxValue (a, a2, a3, a4)) # | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5) => Ixed (a, a2, a3, a4, a5) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4, a5) -> Traversal' (a, a2, a3, a4, a5) (IxValue (a, a2, a3, a4, a5)) # | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6) => Ixed (a, a2, a3, a4, a5, a6) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4, a5, a6) -> Traversal' (a, a2, a3, a4, a5, a6) (IxValue (a, a2, a3, a4, a5, a6)) # | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7) => Ixed (a, a2, a3, a4, a5, a6, a7) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4, a5, a6, a7) -> Traversal' (a, a2, a3, a4, a5, a6, a7) (IxValue (a, a2, a3, a4, a5, a6, a7)) # | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7, a ~ a8) => Ixed (a, a2, a3, a4, a5, a6, a7, a8) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4, a5, a6, a7, a8) -> Traversal' (a, a2, a3, a4, a5, a6, a7, a8) (IxValue (a, a2, a3, a4, a5, a6, a7, a8)) # | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7, a ~ a8, a ~ a9) => Ixed (a, a2, a3, a4, a5, a6, a7, a8, a9) | |
Defined in Control.Lens.At Methods ix :: Index (a, a2, a3, a4, a5, a6, a7, a8, a9) -> Traversal' (a, a2, a3, a4, a5, a6, a7, a8, a9) (IxValue (a, a2, a3, a4, a5, a6, a7, a8, a9)) # | |
class Cons s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Instances
class Snoc s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Instances
class Each s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| (a ~ Word8, b ~ Word8) => Each ByteString ByteString a b | |
Defined in Control.Lens.Each Methods each :: Traversal ByteString ByteString a b # | |
| (a ~ Word8, b ~ Word8) => Each ByteString ByteString a b | |
Defined in Control.Lens.Each Methods each :: Traversal ByteString ByteString a b # | |
| (a ~ Char, b ~ Char) => Each Text Text a b | |
| (a ~ Char, b ~ Char) => Each Text Text a b | |
| Each Name Name AName AName | |
| Each [a] [b] a b | |
Defined in Control.Lens.Each | |
| Each (Maybe a) (Maybe b) a b | |
| Each (Complex a) (Complex b) a b | |
| Each (Identity a) (Identity b) a b | |
| Each (NonEmpty a) (NonEmpty b) a b | |
| Each (IntMap a) (IntMap b) a b | |
| Each (Tree a) (Tree b) a b | |
| Each (Seq a) (Seq b) a b | |
| Each (Vector a) (Vector b) a b | |
Defined in Control.Lens.Each | |
| (Unbox a, Unbox b) => Each (Vector a) (Vector b) a b | |
| (Prim a, Prim b) => Each (Vector a) (Vector b) a b | |
Defined in Control.Lens.Each | |
| (Storable a, Storable b) => Each (Vector a) (Vector b) a b | |
Defined in Control.Lens.Each | |
| Each (V2 a) (V2 b) a b | |
| Each (V3 a) (V3 b) a b | |
| Each (V4 a) (V4 b) a b | |
| Each (V1 a) (V1 b) a b | |
| Each (Plucker a) (Plucker b) a b | |
Defined in Linear.Plucker | |
| Each (Quaternion a) (Quaternion b) a b | |
Defined in Linear.Quaternion | |
| Each (V0 a) (V0 b) a b | |
| (a ~ a', b ~ b') => Each (a, a') (b, b') a b | |
Defined in Control.Lens.Each | |
| (Ix i, IArray UArray a, IArray UArray b, i ~ j) => Each (UArray i a) (UArray j b) a b | |
| (Ix i, i ~ j) => Each (Array i a) (Array j b) a b | |
| c ~ d => Each (Map c a) (Map d b) a b | |
| c ~ d => Each (HashMap c a) (HashMap d b) a b | |
Defined in Control.Lens.Each | |
| Traversable f => Each (Point f a) (Point f b) a b | |
| Each (Path v n) (Path v' n') (Located (Trail v n)) (Located (Trail v' n')) | |
| Each (Style v n) (Style v' n') (Attribute v n) (Attribute v' n') | |
| (Additive v', Foldable v', Ord n') => Each (BoundingBox v n) (BoundingBox v' n') (Point v n) (Point v' n') | |
Defined in Diagrams.BoundingBox Methods each :: Traversal (BoundingBox v n) (BoundingBox v' n') (Point v n) (Point v' n') # | |
| Each (FixedSegment v n) (FixedSegment v' n') (Point v n) (Point v' n') | |
Defined in Diagrams.Segment Methods each :: Traversal (FixedSegment v n) (FixedSegment v' n') (Point v n) (Point v' n') # | |
| (a ~ a2, a ~ a3, b ~ b2, b ~ b3) => Each (a, a2, a3) (b, b2, b3) a b | |
Defined in Control.Lens.Each | |
| Each (V n a) (V n b) a b | |
| Each (Offset c v n) (Offset c v' n') (v n) (v' n') | |
| Each (Segment c v n) (Segment c v' n') (v n) (v' n') | |
| (a ~ a2, a ~ a3, a ~ a4, b ~ b2, b ~ b3, b ~ b4) => Each (a, a2, a3, a4) (b, b2, b3, b4) a b | |
Defined in Control.Lens.Each | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, b ~ b2, b ~ b3, b ~ b4, b ~ b5) => Each (a, a2, a3, a4, a5) (b, b2, b3, b4, b5) a b | |
Defined in Control.Lens.Each | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, b ~ b2, b ~ b3, b ~ b4, b ~ b5, b ~ b6) => Each (a, a2, a3, a4, a5, a6) (b, b2, b3, b4, b5, b6) a b | |
Defined in Control.Lens.Each | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7, b ~ b2, b ~ b3, b ~ b4, b ~ b5, b ~ b6, b ~ b7) => Each (a, a2, a3, a4, a5, a6, a7) (b, b2, b3, b4, b5, b6, b7) a b | |
Defined in Control.Lens.Each | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7, a ~ a8, b ~ b2, b ~ b3, b ~ b4, b ~ b5, b ~ b6, b ~ b7, b ~ b8) => Each (a, a2, a3, a4, a5, a6, a7, a8) (b, b2, b3, b4, b5, b6, b7, b8) a b | |
Defined in Control.Lens.Each | |
| (a ~ a2, a ~ a3, a ~ a4, a ~ a5, a ~ a6, a ~ a7, a ~ a8, a ~ a9, b ~ b2, b ~ b3, b ~ b4, b ~ b5, b ~ b6, b ~ b7, b ~ b8, b ~ b9) => Each (a, a2, a3, a4, a5, a6, a7, a8, a9) (b, b2, b3, b4, b5, b6, b7, b8, b9) a b | |
Defined in Control.Lens.Each | |
Minimal complete definition
Nothing
Instances
type AnEquality (s :: k1) (t :: k2) (a :: k1) (b :: k2) = Identical a (Proxy b) a (Proxy b) -> Identical a (Proxy b) s (Proxy t) #
type AnEquality' (s :: k2) (a :: k2) = AnEquality s s a a #
data Identical (a :: k) (b :: k1) (s :: k) (t :: k1) :: forall k k1. k -> k1 -> k -> k1 -> Type where #
type IndexedGetting i m s a = Indexed i a (Const m a) -> s -> Const m s #
class Foldable f => FoldableWithIndex i (f :: Type -> Type) | f -> i where #
Minimal complete definition
Nothing
Methods
ifoldMap :: Monoid m => (i -> a -> m) -> f a -> m #
ifolded :: IndexedFold i (f a) a #
ifoldr :: (i -> a -> b -> b) -> b -> f a -> b #
ifoldl :: (i -> b -> a -> b) -> b -> f a -> b #
Instances
| FoldableWithIndex Int [] | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex Int ZipList | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex Int NonEmpty | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex Int IntMap | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex Int Seq | |
| FoldableWithIndex Int Vector | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex () Maybe | |
| FoldableWithIndex () Par1 | |
| FoldableWithIndex () Identity | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex k (Map k) | |
| FoldableWithIndex k (HashMap k) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex k ((,) k) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i (Level i) | |
| Ix i => FoldableWithIndex i (Array i) | |
| FoldableWithIndex Void (V1 :: Type -> Type) | |
| FoldableWithIndex Void (U1 :: Type -> Type) | |
| FoldableWithIndex Void (Proxy :: Type -> Type) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex Int (V n) | |
| FoldableWithIndex () (Tagged a) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i f => FoldableWithIndex i (Reverse f) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i f => FoldableWithIndex i (Rec1 f) | |
| FoldableWithIndex i m => FoldableWithIndex i (IdentityT m) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i f => FoldableWithIndex i (Backwards f) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i (Magma i t b) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (i -> a -> m) -> Magma i t b a -> m # ifolded :: IndexedFold i (Magma i t b a) a # ifoldr :: (i -> a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # ifoldl :: (i -> b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # ifoldr' :: (i -> a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # ifoldl' :: (i -> b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # | |
| FoldableWithIndex Void (K1 i c :: Type -> Type) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex [Int] Tree | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex (E V2) V2 | |
| FoldableWithIndex (E V3) V3 | |
| FoldableWithIndex (E V4) V4 | |
| FoldableWithIndex (E V1) V1 | |
| FoldableWithIndex (E Plucker) Plucker | |
Defined in Linear.Plucker Methods ifoldMap :: Monoid m => (E Plucker -> a -> m) -> Plucker a -> m # ifolded :: IndexedFold (E Plucker) (Plucker a) a # ifoldr :: (E Plucker -> a -> b -> b) -> b -> Plucker a -> b # ifoldl :: (E Plucker -> b -> a -> b) -> b -> Plucker a -> b # ifoldr' :: (E Plucker -> a -> b -> b) -> b -> Plucker a -> b # ifoldl' :: (E Plucker -> b -> a -> b) -> b -> Plucker a -> b # | |
| FoldableWithIndex (E Quaternion) Quaternion | |
Defined in Linear.Quaternion Methods ifoldMap :: Monoid m => (E Quaternion -> a -> m) -> Quaternion a -> m # ifolded :: IndexedFold (E Quaternion) (Quaternion a) a # ifoldr :: (E Quaternion -> a -> b -> b) -> b -> Quaternion a -> b # ifoldl :: (E Quaternion -> b -> a -> b) -> b -> Quaternion a -> b # ifoldr' :: (E Quaternion -> a -> b -> b) -> b -> Quaternion a -> b # ifoldl' :: (E Quaternion -> b -> a -> b) -> b -> Quaternion a -> b # | |
| FoldableWithIndex (E V0) V0 | |
| FoldableWithIndex i f => FoldableWithIndex [i] (Free f) | |
Defined in Control.Lens.Indexed | |
| FoldableWithIndex i f => FoldableWithIndex [i] (Cofree f) | |
Defined in Control.Lens.Indexed | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (Either i j) (Sum f g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (Either i j -> a -> m) -> Sum f g a -> m # ifolded :: IndexedFold (Either i j) (Sum f g a) a # ifoldr :: (Either i j -> a -> b -> b) -> b -> Sum f g a -> b # ifoldl :: (Either i j -> b -> a -> b) -> b -> Sum f g a -> b # ifoldr' :: (Either i j -> a -> b -> b) -> b -> Sum f g a -> b # ifoldl' :: (Either i j -> b -> a -> b) -> b -> Sum f g a -> b # | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (Either i j) (Product f g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (Either i j -> a -> m) -> Product f g a -> m # ifolded :: IndexedFold (Either i j) (Product f g a) a # ifoldr :: (Either i j -> a -> b -> b) -> b -> Product f g a -> b # ifoldl :: (Either i j -> b -> a -> b) -> b -> Product f g a -> b # ifoldr' :: (Either i j -> a -> b -> b) -> b -> Product f g a -> b # ifoldl' :: (Either i j -> b -> a -> b) -> b -> Product f g a -> b # | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (Either i j) (f :+: g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (Either i j -> a -> m) -> (f :+: g) a -> m # ifolded :: IndexedFold (Either i j) ((f :+: g) a) a # ifoldr :: (Either i j -> a -> b -> b) -> b -> (f :+: g) a -> b # ifoldl :: (Either i j -> b -> a -> b) -> b -> (f :+: g) a -> b # ifoldr' :: (Either i j -> a -> b -> b) -> b -> (f :+: g) a -> b # ifoldl' :: (Either i j -> b -> a -> b) -> b -> (f :+: g) a -> b # | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (Either i j) (f :*: g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (Either i j -> a -> m) -> (f :*: g) a -> m # ifolded :: IndexedFold (Either i j) ((f :*: g) a) a # ifoldr :: (Either i j -> a -> b -> b) -> b -> (f :*: g) a -> b # ifoldl :: (Either i j -> b -> a -> b) -> b -> (f :*: g) a -> b # ifoldr' :: (Either i j -> a -> b -> b) -> b -> (f :*: g) a -> b # ifoldl' :: (Either i j -> b -> a -> b) -> b -> (f :*: g) a -> b # | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (i, j) (Compose f g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => ((i, j) -> a -> m) -> Compose f g a -> m # ifolded :: IndexedFold (i, j) (Compose f g a) a # ifoldr :: ((i, j) -> a -> b -> b) -> b -> Compose f g a -> b # ifoldl :: ((i, j) -> b -> a -> b) -> b -> Compose f g a -> b # ifoldr' :: ((i, j) -> a -> b -> b) -> b -> Compose f g a -> b # ifoldl' :: ((i, j) -> b -> a -> b) -> b -> Compose f g a -> b # | |
| (FoldableWithIndex i f, FoldableWithIndex j g) => FoldableWithIndex (i, j) (f :.: g) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => ((i, j) -> a -> m) -> (f :.: g) a -> m # ifolded :: IndexedFold (i, j) ((f :.: g) a) a # ifoldr :: ((i, j) -> a -> b -> b) -> b -> (f :.: g) a -> b # ifoldl :: ((i, j) -> b -> a -> b) -> b -> (f :.: g) a -> b # ifoldr' :: ((i, j) -> a -> b -> b) -> b -> (f :.: g) a -> b # ifoldl' :: ((i, j) -> b -> a -> b) -> b -> (f :.: g) a -> b # | |
class Functor f => FunctorWithIndex i (f :: Type -> Type) | f -> i where #
Minimal complete definition
Nothing
Instances
class (FunctorWithIndex i t, FoldableWithIndex i t, Traversable t) => TraversableWithIndex i (t :: Type -> Type) | t -> i where #
Minimal complete definition
Nothing
Methods
itraverse :: Applicative f => (i -> a -> f b) -> t a -> f (t b) #
itraversed :: IndexedTraversal i (t a) (t b) a b #
Instances
newtype Bazaar (p :: Type -> Type -> Type) a b t #
Constructors
| Bazaar | |
Fields
| |
Instances
| Profunctor p => Bizarre p (Bazaar p) | |
Defined in Control.Lens.Internal.Bazaar Methods bazaar :: Applicative f => p a (f b) -> Bazaar p a b t -> f t | |
| Corepresentable p => Sellable p (Bazaar p) | |
Defined in Control.Lens.Internal.Bazaar | |
| Conjoined p => IndexedComonad (Bazaar p) | |
| IndexedFunctor (Bazaar p) | |
Defined in Control.Lens.Internal.Bazaar | |
| Functor (Bazaar p a b) | |
| Applicative (Bazaar p a b) | |
Defined in Control.Lens.Internal.Bazaar Methods pure :: a0 -> Bazaar p a b a0 # (<*>) :: Bazaar p a b (a0 -> b0) -> Bazaar p a b a0 -> Bazaar p a b b0 # liftA2 :: (a0 -> b0 -> c) -> Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b c # (*>) :: Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b b0 # (<*) :: Bazaar p a b a0 -> Bazaar p a b b0 -> Bazaar p a b a0 # | |
| (a ~ b, Conjoined p) => Comonad (Bazaar p a b) | |
| Apply (Bazaar p a b) | |
Defined in Control.Lens.Internal.Bazaar | |
| (a ~ b, Conjoined p) => ComonadApply (Bazaar p a b) | |
newtype Bazaar1 (p :: Type -> Type -> Type) a b t #
Constructors
| Bazaar1 | |
Fields
| |
Instances
| Corepresentable p => Sellable p (Bazaar1 p) | |
Defined in Control.Lens.Internal.Bazaar | |
| Profunctor p => Bizarre1 p (Bazaar1 p) | |
Defined in Control.Lens.Internal.Bazaar | |
| Conjoined p => IndexedComonad (Bazaar1 p) | |
| IndexedFunctor (Bazaar1 p) | |
Defined in Control.Lens.Internal.Bazaar | |
| Functor (Bazaar1 p a b) | |
| (a ~ b, Conjoined p) => Comonad (Bazaar1 p a b) | |
| Apply (Bazaar1 p a b) | |
Defined in Control.Lens.Internal.Bazaar | |
| (a ~ b, Conjoined p) => ComonadApply (Bazaar1 p a b) | |
Constructors
| Context (b -> t) a |
Instances
| IndexedComonad Context | |
| IndexedFunctor Context | |
Defined in Control.Lens.Internal.Context | |
| IndexedComonadStore Context | |
| a ~ b => ComonadStore a (Context a b) | |
Defined in Control.Lens.Internal.Context | |
| Functor (Context a b) | |
| a ~ b => Comonad (Context a b) | |
| Sellable ((->) :: Type -> Type -> Type) Context | |
Defined in Control.Lens.Internal.Context | |
Constructors
| TopName Name | |
| MethodName Name Name |
data Traversed a (f :: Type -> Type) #
Instances
| Applicative f => Semigroup (Traversed a f) | |
| Applicative f => Monoid (Traversed a f) | |
class (Choice p, Corepresentable p, Comonad (Corep p), Traversable (Corep p), Strong p, Representable p, Monad (Rep p), MonadFix (Rep p), Distributive (Rep p), Costrong p, ArrowLoop p, ArrowApply p, ArrowChoice p, Closed p) => Conjoined (p :: Type -> Type -> Type) where #
Minimal complete definition
Nothing
Methods
distrib :: Functor f => p a b -> p (f a) (f b) #
conjoined :: ((p ~ ((->) :: Type -> Type -> Type)) -> q (a -> b) r) -> q (p a b) r -> q (p a b) r #
Instances
| Conjoined ReifiedGetter | |
Defined in Control.Lens.Reified Methods distrib :: Functor f => ReifiedGetter a b -> ReifiedGetter (f a) (f b) # conjoined :: ((ReifiedGetter ~ (->)) -> q (a -> b) r) -> q (ReifiedGetter a b) r -> q (ReifiedGetter a b) r # | |
| Conjoined (Indexed i) | |
| Conjoined ((->) :: Type -> Type -> Type) | |
Constructors
| Indexed | |
Fields
| |
Instances
Instances
Instances
| FoldableWithIndex i (Level i) | |
| FunctorWithIndex i (Level i) | |
Defined in Control.Lens.Indexed | |
| TraversableWithIndex i (Level i) | |
Defined in Control.Lens.Indexed Methods itraverse :: Applicative f => (i -> a -> f b) -> Level i a -> f (Level i b) # itraversed :: IndexedTraversal i (Level i a) (Level i b) a b # | |
| Functor (Level i) | |
| Foldable (Level i) | |
Defined in Control.Lens.Internal.Level Methods fold :: Monoid m => Level i m -> m # foldMap :: Monoid m => (a -> m) -> Level i a -> m # foldr :: (a -> b -> b) -> b -> Level i a -> b # foldr' :: (a -> b -> b) -> b -> Level i a -> b # foldl :: (b -> a -> b) -> b -> Level i a -> b # foldl' :: (b -> a -> b) -> b -> Level i a -> b # foldr1 :: (a -> a -> a) -> Level i a -> a # foldl1 :: (a -> a -> a) -> Level i a -> a # elem :: Eq a => a -> Level i a -> Bool # maximum :: Ord a => Level i a -> a # minimum :: Ord a => Level i a -> a # | |
| Traversable (Level i) | |
| (Eq i, Eq a) => Eq (Level i a) | |
| (Ord i, Ord a) => Ord (Level i a) | |
| (Read i, Read a) => Read (Level i a) | |
| (Show i, Show a) => Show (Level i a) | |
Instances
| FoldableWithIndex i (Magma i t b) | |
Defined in Control.Lens.Indexed Methods ifoldMap :: Monoid m => (i -> a -> m) -> Magma i t b a -> m # ifolded :: IndexedFold i (Magma i t b a) a # ifoldr :: (i -> a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # ifoldl :: (i -> b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # ifoldr' :: (i -> a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # ifoldl' :: (i -> b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # | |
| FunctorWithIndex i (Magma i t b) | |
Defined in Control.Lens.Indexed | |
| TraversableWithIndex i (Magma i t b) | |
Defined in Control.Lens.Indexed Methods itraverse :: Applicative f => (i -> a -> f b0) -> Magma i t b a -> f (Magma i t b b0) # itraversed :: IndexedTraversal i (Magma i t b a) (Magma i t b b0) a b0 # | |
| Functor (Magma i t b) | |
| Foldable (Magma i t b) | |
Defined in Control.Lens.Internal.Magma Methods fold :: Monoid m => Magma i t b m -> m # foldMap :: Monoid m => (a -> m) -> Magma i t b a -> m # foldr :: (a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # foldr' :: (a -> b0 -> b0) -> b0 -> Magma i t b a -> b0 # foldl :: (b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # foldl' :: (b0 -> a -> b0) -> b0 -> Magma i t b a -> b0 # foldr1 :: (a -> a -> a) -> Magma i t b a -> a # foldl1 :: (a -> a -> a) -> Magma i t b a -> a # toList :: Magma i t b a -> [a] # null :: Magma i t b a -> Bool # length :: Magma i t b a -> Int # elem :: Eq a => a -> Magma i t b a -> Bool # maximum :: Ord a => Magma i t b a -> a # minimum :: Ord a => Magma i t b a -> a # | |
| Traversable (Magma i t b) | |
Defined in Control.Lens.Internal.Magma | |
| (Show i, Show a) => Show (Magma i t b a) | |
class (Profunctor p, Bifunctor p) => Reviewable (p :: Type -> Type -> Type) #
Instances
| (Profunctor p, Bifunctor p) => Reviewable p | |
Defined in Control.Lens.Internal.Review | |
class (Applicative f, Distributive f, Traversable f) => Settable (f :: Type -> Type) #
Minimal complete definition
untainted
Instances
| Settable Identity | |
Defined in Control.Lens.Internal.Setter Methods untaintedDot :: Profunctor p => p a (Identity b) -> p a b taintedDot :: Profunctor p => p a b -> p a (Identity b) | |
| Settable f => Settable (Backwards f) | |
Defined in Control.Lens.Internal.Setter Methods untainted :: Backwards f a -> a untaintedDot :: Profunctor p => p a (Backwards f b) -> p a b taintedDot :: Profunctor p => p a b -> p a (Backwards f b) | |
| (Settable f, Settable g) => Settable (Compose f g) | |
Defined in Control.Lens.Internal.Setter Methods untainted :: Compose f g a -> a untaintedDot :: Profunctor p => p a (Compose f g b) -> p a b taintedDot :: Profunctor p => p a b -> p a (Compose f g b) | |
class Strict lazy strict | lazy -> strict, strict -> lazy where #
type AnIndexedLens i s t a b = Optical (Indexed i) ((->) :: Type -> Type -> Type) (Pretext (Indexed i) a b) s t a b #
type AnIndexedLens' i s a = AnIndexedLens i s s a a #
class GPlated a (g :: k -> Type) #
Minimal complete definition
gplate'
Instances
| GPlated a (V1 :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (V1 p) a | |
| GPlated a (U1 :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (U1 p) a | |
| GPlated a (URec b :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (URec b p) a | |
| GPlated a (K1 i a :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (K1 i a p) a | |
| GPlated a (K1 i b :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (K1 i b p) a | |
| (GPlated a f, GPlated a g) => GPlated a (f :+: g :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' ((f :+: g) p) a | |
| (GPlated a f, GPlated a g) => GPlated a (f :*: g :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' ((f :*: g) p) a | |
| GPlated a f => GPlated a (M1 i c f :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate' :: Traversal' (M1 i c f p) a | |
class GPlated1 (f :: k -> Type) (g :: k -> Type) #
Minimal complete definition
gplate1'
Instances
| GPlated1 (f :: k -> Type) (V1 :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (V1 a) (f a) | |
| GPlated1 (f :: k -> Type) (U1 :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (U1 a) (f a) | |
| GPlated1 (f :: k -> Type) (URec a :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (URec a a0) (f a0) | |
| GPlated1 (f :: k -> Type) (Rec1 f :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (Rec1 f a) (f a) | |
| GPlated1 (f :: k -> Type) (Rec1 g :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (Rec1 g a) (f a) | |
| GPlated1 (f :: k -> Type) (K1 i a :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (K1 i a a0) (f a0) | |
| (GPlated1 f g, GPlated1 f h) => GPlated1 (f :: k -> Type) (g :+: h :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' ((g :+: h) a) (f a) | |
| (GPlated1 f g, GPlated1 f h) => GPlated1 (f :: k -> Type) (g :*: h :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' ((g :*: h) a) (f a) | |
| GPlated1 f g => GPlated1 (f :: k -> Type) (M1 i c g :: k -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (M1 i c g a) (f a) | |
| (Traversable t, GPlated1 f g) => GPlated1 (f :: k1 -> Type) (t :.: g :: k1 -> Type) | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' ((t :.: g) a) (f a) | |
| GPlated1 (f :: Type -> Type) Par1 | |
Defined in Control.Lens.Plated Methods gplate1' :: Traversal' (Par1 a) (f a) | |
Minimal complete definition
Nothing
Methods
plate :: Traversal' a a #
Instances
newtype ReifiedFold s a #
Instances
newtype ReifiedGetter s a #
Instances
newtype ReifiedIndexedFold i s a #
Constructors
| IndexedFold | |
Fields
| |
Instances
newtype ReifiedIndexedGetter i s a #
Constructors
| IndexedGetter | |
Fields
| |
Instances
newtype ReifiedIndexedLens i s t a b #
Constructors
| IndexedLens | |
Fields
| |
type ReifiedIndexedLens' i s a = ReifiedIndexedLens i s s a a #
newtype ReifiedIndexedSetter i s t a b #
Constructors
| IndexedSetter | |
Fields
| |
type ReifiedIndexedSetter' i s a = ReifiedIndexedSetter i s s a a #
newtype ReifiedIndexedTraversal i s t a b #
Constructors
| IndexedTraversal | |
Fields
| |
type ReifiedIndexedTraversal' i s a = ReifiedIndexedTraversal i s s a a #
newtype ReifiedIso s t a b #
type ReifiedIso' s a = ReifiedIso s s a a #
newtype ReifiedLens s t a b #
type ReifiedLens' s a = ReifiedLens s s a a #
newtype ReifiedPrism s t a b #
type ReifiedPrism' s a = ReifiedPrism s s a a #
newtype ReifiedSetter s t a b #
type ReifiedSetter' s a = ReifiedSetter s s a a #
newtype ReifiedTraversal s t a b #
Constructors
| Traversal | |
Fields
| |
type ReifiedTraversal' s a = ReifiedTraversal s s a a #
type AnIndexedSetter i s t a b = Indexed i a (Identity b) -> s -> Identity t #
type AnIndexedSetter' i s a = AnIndexedSetter i s s a a #
type ATraversal' s a = ATraversal s s a a #
type ATraversal1' s a = ATraversal1 s s a a #
type AnIndexedTraversal' i s a = AnIndexedTraversal i s s a a #
type AnIndexedTraversal1' i s a = AnIndexedTraversal1 i s s a a #
class Ord k => TraverseMax k (m :: Type -> Type) | m -> k where #
Methods
traverseMax :: IndexedTraversal' k (m v) v #
Instances
| TraverseMax Int IntMap | |
Defined in Control.Lens.Traversal Methods traverseMax :: IndexedTraversal' Int (IntMap v) v # | |
| Ord k => TraverseMax k (Map k) | |
Defined in Control.Lens.Traversal Methods traverseMax :: IndexedTraversal' k (Map k v) v # | |
class Ord k => TraverseMin k (m :: Type -> Type) | m -> k where #
Methods
traverseMin :: IndexedTraversal' k (m v) v #
Instances
| TraverseMin Int IntMap | |
Defined in Control.Lens.Traversal Methods traverseMin :: IndexedTraversal' Int (IntMap v) v # | |
| Ord k => TraverseMin k (Map k) | |
Defined in Control.Lens.Traversal Methods traverseMin :: IndexedTraversal' k (Map k v) v # | |
type Traversing (p :: Type -> Type -> Type) (f :: Type -> Type) s t a b = Over p (BazaarT p f a b) s t a b #
type Traversing' (p :: Type -> Type -> Type) (f :: Type -> Type) s a = Traversing p f s s a a #
type Traversing1 (p :: Type -> Type -> Type) (f :: Type -> Type) s t a b = Over p (BazaarT1 p f a b) s t a b #
type Traversing1' (p :: Type -> Type -> Type) (f :: Type -> Type) s a = Traversing1 p f s s a a #
class Field1 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field1 (Identity a) (Identity b) a b | |
| Field1 (V2 a) (V2 a) a a | |
| Field1 (V3 a) (V3 a) a a | |
| Field1 (V4 a) (V4 a) a a | |
| Field1 (V1 a) (V1 b) a b | |
| Field1 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| Field1 (Quaternion a) (Quaternion a) a a | |
Defined in Linear.Quaternion | |
| Field1 (a, b) (a', b) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c) (a', b, c) a a' | |
Defined in Control.Lens.Tuple | |
| 1 <= n => Field1 (V n a) (V n a) a a | |
| Field1 (a, b, c, d) (a', b, c, d) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 ((f :*: g) p) ((f' :*: g) p) (f p) (f' p) | |
| Field1 (Product f g a) (Product f' g a) (f a) (f' a) | |
| Field1 (a, b, c, d, e) (a', b, c, d, e) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f) (a', b, c, d, e, f) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g) (a', b, c, d, e, f, g) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h) (a', b, c, d, e, f, g, h) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i) (a', b, c, d, e, f, g, h, i) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j) (a', b, c, d, e, f, g, h, i, j) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk) (a', b, c, d, e, f, g, h, i, j, kk) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l) (a', b, c, d, e, f, g, h, i, j, kk, l) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a', b, c, d, e, f, g, h, i, j, kk, l, m) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n, o) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) a a' | |
Defined in Control.Lens.Tuple | |
| Field1 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a', b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) a a' | |
Defined in Control.Lens.Tuple | |
class Field10 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 10 <= n => Field10 (V n a) (V n a) a a | |
| Field10 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f, g, h, i, j') j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f, g, h, i, j', kk) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g, h, i, j', kk, l) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h, i, j', kk, l, m) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n, o) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n, o, p) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n, o, p, q) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n, o, p, q, r) j j' | |
Defined in Control.Lens.Tuple | |
| Field10 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j', kk, l, m, n, o, p, q, r, s) j j' | |
Defined in Control.Lens.Tuple | |
class Field11 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 11 <= n => Field11 (V n a) (V n a) a a | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f, g, h, i, j, kk') kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g, h, i, j, kk', l) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h, i, j, kk', l, m) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n, o) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n, o, p) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n, o, p, q) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n, o, p, q, r) kk kk' | |
Defined in Control.Lens.Tuple | |
| Field11 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk', l, m, n, o, p, q, r, s) kk kk' | |
Defined in Control.Lens.Tuple | |
class Field12 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 12 <= n => Field12 (V n a) (V n a) a a | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g, h, i, j, kk, l') l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h, i, j, kk, l', m) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n, o) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n, o, p) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n, o, p, q) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n, o, p, q, r) l l' | |
Defined in Control.Lens.Tuple | |
| Field12 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l', m, n, o, p, q, r, s) l l' | |
Defined in Control.Lens.Tuple | |
class Field13 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 13 <= n => Field13 (V n a) (V n a) a a | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h, i, j, kk, l, m') m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n) m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n, o) m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n, o, p) m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n, o, p, q) m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n, o, p, q, r) m m' | |
Defined in Control.Lens.Tuple | |
| Field13 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m', n, o, p, q, r, s) m m' | |
Defined in Control.Lens.Tuple | |
class Field14 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 14 <= n => Field14 (V n a) (V n a) a a | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n') n n' | |
Defined in Control.Lens.Tuple | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n', o) n n' | |
Defined in Control.Lens.Tuple | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n', o, p) n n' | |
Defined in Control.Lens.Tuple | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n', o, p, q) n n' | |
Defined in Control.Lens.Tuple | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n', o, p, q, r) n n' | |
Defined in Control.Lens.Tuple | |
| Field14 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n', o, p, q, r, s) n n' | |
Defined in Control.Lens.Tuple | |
class Field15 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 15 <= n => Field15 (V n a) (V n a) a a | |
| Field15 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o') o o' | |
Defined in Control.Lens.Tuple | |
| Field15 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o', p) o o' | |
Defined in Control.Lens.Tuple | |
| Field15 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o', p, q) o o' | |
Defined in Control.Lens.Tuple | |
| Field15 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o', p, q, r) o o' | |
Defined in Control.Lens.Tuple | |
| Field15 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o', p, q, r, s) o o' | |
Defined in Control.Lens.Tuple | |
class Field16 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 16 <= n => Field16 (V n a) (V n a) a a | |
| Field16 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p') p p' | |
Defined in Control.Lens.Tuple | |
| Field16 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p', q) p p' | |
Defined in Control.Lens.Tuple | |
| Field16 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p', q, r) p p' | |
Defined in Control.Lens.Tuple | |
| Field16 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p', q, r, s) p p' | |
Defined in Control.Lens.Tuple | |
class Field17 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 17 <= n => Field17 (V n a) (V n a) a a | |
| Field17 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q') q q' | |
Defined in Control.Lens.Tuple | |
| Field17 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q', r) q q' | |
Defined in Control.Lens.Tuple | |
| Field17 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q', r, s) q q' | |
Defined in Control.Lens.Tuple | |
class Field18 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 18 <= n => Field18 (V n a) (V n a) a a | |
| Field18 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r') r r' | |
Defined in Control.Lens.Tuple | |
| Field18 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r', s) r r' | |
Defined in Control.Lens.Tuple | |
class Field19 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 19 <= n => Field19 (V n a) (V n a) a a | |
| Field19 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s') s s' | |
Defined in Control.Lens.Tuple | |
class Field2 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field2 (V2 a) (V2 a) a a | |
| Field2 (V3 a) (V3 a) a a | |
| Field2 (V4 a) (V4 a) a a | |
| Field2 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| Field2 (Quaternion a) (Quaternion a) a a | |
Defined in Linear.Quaternion | |
| Field2 (a, b) (a, b') b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c) (a, b', c) b b' | |
Defined in Control.Lens.Tuple | |
| 2 <= n => Field2 (V n a) (V n a) a a | |
| Field2 (a, b, c, d) (a, b', c, d) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 ((f :*: g) p) ((f :*: g') p) (g p) (g' p) | |
| Field2 (Product f g a) (Product f g' a) (g a) (g' a) | |
| Field2 (a, b, c, d, e) (a, b', c, d, e) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f) (a, b', c, d, e, f) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g) (a, b', c, d, e, f, g) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h) (a, b', c, d, e, f, g, h) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i) (a, b', c, d, e, f, g, h, i) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j) (a, b', c, d, e, f, g, h, i, j) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk) (a, b', c, d, e, f, g, h, i, j, kk) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b', c, d, e, f, g, h, i, j, kk, l) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b', c, d, e, f, g, h, i, j, kk, l, m) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n, o) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n, o, p) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) b b' | |
Defined in Control.Lens.Tuple | |
| Field2 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b', c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) b b' | |
Defined in Control.Lens.Tuple | |
class Field3 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field3 (V3 a) (V3 a) a a | |
| Field3 (V4 a) (V4 a) a a | |
| Field3 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| Field3 (Quaternion a) (Quaternion a) a a | |
Defined in Linear.Quaternion | |
| Field3 (a, b, c) (a, b, c') c c' | |
Defined in Control.Lens.Tuple | |
| 3 <= n => Field3 (V n a) (V n a) a a | |
| Field3 (a, b, c, d) (a, b, c', d) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e) (a, b, c', d, e) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f) (a, b, c', d, e, f) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g) (a, b, c', d, e, f, g) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h) (a, b, c', d, e, f, g, h) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i) (a, b, c', d, e, f, g, h, i) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j) (a, b, c', d, e, f, g, h, i, j) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c', d, e, f, g, h, i, j, kk) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c', d, e, f, g, h, i, j, kk, l) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c', d, e, f, g, h, i, j, kk, l, m) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n, o) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n, o, p) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n, o, p, q) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) c c' | |
Defined in Control.Lens.Tuple | |
| Field3 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c', d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) c c' | |
Defined in Control.Lens.Tuple | |
class Field4 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field4 (V4 a) (V4 a) a a | |
| Field4 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| Field4 (Quaternion a) (Quaternion a) a a | |
Defined in Linear.Quaternion | |
| 4 <= n => Field4 (V n a) (V n a) a a | |
| Field4 (a, b, c, d) (a, b, c, d') d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e) (a, b, c, d', e) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f) (a, b, c, d', e, f) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g) (a, b, c, d', e, f, g) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h) (a, b, c, d', e, f, g, h) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i) (a, b, c, d', e, f, g, h, i) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d', e, f, g, h, i, j) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d', e, f, g, h, i, j, kk) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d', e, f, g, h, i, j, kk, l) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d', e, f, g, h, i, j, kk, l, m) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n, o) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n, o, p) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n, o, p, q) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n, o, p, q, r) d d' | |
Defined in Control.Lens.Tuple | |
| Field4 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d', e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) d d' | |
Defined in Control.Lens.Tuple | |
class Field5 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field5 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| 5 <= n => Field5 (V n a) (V n a) a a | |
| Field5 (a, b, c, d, e) (a, b, c, d, e') e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f) (a, b, c, d, e', f) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g) (a, b, c, d, e', f, g) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h) (a, b, c, d, e', f, g, h) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i) (a, b, c, d, e', f, g, h, i) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e', f, g, h, i, j) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e', f, g, h, i, j, kk) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e', f, g, h, i, j, kk, l) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e', f, g, h, i, j, kk, l, m) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n, o) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n, o, p) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n, o, p, q) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n, o, p, q, r) e e' | |
Defined in Control.Lens.Tuple | |
| Field5 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e', f, g, h, i, j, kk, l, m, n, o, p, q, r, s) e e' | |
Defined in Control.Lens.Tuple | |
class Field6 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| Field6 (Plucker a) (Plucker a) a a | |
Defined in Linear.Plucker | |
| 6 <= n => Field6 (V n a) (V n a) a a | |
| Field6 (a, b, c, d, e, f) (a, b, c, d, e, f') f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g) (a, b, c, d, e, f', g) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h) (a, b, c, d, e, f', g, h) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i) (a, b, c, d, e, f', g, h, i) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f', g, h, i, j) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f', g, h, i, j, kk) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f', g, h, i, j, kk, l) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f', g, h, i, j, kk, l, m) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n, o) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n, o, p) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n, o, p, q) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n, o, p, q, r) f f' | |
Defined in Control.Lens.Tuple | |
| Field6 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f', g, h, i, j, kk, l, m, n, o, p, q, r, s) f f' | |
Defined in Control.Lens.Tuple | |
class Field7 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 7 <= n => Field7 (V n a) (V n a) a a | |
| Field7 (a, b, c, d, e, f, g) (a, b, c, d, e, f, g') g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g', h) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i) (a, b, c, d, e, f, g', h, i) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f, g', h, i, j) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f, g', h, i, j, kk) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g', h, i, j, kk, l) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g', h, i, j, kk, l, m) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n, o) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n, o, p) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n, o, p, q) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n, o, p, q, r) g g' | |
Defined in Control.Lens.Tuple | |
| Field7 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g', h, i, j, kk, l, m, n, o, p, q, r, s) g g' | |
Defined in Control.Lens.Tuple | |
class Field8 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 8 <= n => Field8 (V n a) (V n a) a a | |
| Field8 (a, b, c, d, e, f, g, h) (a, b, c, d, e, f, g, h') h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i) (a, b, c, d, e, f, g, h', i) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f, g, h', i, j) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f, g, h', i, j, kk) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g, h', i, j, kk, l) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h', i, j, kk, l, m) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n, o) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n, o, p) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n, o, p, q) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n, o, p, q, r) h h' | |
Defined in Control.Lens.Tuple | |
| Field8 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h', i, j, kk, l, m, n, o, p, q, r, s) h h' | |
Defined in Control.Lens.Tuple | |
class Field9 s t a b | s -> a, t -> b, s b -> t, t a -> s where #
Minimal complete definition
Nothing
Instances
| 9 <= n => Field9 (V n a) (V n a) a a | |
| Field9 (a, b, c, d, e, f, g, h, i) (a, b, c, d, e, f, g, h, i') i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j) (a, b, c, d, e, f, g, h, i', j) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk) (a, b, c, d, e, f, g, h, i', j, kk) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l) (a, b, c, d, e, f, g, h, i', j, kk, l) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m) (a, b, c, d, e, f, g, h, i', j, kk, l, m) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n, o) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n, o, p) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n, o, p, q) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n, o, p, q, r) i i' | |
Defined in Control.Lens.Tuple | |
| Field9 (a, b, c, d, e, f, g, h, i, j, kk, l, m, n, o, p, q, r, s) (a, b, c, d, e, f, g, h, i', j, kk, l, m, n, o, p, q, r, s) i i' | |
Defined in Control.Lens.Tuple | |
type Equality (s :: k1) (t :: k2) (a :: k1) (b :: k2) = forall k3 (p :: k1 -> k3 -> Type) (f :: k2 -> k3). p a (f b) -> p s (f t) #
type Fold s a = forall (f :: Type -> Type). (Contravariant f, Applicative f) => (a -> f a) -> s -> f s #
type Fold1 s a = forall (f :: Type -> Type). (Contravariant f, Apply f) => (a -> f a) -> s -> f s #
type Getter s a = forall (f :: Type -> Type). (Contravariant f, Functor f) => (a -> f a) -> s -> f s #
type IndexPreservingFold s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Applicative f) => p a (f a) -> p s (f s) #
type IndexPreservingFold1 s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Apply f) => p a (f a) -> p s (f s) #
type IndexPreservingGetter s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Contravariant f, Functor f) => p a (f a) -> p s (f s) #
type IndexPreservingLens s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Functor f) => p a (f b) -> p s (f t) #
type IndexPreservingLens' s a = IndexPreservingLens s s a a #
type IndexPreservingSetter s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Settable f) => p a (f b) -> p s (f t) #
type IndexPreservingSetter' s a = IndexPreservingSetter s s a a #
type IndexPreservingTraversal s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Applicative f) => p a (f b) -> p s (f t) #
type IndexPreservingTraversal' s a = IndexPreservingTraversal s s a a #
type IndexPreservingTraversal1 s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Conjoined p, Apply f) => p a (f b) -> p s (f t) #
type IndexPreservingTraversal1' s a = IndexPreservingTraversal1 s s a a #
type IndexedFold i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Applicative f) => p a (f a) -> s -> f s #
type IndexedFold1 i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Apply f) => p a (f a) -> s -> f s #
type IndexedGetter i s a = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Contravariant f, Functor f) => p a (f a) -> s -> f s #
type IndexedLens i s t a b = forall (f :: Type -> Type) (p :: Type -> Type -> Type). (Indexable i p, Functor f) => p a (f b) -> s -> f t #
type IndexedLens' i s a = IndexedLens i s s a a #
type IndexedLensLike i (f :: k -> Type) s (t :: k) a (b :: k) = forall (p :: Type -> Type -> Type). Indexable i p => p a (f b) -> s -> f t #
type IndexedLensLike' i (f :: Type -> Type) s a = IndexedLensLike i f s s a a #
type IndexedSetter i s t a b = forall (f :: Type -> Type) (p :: Type -> Type -> Type). (Indexable i p, Settable f) => p a (f b) -> s -> f t #
type IndexedSetter' i s a = IndexedSetter i s s a a #
type IndexedTraversal i s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Applicative f) => p a (f b) -> s -> f t #
type IndexedTraversal' i s a = IndexedTraversal i s s a a #
type IndexedTraversal1 i s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Indexable i p, Apply f) => p a (f b) -> s -> f t #
type IndexedTraversal1' i s a = IndexedTraversal1 i s s a a #
type Iso s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Profunctor p, Functor f) => p a (f b) -> p s (f t) #
type Optic (p :: k1 -> k -> Type) (f :: k2 -> k) (s :: k1) (t :: k2) (a :: k1) (b :: k2) = p a (f b) -> p s (f t) #
type Optical (p :: k2 -> k -> Type) (q :: k1 -> k -> Type) (f :: k3 -> k) (s :: k1) (t :: k3) (a :: k2) (b :: k3) = p a (f b) -> q s (f t) #
type Optical' (p :: k1 -> k -> Type) (q :: k1 -> k -> Type) (f :: k1 -> k) (s :: k1) (a :: k1) = Optical p q f s s a a #
type Over (p :: k -> Type -> Type) (f :: k1 -> Type) s (t :: k1) (a :: k) (b :: k1) = p a (f b) -> s -> f t #
type Prism s t a b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Choice p, Applicative f) => p a (f b) -> p s (f t) #
type Review t b = forall (p :: Type -> Type -> Type) (f :: Type -> Type). (Choice p, Bifunctor p, Settable f) => Optic' p f t b #
type Traversal s t a b = forall (f :: Type -> Type). Applicative f => (a -> f b) -> s -> f t #
type Traversal' s a = Traversal s s a a #
type Traversal1 s t a b = forall (f :: Type -> Type). Apply f => (a -> f b) -> s -> f t #
type Traversal1' s a = Traversal1 s s a a #
class Wrapped s => Rewrapped s t #
Instances
class (Rewrapped s t, Rewrapped t s) => Rewrapping s t #
Instances
| (Rewrapped s t, Rewrapped t s) => Rewrapping s t | |
Defined in Control.Lens.Wrapped | |
Minimal complete definition
Nothing
Instances
type family Magnified (m :: Type -> Type) :: Type -> Type -> Type #
Instances
| type Magnified (IdentityT m) | |
Defined in Control.Lens.Zoom | |
| type Magnified (ReaderT b m) | |
Defined in Control.Lens.Zoom | |
| type Magnified ((->) b :: Type -> Type) | |
| type Magnified (RWST a w s m) | |
Defined in Control.Lens.Zoom | |
| type Magnified (RWST a w s m) | |
Defined in Control.Lens.Zoom | |
class (Magnified m ~ Magnified n, MonadReader b m, MonadReader a n) => Magnify (m :: Type -> Type) (n :: Type -> Type) b a | m -> b, n -> a, m a -> n, n b -> m where #
Instances
| Magnify m n b a => Magnify (IdentityT m) (IdentityT n) b a | |
| Monad m => Magnify (ReaderT b m) (ReaderT a m) b a | |
| Magnify ((->) b :: Type -> Type) ((->) a :: Type -> Type) b a | |
Defined in Control.Lens.Zoom | |
| (Monad m, Monoid w) => Magnify (RWST b w s m) (RWST a w s m) b a | |
| (Monad m, Monoid w) => Magnify (RWST b w s m) (RWST a w s m) b a | |
class (MonadState s m, MonadState t n) => Zoom (m :: Type -> Type) (n :: Type -> Type) s t | m -> s, n -> t, m t -> n, n s -> m where #
Instances
| Zoom m n s t => Zoom (MaybeT m) (MaybeT n) s t | |
| Zoom m n s t => Zoom (ListT m) (ListT n) s t | |
| Zoom m n s t => Zoom (IdentityT m) (IdentityT n) s t | |
| (Error e, Zoom m n s t) => Zoom (ErrorT e m) (ErrorT e n) s t | |
| Zoom m n s t => Zoom (ExceptT e m) (ExceptT e n) s t | |
| Zoom m n s t => Zoom (ReaderT e m) (ReaderT e n) s t | |
| Monad z => Zoom (StateT s z) (StateT t z) s t | |
| Monad z => Zoom (StateT s z) (StateT t z) s t | |
| (Monoid w, Zoom m n s t) => Zoom (WriterT w m) (WriterT w n) s t | |
| (Monoid w, Zoom m n s t) => Zoom (WriterT w m) (WriterT w n) s t | |
| (Functor f, Zoom m n s t) => Zoom (FreeT f m) (FreeT f n) s t | |
Defined in Control.Lens.Zoom | |
| (Monoid w, Monad z) => Zoom (RWST r w s z) (RWST r w t z) s t | |
| (Monoid w, Monad z) => Zoom (RWST r w s z) (RWST r w t z) s t | |
type family Zoomed (m :: Type -> Type) :: Type -> Type -> Type #
Instances
| type Zoomed (MaybeT m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (ListT m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (IdentityT m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (ErrorT e m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (ExceptT e m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (ReaderT e m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (StateT s z) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (StateT s z) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (WriterT w m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (WriterT w m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (FreeT f m) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (RWST r w s z) | |
Defined in Control.Lens.Zoom | |
| type Zoomed (RWST r w s z) | |
Defined in Control.Lens.Zoom | |
class Profunctor p => Choice (p :: Type -> Type -> Type) where #
Instances
| Choice ReifiedFold | |
Defined in Control.Lens.Reified Methods left' :: ReifiedFold a b -> ReifiedFold (Either a c) (Either b c) # right' :: ReifiedFold a b -> ReifiedFold (Either c a) (Either c b) # | |
| Choice ReifiedGetter | |
Defined in Control.Lens.Reified Methods left' :: ReifiedGetter a b -> ReifiedGetter (Either a c) (Either b c) # right' :: ReifiedGetter a b -> ReifiedGetter (Either c a) (Either c b) # | |
| Monad m => Choice (Kleisli m) | |
| Choice (Tagged :: Type -> Type -> Type) | |
| Choice (Indexed i) | |
| Traversable w => Choice (Costar w) | |
| Monoid r => Choice (Forget r) | |
| Applicative f => Choice (Star f) | |
| ArrowChoice p => Choice (WrappedArrow p) | |
| Choice (PastroSum p) | |
| Profunctor p => Choice (TambaraSum p) | |
| Choice p => Choice (Tambara p) | |
| Choice ((->) :: Type -> Type -> Type) | |
| (Choice p, Choice q) => Choice (Procompose p q) | |
| Comonad w => Choice (Cokleisli w) | |
| Functor f => Choice (Joker f :: Type -> Type -> Type) | |
| (Choice p, Choice q) => Choice (Product p q) | |
| (Functor f, Choice p) => Choice (Tannen f p) | |
class Profunctor (p :: Type -> Type -> Type) where #
Instances
| Profunctor Measured | |
Defined in Diagrams.Core.Measure | |
| Profunctor ReifiedFold | |
Defined in Control.Lens.Reified Methods dimap :: (a -> b) -> (c -> d) -> ReifiedFold b c -> ReifiedFold a d # lmap :: (a -> b) -> ReifiedFold b c -> ReifiedFold a c # rmap :: (b -> c) -> ReifiedFold a b -> ReifiedFold a c # (#.) :: Coercible c b => q b c -> ReifiedFold a b -> ReifiedFold a c (.#) :: Coercible b a => ReifiedFold b c -> q a b -> ReifiedFold a c | |
| Profunctor ReifiedGetter | |
Defined in Control.Lens.Reified Methods dimap :: (a -> b) -> (c -> d) -> ReifiedGetter b c -> ReifiedGetter a d # lmap :: (a -> b) -> ReifiedGetter b c -> ReifiedGetter a c # rmap :: (b -> c) -> ReifiedGetter a b -> ReifiedGetter a c # (#.) :: Coercible c b => q b c -> ReifiedGetter a b -> ReifiedGetter a c (.#) :: Coercible b a => ReifiedGetter b c -> q a b -> ReifiedGetter a c | |
| Monad m => Profunctor (Kleisli m) | |
Defined in Data.Profunctor.Unsafe Methods dimap :: (a -> b) -> (c -> d) -> Kleisli m b c -> Kleisli m a d # lmap :: (a -> b) -> Kleisli m b c -> Kleisli m a c # rmap :: (b -> c) -> Kleisli m a b -> Kleisli m a c # (#.) :: Coercible c b => q b c -> Kleisli m a b -> Kleisli m a c (.#) :: Coercible b a => Kleisli m b c -> q a b -> Kleisli m a c | |
| Profunctor (Tagged :: Type -> Type -> Type) | |
Defined in Data.Profunctor.Unsafe | |
| Functor v => Profunctor (Query v) | |
Defined in Diagrams.Core.Query | |
| Profunctor (Indexed i) | |
Defined in Control.Lens.Internal.Indexed Methods dimap :: (a -> b) -> (c -> d) -> Indexed i b c -> Indexed i a d # lmap :: (a -> b) -> Indexed i b c -> Indexed i a c # rmap :: (b -> c) -> Indexed i a b -> Indexed i a c # (#.) :: Coercible c b => q b c -> Indexed i a b -> Indexed i a c (.#) :: Coercible b a => Indexed i b c -> q a b -> Indexed i a c | |
| Profunctor (ReifiedIndexedFold i) | |
Defined in Control.Lens.Reified Methods dimap :: (a -> b) -> (c -> d) -> ReifiedIndexedFold i b c -> ReifiedIndexedFold i a d # lmap :: (a -> b) -> ReifiedIndexedFold i b c -> ReifiedIndexedFold i a c # rmap :: (b -> c) -> ReifiedIndexedFold i a b -> ReifiedIndexedFold i a c # (#.) :: Coercible c b => q b c -> ReifiedIndexedFold i a b -> ReifiedIndexedFold i a c (.#) :: Coercible b a => ReifiedIndexedFold i b c -> q a b -> ReifiedIndexedFold i a c | |
| Profunctor (ReifiedIndexedGetter i) | |
Defined in Control.Lens.Reified Methods dimap :: (a -> b) -> (c -> d) -> ReifiedIndexedGetter i b c -> ReifiedIndexedGetter i a d # lmap :: (a -> b) -> ReifiedIndexedGetter i b c -> ReifiedIndexedGetter i a c # rmap :: (b -> c) -> ReifiedIndexedGetter i a b -> ReifiedIndexedGetter i a c # (#.) :: Coercible c b => q b c -> ReifiedIndexedGetter i a b -> ReifiedIndexedGetter i a c (.#) :: Coercible b a => ReifiedIndexedGetter i b c -> q a b -> ReifiedIndexedGetter i a c | |
| Functor f => Profunctor (Costar f) | |
Defined in Data.Profunctor.Types | |
| Profunctor (Forget r) | |
Defined in Data.Profunctor.Types | |
| Functor f => Profunctor (Star f) | |
Defined in Data.Profunctor.Types | |
| Arrow p => Profunctor (WrappedArrow p) | |
Defined in Data.Profunctor.Types Methods dimap :: (a -> b) -> (c -> d) -> WrappedArrow p b c -> WrappedArrow p a d # lmap :: (a -> b) -> WrappedArrow p b c -> WrappedArrow p a c # rmap :: (b -> c) -> WrappedArrow p a b -> WrappedArrow p a c # (#.) :: Coercible c b => q b c -> WrappedArrow p a b -> WrappedArrow p a c (.#) :: Coercible b a => WrappedArrow p b c -> q a b -> WrappedArrow p a c | |
| Profunctor (CopastroSum p) | |
Defined in Data.Profunctor.Choice Methods dimap :: (a -> b) -> (c -> d) -> CopastroSum p b c -> CopastroSum p a d # lmap :: (a -> b) -> CopastroSum p b c -> CopastroSum p a c # rmap :: (b -> c) -> CopastroSum p a b -> CopastroSum p a c # (#.) :: Coercible c b => q b c -> CopastroSum p a b -> CopastroSum p a c (.#) :: Coercible b a => CopastroSum p b c -> q a b -> CopastroSum p a c | |
| Profunctor (CotambaraSum p) | |
Defined in Data.Profunctor.Choice Methods dimap :: (a -> b) -> (c -> d) -> CotambaraSum p b c -> CotambaraSum p a d # lmap :: (a -> b) -> CotambaraSum p b c -> CotambaraSum p a c # rmap :: (b -> c) -> CotambaraSum p a b -> CotambaraSum p a c # (#.) :: Coercible c b => q b c -> CotambaraSum p a b -> CotambaraSum p a c (.#) :: Coercible b a => CotambaraSum p b c -> q a b -> CotambaraSum p a c | |
| Profunctor (PastroSum p) | |
Defined in Data.Profunctor.Choice Methods dimap :: (a -> b) -> (c -> d) -> PastroSum p b c -> PastroSum p a d # lmap :: (a -> b) -> PastroSum p b c -> PastroSum p a c # rmap :: (b -> c) -> PastroSum p a b -> PastroSum p a c # (#.) :: Coercible c b => q b c -> PastroSum p a b -> PastroSum p a c (.#) :: Coercible b a => PastroSum p b c -> q a b -> PastroSum p a c | |
| Profunctor p => Profunctor (TambaraSum p) | |
Defined in Data.Profunctor.Choice Methods dimap :: (a -> b) -> (c -> d) -> TambaraSum p b c -> TambaraSum p a d # lmap :: (a -> b) -> TambaraSum p b c -> TambaraSum p a c # rmap :: (b -> c) -> TambaraSum p a b -> TambaraSum p a c # (#.) :: Coercible c b => q b c -> TambaraSum p a b -> TambaraSum p a c (.#) :: Coercible b a => TambaraSum p b c -> q a b -> TambaraSum p a c | |
| Profunctor p => Profunctor (Tambara p) | |
Defined in Data.Profunctor.Strong Methods dimap :: (a -> b) -> (c -> d) -> Tambara p b c -> Tambara p a d # lmap :: (a -> b) -> Tambara p b c -> Tambara p a c # rmap :: (b -> c) -> Tambara p a b -> Tambara p a c # (#.) :: Coercible c b => q b c -> Tambara p a b -> Tambara p a c (.#) :: Coercible b a => Tambara p b c -> q a b -> Tambara p a c | |
| Profunctor (Copastro p) | |
Defined in Data.Profunctor.Strong Methods dimap :: (a -> b) -> (c -> d) -> Copastro p b c -> Copastro p a d # lmap :: (a -> b) -> Copastro p b c -> Copastro p a c # rmap :: (b -> c) -> Copastro p a b -> Copastro p a c # (#.) :: Coercible c b => q b c -> Copastro p a b -> Copastro p a c (.#) :: Coercible b a => Copastro p b c -> q a b -> Copastro p a c | |
| Profunctor (Cotambara p) | |
Defined in Data.Profunctor.Strong Methods dimap :: (a -> b) -> (c -> d) -> Cotambara p b c -> Cotambara p a d # lmap :: (a -> b) -> Cotambara p b c -> Cotambara p a c # rmap :: (b -> c) -> Cotambara p a b -> Cotambara p a c # (#.) :: Coercible c b => q b c -> Cotambara p a b -> Cotambara p a c (.#) :: Coercible b a => Cotambara p b c -> q a b -> Cotambara p a c | |
| Profunctor (Pastro p) | |
Defined in Data.Profunctor.Strong | |
| Functor h => Profunctor (Colonnade h) | |
Defined in Colonnade.Encode Methods dimap :: (a -> b) -> (c -> d) -> Colonnade h b c -> Colonnade h a d # lmap :: (a -> b) -> Colonnade h b c -> Colonnade h a c # rmap :: (b -> c) -> Colonnade h a b -> Colonnade h a c # (#.) :: Coercible c b => q b c -> Colonnade h a b -> Colonnade h a c (.#) :: Coercible b a => Colonnade h b c -> q a b -> Colonnade h a c | |
| Functor h => Profunctor (OneColonnade h) | |
Defined in Colonnade.Encode Methods dimap :: (a -> b) -> (c -> d) -> OneColonnade h b c -> OneColonnade h a d # lmap :: (a -> b) -> OneColonnade h b c -> OneColonnade h a c # rmap :: (b -> c) -> OneColonnade h a b -> OneColonnade h a c # (#.) :: Coercible c b => q b c -> OneColonnade h a b -> OneColonnade h a c (.#) :: Coercible b a => OneColonnade h b c -> q a b -> OneColonnade h a c | |
| Profunctor ((->) :: Type -> Type -> Type) | |
| Profunctor (Exchange a b) | |
Defined in Control.Lens.Internal.Iso Methods dimap :: (a0 -> b0) -> (c -> d) -> Exchange a b b0 c -> Exchange a b a0 d # lmap :: (a0 -> b0) -> Exchange a b b0 c -> Exchange a b a0 c # rmap :: (b0 -> c) -> Exchange a b a0 b0 -> Exchange a b a0 c # (#.) :: Coercible c b0 => q b0 c -> Exchange a b a0 b0 -> Exchange a b a0 c (.#) :: Coercible b0 a0 => Exchange a b b0 c -> q a0 b0 -> Exchange a b a0 c | |
| (Profunctor p, Profunctor q) => Profunctor (Procompose p q) | |
Defined in Data.Profunctor.Composition Methods dimap :: (a -> b) -> (c -> d) -> Procompose p q b c -> Procompose p q a d # lmap :: (a -> b) -> Procompose p q b c -> Procompose p q a c # rmap :: (b -> c) -> Procompose p q a b -> Procompose p q a c # (#.) :: Coercible c b => q0 b c -> Procompose p q a b -> Procompose p q a c (.#) :: Coercible b a => Procompose p q b c -> q0 a b -> Procompose p q a c | |
| (Profunctor p, Profunctor q) => Profunctor (Rift p q) | |
Defined in Data.Profunctor.Composition | |
| Functor w => Profunctor (Cokleisli w) | |
Defined in Data.Profunctor.Unsafe Methods dimap :: (a -> b) -> (c -> d) -> Cokleisli w b c -> Cokleisli w a d # lmap :: (a -> b) -> Cokleisli w b c -> Cokleisli w a c # rmap :: (b -> c) -> Cokleisli w a b -> Cokleisli w a c # (#.) :: Coercible c b => q b c -> Cokleisli w a b -> Cokleisli w a c (.#) :: Coercible b a => Cokleisli w b c -> q a b -> Cokleisli w a c | |
| Functor h => Profunctor (Cornice h p) | |
Defined in Colonnade.Encode Methods dimap :: (a -> b) -> (c -> d) -> Cornice h p b c -> Cornice h p a d # lmap :: (a -> b) -> Cornice h p b c -> Cornice h p a c # rmap :: (b -> c) -> Cornice h p a b -> Cornice h p a c # (#.) :: Coercible c b => q b c -> Cornice h p a b -> Cornice h p a c (.#) :: Coercible b a => Cornice h p b c -> q a b -> Cornice h p a c | |
| Contravariant f => Profunctor (Clown f :: Type -> Type -> Type) | |
Defined in Data.Profunctor.Unsafe | |
| Functor f => Profunctor (Joker f :: Type -> Type -> Type) | |
Defined in Data.Profunctor.Unsafe | |
| (Profunctor p, Profunctor q) => Profunctor (Product p q) | |
Defined in Data.Profunctor.Unsafe Methods dimap :: (a -> b) -> (c -> d) -> Product p q b c -> Product p q a d # lmap :: (a -> b) -> Product p q b c -> Product p q a c # rmap :: (b -> c) -> Product p q a b -> Product p q a c # (#.) :: Coercible c b => q0 b c -> Product p q a b -> Product p q a c (.#) :: Coercible b a => Product p q b c -> q0 a b -> Product p q a c | |
| (Profunctor p, Profunctor q) => Profunctor (Sum p q) | |
Defined in Data.Profunctor.Unsafe | |
| (Functor f, Profunctor p) => Profunctor (Tannen f p) | |
Defined in Data.Profunctor.Unsafe Methods dimap :: (a -> b) -> (c -> d) -> Tannen f p b c -> Tannen f p a d # lmap :: (a -> b) -> Tannen f p b c -> Tannen f p a c # rmap :: (b -> c) -> Tannen f p a b -> Tannen f p a c # (#.) :: Coercible c b => q b c -> Tannen f p a b -> Tannen f p a c (.#) :: Coercible b a => Tannen f p b c -> q a b -> Tannen f p a c | |
| (Profunctor p, Functor f, Functor g) => Profunctor (Biff p f g) | |
Defined in Data.Profunctor.Unsafe Methods dimap :: (a -> b) -> (c -> d) -> Biff p f g b c -> Biff p f g a d # lmap :: (a -> b) -> Biff p f g b c -> Biff p f g a c # rmap :: (b -> c) -> Biff p f g a b -> Biff p f g a c # (#.) :: Coercible c b => q b c -> Biff p f g a b -> Biff p f g a c (.#) :: Coercible b a => Biff p f g b c -> q a b -> Biff p f g a c | |
class (Foldable1 t, Traversable t) => Traversable1 (t :: Type -> Type) where #
Minimal complete definition
traverse1 | sequence1