packages feed

diagrams-lib 1.4.3 → 1.4.4

raw patch · 14 files changed

+55/−35 lines, 14 filesdep ~basedep ~bytestringdep ~diagrams-corePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, bytestring, diagrams-core, lens, monoid-extras, optparse-applicative, tasty

API changes (from Hackage documentation)

- Diagrams.Align: instance (Diagrams.Core.V.V b Data.Type.Equality.~ v, Diagrams.Core.V.N b Data.Type.Equality.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable (Data.Map.Internal.Map k b)
- Diagrams.Align: instance (Diagrams.Core.V.V b Data.Type.Equality.~ v, Diagrams.Core.V.N b Data.Type.Equality.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable (Data.Set.Internal.Set b)
- Diagrams.Align: instance (Diagrams.Core.V.V b Data.Type.Equality.~ v, Diagrams.Core.V.N b Data.Type.Equality.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable [b]
- Diagrams.Angle: instance (Diagrams.Core.V.V t Data.Type.Equality.~ Linear.V2.V2, Diagrams.Core.V.N t Data.Type.Equality.~ n, Diagrams.Core.Transform.Transformable t, GHC.Float.Floating n) => Data.Monoid.Action.Action (Diagrams.Angle.Angle n) t
- Diagrams.Attributes: instance (a Data.Type.Equality.~ GHC.Types.Double) => Diagrams.Attributes.Color (Data.Colour.Internal.AlphaColour a)
- Diagrams.Attributes: instance (a Data.Type.Equality.~ GHC.Types.Double) => Diagrams.Attributes.Color (Data.Colour.Internal.Colour a)
- Diagrams.Deform: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Located.Located (Diagrams.Trail.Trail u n)) => Diagrams.Deform.Deformable (Diagrams.Located.Located (Diagrams.Trail.Trail v n)) r
- Diagrams.Deform: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Path.Path u n) => Diagrams.Deform.Deformable (Diagrams.Path.Path v n) r
- Diagrams.Deform: instance (r Data.Type.Equality.~ Linear.Affine.Point u n) => Diagrams.Deform.Deformable (Linear.Affine.Point v n) r
- Diagrams.Direction: instance (Diagrams.Core.V.V (v n) Data.Type.Equality.~ v, Diagrams.Core.V.N (v n) Data.Type.Equality.~ n, Diagrams.Core.Transform.Transformable (v n)) => Diagrams.Core.Transform.Transformable (Diagrams.Direction.Direction v n)
- Diagrams.LinearMap: instance (Diagrams.LinearMap.LinearMappable a b, Diagrams.Core.V.N a Data.Type.Equality.~ Diagrams.Core.V.N b, r Data.Type.Equality.~ Diagrams.Located.Located b) => Diagrams.LinearMap.AffineMappable (Diagrams.Located.Located a) r
- Diagrams.LinearMap: instance (Diagrams.LinearMap.LinearMappable a b, r Data.Type.Equality.~ Diagrams.Located.Located b) => Diagrams.LinearMap.LinearMappable (Diagrams.Located.Located a) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r Data.Type.Equality.~ Diagrams.Path.Path u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Path.Path v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r Data.Type.Equality.~ Diagrams.Trail.SegTree u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.SegTree v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r Data.Type.Equality.~ Diagrams.Trail.Trail u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.Trail v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r Data.Type.Equality.~ Diagrams.Trail.Trail' l u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.Trail' l v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Path.Path u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Path.Path v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Trail.SegTree u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.SegTree v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Trail.Trail u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.Trail v n) r
- Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r Data.Type.Equality.~ Diagrams.Trail.Trail' l u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.Trail' l v n) r
- Diagrams.LinearMap: instance (Linear.Vector.Additive v, GHC.Num.Num n, r Data.Type.Equality.~ Linear.Affine.Point u n) => Diagrams.LinearMap.AffineMappable (Linear.Affine.Point v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.FixedSegment u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.FixedSegment v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.FixedSegment u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.FixedSegment v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.Offset c u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.Offset c v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.Offset c u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.Offset c v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.Segment c u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.Segment c v n) r
- Diagrams.LinearMap: instance (r Data.Type.Equality.~ Diagrams.Segment.Segment c u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.Segment c v n) r
- Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, Diagrams.Parametric.EndValues a, Diagrams.Parametric.Codomain a Data.Type.Equality.~ v) => Diagrams.Parametric.EndValues (Diagrams.Located.Located a)
- Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, Diagrams.Parametric.Parametric a, Diagrams.Parametric.Codomain a Data.Type.Equality.~ v) => Diagrams.Parametric.Parametric (Diagrams.Located.Located a)
- Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, GHC.Real.Fractional n, Diagrams.Parametric.HasArcLength a, Diagrams.Parametric.Codomain a Data.Type.Equality.~ v) => Diagrams.Parametric.HasArcLength (Diagrams.Located.Located a)
- Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, GHC.Real.Fractional n, Diagrams.Parametric.Parametric a, Diagrams.Parametric.Sectionable a, Diagrams.Parametric.Codomain a Data.Type.Equality.~ v) => Diagrams.Parametric.Sectionable (Diagrams.Located.Located a)
- Diagrams.Prelude: class Strict lazy strict | lazy -> strict, strict -> lazy
- Diagrams.Prelude: class Bifunctor p => Swapped (p :: Type -> Type -> Type)
- Diagrams.Prelude: data Identical (a :: k) (b :: k1) (s :: k) (t :: k1) :: forall k k1. () => k -> k1 -> k -> k1 -> Type
- Diagrams.Prelude: newtype Const a (b :: k) :: forall k. () => Type -> k -> Type
- Diagrams.Trail: instance (GHC.Float.Floating n, GHC.Classes.Ord n, Linear.Metric.Metric v) => Data.FingerTree.Measured (Diagrams.Segment.SegMeasure v n) (Diagrams.Trail.SegTree v n)
- Diagrams.Trail: instance (GHC.Float.Floating n, GHC.Classes.Ord n, Linear.Metric.Metric v) => GHC.Base.Monoid (Diagrams.Trail.SegTree v n)
- Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t Data.Type.Equality.~ Linear.V2.V2, Diagrams.Core.V.N t Data.Type.Equality.~ n, GHC.Float.RealFloat n, Diagrams.Core.Transform.Transformable t) => Diagrams.Core.Transform.Transformable (Diagrams.Transform.ScaleInv.ScaleInv t)
- Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t Data.Type.Equality.~ Linear.V2.V2, Diagrams.Core.V.N t Data.Type.Equality.~ n, GHC.Float.RealFloat n, Diagrams.Core.Types.Renderable t b) => Diagrams.Core.Types.Renderable (Diagrams.Transform.ScaleInv.ScaleInv t) b
- Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t Data.Type.Equality.~ v, Diagrams.Core.V.N t Data.Type.Equality.~ n, Linear.Vector.Additive v, GHC.Num.Num n, Diagrams.Core.HasOrigin.HasOrigin t) => Diagrams.Core.HasOrigin.HasOrigin (Diagrams.Transform.ScaleInv.ScaleInv t)
- Diagrams.TwoD.Path: instance (Diagrams.TwoD.Path.Clip n1 Data.Type.Equality.~ t) => Control.Lens.Wrapped.Rewrapped (Diagrams.TwoD.Path.Clip n2) t
+ Diagrams.Align: instance (Diagrams.Core.V.V b GHC.Types.~ v, Diagrams.Core.V.N b GHC.Types.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable (Data.Map.Internal.Map k b)
+ Diagrams.Align: instance (Diagrams.Core.V.V b GHC.Types.~ v, Diagrams.Core.V.N b GHC.Types.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable (Data.Set.Internal.Set b)
+ Diagrams.Align: instance (Diagrams.Core.V.V b GHC.Types.~ v, Diagrams.Core.V.N b GHC.Types.~ n, Linear.Metric.Metric v, Diagrams.Core.Envelope.OrderedField n, Diagrams.Align.Alignable b) => Diagrams.Align.Alignable [b]
+ Diagrams.Angle: instance (Diagrams.Core.V.V t GHC.Types.~ Linear.V2.V2, Diagrams.Core.V.N t GHC.Types.~ n, Diagrams.Core.Transform.Transformable t, GHC.Float.Floating n) => Data.Monoid.Action.Action (Diagrams.Angle.Angle n) t
+ Diagrams.Attributes: instance (a GHC.Types.~ GHC.Types.Double) => Diagrams.Attributes.Color (Data.Colour.Internal.AlphaColour a)
+ Diagrams.Attributes: instance (a GHC.Types.~ GHC.Types.Double) => Diagrams.Attributes.Color (Data.Colour.Internal.Colour a)
+ Diagrams.Deform: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Located.Located (Diagrams.Trail.Trail u n)) => Diagrams.Deform.Deformable (Diagrams.Located.Located (Diagrams.Trail.Trail v n)) r
+ Diagrams.Deform: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Path.Path u n) => Diagrams.Deform.Deformable (Diagrams.Path.Path v n) r
+ Diagrams.Deform: instance (r GHC.Types.~ Linear.Affine.Point u n) => Diagrams.Deform.Deformable (Linear.Affine.Point v n) r
+ Diagrams.Direction: instance (Diagrams.Core.V.V (v n) GHC.Types.~ v, Diagrams.Core.V.N (v n) GHC.Types.~ n, Diagrams.Core.Transform.Transformable (v n)) => Diagrams.Core.Transform.Transformable (Diagrams.Direction.Direction v n)
+ Diagrams.LinearMap: instance (Diagrams.LinearMap.LinearMappable a b, Diagrams.Core.V.N a GHC.Types.~ Diagrams.Core.V.N b, r GHC.Types.~ Diagrams.Located.Located b) => Diagrams.LinearMap.AffineMappable (Diagrams.Located.Located a) r
+ Diagrams.LinearMap: instance (Diagrams.LinearMap.LinearMappable a b, r GHC.Types.~ Diagrams.Located.Located b) => Diagrams.LinearMap.LinearMappable (Diagrams.Located.Located a) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r GHC.Types.~ Diagrams.Path.Path u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Path.Path v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r GHC.Types.~ Diagrams.Trail.SegTree u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.SegTree v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r GHC.Types.~ Diagrams.Trail.Trail u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.Trail v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, Diagrams.Core.Envelope.OrderedField m, r GHC.Types.~ Diagrams.Trail.Trail' l u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Trail.Trail' l v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Path.Path u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Path.Path v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Trail.SegTree u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.SegTree v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Trail.Trail u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.Trail v n) r
+ Diagrams.LinearMap: instance (Linear.Metric.Metric v, Linear.Metric.Metric u, Diagrams.Core.Envelope.OrderedField n, r GHC.Types.~ Diagrams.Trail.Trail' l u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Trail.Trail' l v n) r
+ Diagrams.LinearMap: instance (Linear.Vector.Additive v, GHC.Num.Num n, r GHC.Types.~ Linear.Affine.Point u n) => Diagrams.LinearMap.AffineMappable (Linear.Affine.Point v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.FixedSegment u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.FixedSegment v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.FixedSegment u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.FixedSegment v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.Offset c u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.Offset c v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.Offset c u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.Offset c v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.Segment c u m) => Diagrams.LinearMap.LinearMappable (Diagrams.Segment.Segment c v n) r
+ Diagrams.LinearMap: instance (r GHC.Types.~ Diagrams.Segment.Segment c u n) => Diagrams.LinearMap.AffineMappable (Diagrams.Segment.Segment c v n) r
+ Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, Diagrams.Parametric.EndValues a, Diagrams.Parametric.Codomain a GHC.Types.~ v) => Diagrams.Parametric.EndValues (Diagrams.Located.Located a)
+ Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, Diagrams.Parametric.Parametric a, Diagrams.Parametric.Codomain a GHC.Types.~ v) => Diagrams.Parametric.Parametric (Diagrams.Located.Located a)
+ Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, GHC.Real.Fractional n, Diagrams.Parametric.HasArcLength a, Diagrams.Parametric.Codomain a GHC.Types.~ v) => Diagrams.Parametric.HasArcLength (Diagrams.Located.Located a)
+ Diagrams.Located: instance (Diagrams.Core.V.InSpace v n a, GHC.Real.Fractional n, Diagrams.Parametric.Parametric a, Diagrams.Parametric.Sectionable a, Diagrams.Parametric.Codomain a GHC.Types.~ v) => Diagrams.Parametric.Sectionable (Diagrams.Located.Located a)
+ Diagrams.Prelude: data (a :: k) :~: (b :: k)
+ Diagrams.Prelude: data Identical (a :: k) (b :: k1) (s :: k) (t :: k1)
+ Diagrams.Prelude: ifoldMap' :: (FoldableWithIndex i f, Monoid m) => (i -> a -> m) -> f a -> m
+ Diagrams.Prelude: newtype Const a (b :: k)
+ Diagrams.Prelude: reviewing :: (Bifunctor p, Functor f) => Optic (Tagged :: Type -> Type -> Type) Identity s t a b -> Optic' p f t b
+ Diagrams.Prelude: type Unwrapped s = GUnwrapped Rep s;
+ Diagrams.Trail: instance (GHC.Classes.Ord n, GHC.Float.Floating n, Linear.Metric.Metric v) => GHC.Base.Monoid (Diagrams.Trail.SegTree v n)
+ Diagrams.Trail: instance (GHC.Classes.Ord n, Linear.Metric.Metric v, GHC.Float.Floating n) => Data.FingerTree.Measured (Diagrams.Segment.SegMeasure v n) (Diagrams.Trail.SegTree v n)
+ Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t GHC.Types.~ Linear.V2.V2, Diagrams.Core.V.N t GHC.Types.~ n, GHC.Float.RealFloat n, Diagrams.Core.Transform.Transformable t) => Diagrams.Core.Transform.Transformable (Diagrams.Transform.ScaleInv.ScaleInv t)
+ Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t GHC.Types.~ Linear.V2.V2, Diagrams.Core.V.N t GHC.Types.~ n, GHC.Float.RealFloat n, Diagrams.Core.Types.Renderable t b) => Diagrams.Core.Types.Renderable (Diagrams.Transform.ScaleInv.ScaleInv t) b
+ Diagrams.Transform.ScaleInv: instance (Diagrams.Core.V.V t GHC.Types.~ v, Diagrams.Core.V.N t GHC.Types.~ n, Linear.Vector.Additive v, GHC.Num.Num n, Diagrams.Core.HasOrigin.HasOrigin t) => Diagrams.Core.HasOrigin.HasOrigin (Diagrams.Transform.ScaleInv.ScaleInv t)
+ Diagrams.TwoD.Path: instance (Diagrams.TwoD.Path.Clip n1 GHC.Types.~ t) => Control.Lens.Wrapped.Rewrapped (Diagrams.TwoD.Path.Clip n2) t
- Diagrams.Attributes.Compile: type family PrimType code :: *;
+ Diagrams.Attributes.Compile: type family PrimType code :: Type;
- Diagrams.Backend.CmdLine: type family ResultOf d :: *;
+ Diagrams.Backend.CmdLine: type family ResultOf d :: Type;
- Diagrams.Combinators: atop :: (OrderedField n, Metric v, Semigroup m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m
+ Diagrams.Combinators: atop :: forall n (v :: Type -> Type) m b. (OrderedField n, Metric v, Semigroup m) => QDiagram b v n m -> QDiagram b v n m -> QDiagram b v n m
- Diagrams.Coordinates: type family Decomposition c :: *;
+ Diagrams.Coordinates: type family Decomposition c :: Type;
- Diagrams.Envelope: envelope :: (OrderedField n, Metric v, Monoid' m) => Lens' (QDiagram b v n m) (Envelope v n)
+ Diagrams.Envelope: envelope :: forall n (v :: Type -> Type) m b. (OrderedField n, Metric v, Monoid' m) => Lens' (QDiagram b v n m) (Envelope v n)
- Diagrams.Envelope: setEnvelope :: (OrderedField n, Metric v, Monoid' m) => Envelope v n -> QDiagram b v n m -> QDiagram b v n m
+ Diagrams.Envelope: setEnvelope :: forall b (v :: Type -> Type) n m. (OrderedField n, Metric v, Monoid' m) => Envelope v n -> QDiagram b v n m -> QDiagram b v n m
- Diagrams.Names: fromNames :: IsName a => [(a, Subdiagram b v n m)] -> SubMap b v n m
+ Diagrams.Names: fromNames :: forall a b (v :: Type -> Type) n m. IsName a => [(a, Subdiagram b v n m)] -> SubMap b v n m
- Diagrams.Names: getSub :: (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> QDiagram b v n m
+ Diagrams.Names: getSub :: forall (v :: Type -> Type) n m b. (Metric v, OrderedField n, Semigroup m) => Subdiagram b v n m -> QDiagram b v n m
- Diagrams.Names: localize :: (Metric v, OrderedField n, Semigroup m) => QDiagram b v n m -> QDiagram b v n m
+ Diagrams.Names: localize :: forall b (v :: Type -> Type) n m. (Metric v, OrderedField n, Semigroup m) => QDiagram b v n m -> QDiagram b v n m
- Diagrams.Names: location :: (Additive v, Num n) => Subdiagram b v n m -> Point v n
+ Diagrams.Names: location :: forall (v :: Type -> Type) n b m. (Additive v, Num n) => Subdiagram b v n m -> Point v n
- Diagrams.Names: lookupName :: (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> QDiagram b v n m -> Maybe (Subdiagram b v n m)
+ Diagrams.Names: lookupName :: forall nm (v :: Type -> Type) m n b. (IsName nm, Metric v, Semigroup m, OrderedField n) => nm -> QDiagram b v n m -> Maybe (Subdiagram b v n m)
- Diagrams.Names: lookupSub :: IsName nm => nm -> SubMap b v n m -> Maybe [Subdiagram b v n m]
+ Diagrams.Names: lookupSub :: forall nm b (v :: Type -> Type) n m. IsName nm => nm -> SubMap b v n m -> Maybe [Subdiagram b v n m]
- Diagrams.Names: mkSubdiagram :: () => QDiagram b v n m -> Subdiagram b v n m
+ Diagrams.Names: mkSubdiagram :: forall b (v :: Type -> Type) n m. QDiagram b v n m -> Subdiagram b v n m
- Diagrams.Names: 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
+ Diagrams.Names: nameSub :: forall nm (v :: Type -> Type) n m b. (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
- Diagrams.Names: names :: (Metric v, Semigroup m, OrderedField n) => QDiagram b v n m -> [(Name, [Point v n])]
+ Diagrams.Names: names :: forall (v :: Type -> Type) m n b. (Metric v, Semigroup m, OrderedField n) => QDiagram b v n m -> [(Name, [Point v n])]
- Diagrams.Names: rawSub :: () => Subdiagram b v n m -> QDiagram b v n m
+ Diagrams.Names: rawSub :: forall b (v :: Type -> Type) n m. Subdiagram b v n m -> QDiagram b v n m
- Diagrams.Names: rememberAs :: IsName a => a -> QDiagram b v n m -> SubMap b v n m -> SubMap b v n m
+ Diagrams.Names: rememberAs :: forall a b (v :: Type -> Type) n m. IsName a => a -> QDiagram b v n m -> SubMap b v n m -> SubMap b v n m
- Diagrams.Names: subPoint :: (Metric v, OrderedField n) => Point v n -> Subdiagram b v n m
+ Diagrams.Names: subPoint :: forall (v :: Type -> Type) n b m. (Metric v, OrderedField n) => Point v n -> Subdiagram b v n m
- Diagrams.Names: 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
+ Diagrams.Names: withName :: forall nm (v :: Type -> Type) m n b. (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
- Diagrams.Names: 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
+ Diagrams.Names: withNameAll :: forall nm (v :: Type -> Type) m n b. (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
- Diagrams.Names: 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
+ Diagrams.Names: withNames :: forall nm (v :: Type -> Type) m n b. (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
- Diagrams.Parametric: type family Codomain p :: * -> *
+ Diagrams.Parametric: type family Codomain p :: Type -> Type
- Diagrams.Points: (*.) :: (Functor v, Num n) => n -> Point v n -> Point v n
+ Diagrams.Points: (*.) :: forall (v :: Type -> Type) n. (Functor v, Num n) => n -> Point v n -> Point v n
- Diagrams.Points: P :: f a -> Point a
+ Diagrams.Points: P :: f a -> Point (f :: Type -> Type) a
- Diagrams.Points: _Point :: () => Iso' (Point f a) (f a)
+ Diagrams.Points: _Point :: forall (f :: Type -> Type) a. Iso' (Point f a) (f a)
- Diagrams.Points: lensP :: () => Lens' (Point g a) (g a)
+ Diagrams.Points: lensP :: forall (g :: Type -> Type) a. Lens' (Point g a) (g a)
- Diagrams.Points: origin :: (Additive f, Num a) => Point f a
+ Diagrams.Points: origin :: forall (f :: Type -> Type) a. (Additive f, Num a) => Point f a
- Diagrams.Points: pointDiagram :: (Metric v, Fractional n) => Point v n -> QDiagram b v n m
+ Diagrams.Points: pointDiagram :: forall (v :: Type -> Type) n b m. (Metric v, Fractional n) => Point v n -> QDiagram b v n m
- Diagrams.Prelude: (#%~) :: () => ALens s t a b -> (a -> b) -> s -> t
+ Diagrams.Prelude: (#%~) :: ALens s t a b -> (a -> b) -> s -> t
- Diagrams.Prelude: (#~) :: () => ALens s t a b -> b -> s -> t
+ Diagrams.Prelude: (#~) :: ALens s t a b -> b -> s -> t
- Diagrams.Prelude: (%%=) :: MonadState s m => Over p ((,) r) s s a b -> p a (r, b) -> m r
+ Diagrams.Prelude: (%%=) :: forall k s m p r (a :: k) b. MonadState s m => Over p ((,) r) s s a b -> p a (r, b) -> m r
- Diagrams.Prelude: (%%@~) :: () => Over (Indexed i) f s t a b -> (i -> a -> f b) -> s -> f t
+ Diagrams.Prelude: (%%@~) :: forall k i f s (t :: k) a (b :: k). Over (Indexed i) f s t a b -> (i -> a -> f b) -> s -> f t
- Diagrams.Prelude: (%%~) :: () => LensLike f s t a b -> (a -> f b) -> s -> f t
+ Diagrams.Prelude: (%%~) :: forall k f s (t :: k) a (b :: k). LensLike f s t a b -> (a -> f b) -> s -> f t
- Diagrams.Prelude: (%@~) :: () => AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
+ Diagrams.Prelude: (%@~) :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- Diagrams.Prelude: (%~) :: () => ASetter s t a b -> (a -> b) -> s -> t
+ Diagrams.Prelude: (%~) :: ASetter s t a b -> (a -> b) -> s -> t
- Diagrams.Prelude: (&&~) :: () => ASetter s t Bool Bool -> Bool -> s -> t
+ Diagrams.Prelude: (&&~) :: ASetter s t Bool Bool -> Bool -> s -> t
- Diagrams.Prelude: (&) :: () => a -> (a -> b) -> b
+ Diagrams.Prelude: (&) :: a -> (a -> b) -> b
- Diagrams.Prelude: (&~) :: () => s -> State s a -> s
+ Diagrams.Prelude: (&~) :: s -> State s a -> s
- Diagrams.Prelude: (.@~) :: () => AnIndexedSetter i s t a b -> (i -> b) -> s -> t
+ Diagrams.Prelude: (.@~) :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t
- Diagrams.Prelude: (.~) :: () => ASetter s t a b -> b -> s -> t
+ Diagrams.Prelude: (.~) :: ASetter s t a b -> b -> s -> t
- Diagrams.Prelude: (<#%~) :: () => ALens s t a b -> (a -> b) -> s -> (b, t)
+ Diagrams.Prelude: (<#%~) :: ALens s t a b -> (a -> b) -> s -> (b, t)
- Diagrams.Prelude: (<#~) :: () => ALens s t a b -> b -> s -> (b, t)
+ Diagrams.Prelude: (<#~) :: ALens s t a b -> b -> s -> (b, t)
- Diagrams.Prelude: (<%@~) :: () => Over (Indexed i) ((,) b) s t a b -> (i -> a -> b) -> s -> (b, t)
+ Diagrams.Prelude: (<%@~) :: Over (Indexed i) ((,) b) s t a b -> (i -> a -> b) -> s -> (b, t)
- Diagrams.Prelude: (<%~) :: () => LensLike ((,) b) s t a b -> (a -> b) -> s -> (b, t)
+ Diagrams.Prelude: (<%~) :: LensLike ((,) b) s t a b -> (a -> b) -> s -> (b, t)
- Diagrams.Prelude: (<&&~) :: () => LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
+ Diagrams.Prelude: (<&&~) :: LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
- Diagrams.Prelude: (<.~) :: () => ASetter s t a b -> b -> s -> (b, t)
+ Diagrams.Prelude: (<.~) :: ASetter s t a b -> b -> s -> (b, t)
- Diagrams.Prelude: (<<%@~) :: () => Over (Indexed i) ((,) a) s t a b -> (i -> a -> b) -> s -> (a, t)
+ Diagrams.Prelude: (<<%@~) :: Over (Indexed i) ((,) a) s t a b -> (i -> a -> b) -> s -> (a, t)
- Diagrams.Prelude: (<<%~) :: () => LensLike ((,) a) s t a b -> (a -> b) -> s -> (a, t)
+ Diagrams.Prelude: (<<%~) :: LensLike ((,) a) s t a b -> (a -> b) -> s -> (a, t)
- Diagrams.Prelude: (<<&&~) :: () => LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
+ Diagrams.Prelude: (<<&&~) :: LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
- Diagrams.Prelude: (<<.~) :: () => LensLike ((,) a) s t a b -> b -> s -> (a, t)
+ Diagrams.Prelude: (<<.~) :: LensLike ((,) a) s t a b -> b -> s -> (a, t)
- Diagrams.Prelude: (<<<>=) :: (MonadState s m, Monoid r) => LensLike' ((,) r) s r -> r -> m r
+ Diagrams.Prelude: (<<<>=) :: (MonadState s m, Semigroup r) => LensLike' ((,) r) s r -> r -> m r
- Diagrams.Prelude: (<<<>~) :: Monoid r => LensLike' ((,) r) s r -> r -> s -> (r, s)
+ Diagrams.Prelude: (<<<>~) :: Semigroup r => LensLike' ((,) r) s r -> r -> s -> (r, s)
- Diagrams.Prelude: (<<>=) :: (MonadState s m, Monoid r) => LensLike' ((,) r) s r -> r -> m r
+ Diagrams.Prelude: (<<>=) :: (MonadState s m, Semigroup r) => LensLike' ((,) r) s r -> r -> m r
- Diagrams.Prelude: (<<>~) :: Monoid m => LensLike ((,) m) s t m m -> m -> s -> (m, t)
+ Diagrams.Prelude: (<<>~) :: Semigroup m => LensLike ((,) m) s t m m -> m -> s -> (m, t)
- Diagrams.Prelude: (<<?~) :: () => LensLike ((,) a) s t a (Maybe b) -> b -> s -> (a, t)
+ Diagrams.Prelude: (<<?~) :: LensLike ((,) a) s t a (Maybe b) -> b -> s -> (a, t)
- Diagrams.Prelude: (<<||~) :: () => LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
+ Diagrams.Prelude: (<<||~) :: LensLike' ((,) Bool) s Bool -> Bool -> s -> (Bool, s)
- Diagrams.Prelude: (<>=) :: (MonadState s m, Monoid a) => ASetter' s a -> a -> m ()
+ Diagrams.Prelude: (<>=) :: (MonadState s m, Semigroup a) => ASetter' s a -> a -> m ()
- Diagrams.Prelude: (<>~) :: Monoid a => ASetter s t a a -> a -> s -> t
+ Diagrams.Prelude: (<>~) :: Semigroup a => ASetter s t a a -> a -> s -> t
- Diagrams.Prelude: (<?~) :: () => ASetter s t a (Maybe b) -> b -> s -> (b, t)
+ Diagrams.Prelude: (<?~) :: ASetter s t a (Maybe b) -> b -> s -> (b, t)
- Diagrams.Prelude: (<||~) :: () => LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
+ Diagrams.Prelude: (<||~) :: LensLike ((,) Bool) s t Bool Bool -> Bool -> s -> (Bool, t)
- Diagrams.Prelude: (?~) :: () => ASetter s t a (Maybe b) -> b -> s -> t
+ Diagrams.Prelude: (?~) :: ASetter s t a (Maybe b) -> b -> s -> t
- Diagrams.Prelude: (^#) :: () => s -> ALens s t a b -> a
+ Diagrams.Prelude: (^#) :: s -> ALens s t a b -> a
- Diagrams.Prelude: (^.) :: () => s -> Getting a s a -> a
+ Diagrams.Prelude: (^.) :: s -> Getting a s a -> a
- Diagrams.Prelude: (^..) :: () => s -> Getting (Endo [a]) s a -> [a]
+ Diagrams.Prelude: (^..) :: s -> Getting (Endo [a]) s a -> [a]
- Diagrams.Prelude: (^?) :: () => s -> Getting (First a) s a -> Maybe a
+ Diagrams.Prelude: (^?) :: s -> Getting (First a) s a -> Maybe a
- Diagrams.Prelude: (^@.) :: () => s -> IndexedGetting i (i, a) s a -> (i, a)
+ Diagrams.Prelude: (^@.) :: s -> IndexedGetting i (i, a) s a -> (i, a)
- Diagrams.Prelude: (^@..) :: () => s -> IndexedGetting i (Endo [(i, a)]) s a -> [(i, a)]
+ Diagrams.Prelude: (^@..) :: s -> IndexedGetting i (Endo [(i, a)]) s a -> [(i, a)]
- Diagrams.Prelude: (^@?) :: () => s -> IndexedGetting i (Endo (Maybe (i, a))) s a -> Maybe (i, a)
+ Diagrams.Prelude: (^@?) :: s -> IndexedGetting i (Endo (Maybe (i, a))) s a -> Maybe (i, a)
- Diagrams.Prelude: (||~) :: () => ASetter s t Bool Bool -> Bool -> s -> t
+ Diagrams.Prelude: (||~) :: ASetter s t Bool Bool -> Bool -> s -> t
- Diagrams.Prelude: Bazaar :: (forall (f :: Type -> Type). Applicative f => p a (f b) -> f t) -> Bazaar a b t
+ Diagrams.Prelude: Bazaar :: (forall (f :: Type -> Type). Applicative f => p a (f b) -> f t) -> Bazaar (p :: Type -> Type -> Type) a b t
- Diagrams.Prelude: Bazaar1 :: (forall (f :: Type -> Type). Apply f => p a (f b) -> f t) -> Bazaar1 a b t
+ Diagrams.Prelude: Bazaar1 :: (forall (f :: Type -> Type). Apply f => p a (f b) -> f t) -> Bazaar1 (p :: Type -> Type -> Type) a b t
- Diagrams.Prelude: Const :: a -> Const a
+ Diagrams.Prelude: Const :: a -> Const a (b :: k)
- Diagrams.Prelude: [Identical] :: forall k k1 (a :: k) (b :: k1) (s :: k) (t :: k1). () => Identical a b a b
+ Diagrams.Prelude: [Identical] :: forall k k1 (a :: k) (b :: k1). Identical a b a b
- Diagrams.Prelude: [Refl] :: forall k (a :: k) (b :: k). () => a :~: a
+ Diagrams.Prelude: [Refl] :: forall k (a :: k). a :~: a
- Diagrams.Prelude: [getConst] :: Const a -> a
+ Diagrams.Prelude: [getConst] :: Const a (b :: k) -> a
- Diagrams.Prelude: [runBazaar1] :: Bazaar1 a b t -> forall (f :: Type -> Type). Apply f => p a (f b) -> f t
+ Diagrams.Prelude: [runBazaar1] :: Bazaar1 (p :: Type -> Type -> Type) a b t -> forall (f :: Type -> Type). Apply f => p a (f b) -> f t
- Diagrams.Prelude: [runBazaar] :: Bazaar a b t -> forall (f :: Type -> Type). Applicative f => p a (f b) -> f t
+ Diagrams.Prelude: [runBazaar] :: Bazaar (p :: Type -> Type -> Type) a b t -> forall (f :: Type -> Type). Applicative f => p a (f b) -> f t
- Diagrams.Prelude: _GWrapped' :: (Generic s, D1 d (C1 c (S1 s' (Rec0 a))) ~ Rep s, Unwrapped s ~ GUnwrapped (Rep s)) => Iso' s (Unwrapped s)
+ Diagrams.Prelude: _GWrapped' :: forall s (d :: Meta) (c :: Meta) (s' :: Meta) a. (Generic s, D1 d (C1 c (S1 s' (Rec0 a))) ~ Rep s, Unwrapped s ~ GUnwrapped (Rep s)) => Iso' s (Unwrapped s)
- Diagrams.Prelude: _Just :: () => Prism (Maybe a) (Maybe b) a b
+ Diagrams.Prelude: _Just :: Prism (Maybe a) (Maybe b) a b
- Diagrams.Prelude: _Left :: () => Prism (Either a c) (Either b c) a b
+ Diagrams.Prelude: _Left :: Prism (Either a c) (Either b c) a b
- Diagrams.Prelude: _Nothing :: () => Prism' (Maybe a) ()
+ Diagrams.Prelude: _Nothing :: Prism' (Maybe a) ()
- Diagrams.Prelude: _Right :: () => Prism (Either c a) (Either c b) a b
+ Diagrams.Prelude: _Right :: Prism (Either c a) (Either c b) a b
- Diagrams.Prelude: _Void :: () => Prism s s a Void
+ Diagrams.Prelude: _Void :: Prism s s a Void
- Diagrams.Prelude: allOf :: () => Getting All s a -> (a -> Bool) -> s -> Bool
+ Diagrams.Prelude: allOf :: Getting All s a -> (a -> Bool) -> s -> Bool
- Diagrams.Prelude: 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')
+ Diagrams.Prelude: 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')
- Diagrams.Prelude: alphaChannel :: () => AlphaColour a -> a
+ Diagrams.Prelude: alphaChannel :: AlphaColour a -> a
- Diagrams.Prelude: andOf :: () => Getting All s Bool -> s -> Bool
+ Diagrams.Prelude: andOf :: Getting All s Bool -> s -> Bool
- Diagrams.Prelude: anon :: () => a -> (a -> Bool) -> Iso' (Maybe a) a
+ Diagrams.Prelude: anon :: a -> (a -> Bool) -> Iso' (Maybe a) a
- Diagrams.Prelude: anyOf :: () => Getting Any s a -> (a -> Bool) -> s -> Bool
+ Diagrams.Prelude: anyOf :: Getting Any s a -> (a -> Bool) -> s -> Bool
- Diagrams.Prelude: aside :: () => APrism s t a b -> Prism (e, s) (e, t) (e, a) (e, b)
+ Diagrams.Prelude: aside :: APrism s t a b -> Prism (e, s) (e, t) (e, a) (e, b)
- Diagrams.Prelude: below :: Traversable f => APrism' s a -> Prism' (f s) (f a)
+ Diagrams.Prelude: below :: forall (f :: Type -> Type) s a. Traversable f => APrism' s a -> Prism' (f s) (f a)
- Diagrams.Prelude: 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')
+ Diagrams.Prelude: bimapping :: forall (f :: Type -> Type -> Type) (g :: Type -> Type -> Type) s t a b s' t' a' b'. (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')
- Diagrams.Prelude: both :: Bitraversable r => Traversal (r a a) (r b b) a b
+ Diagrams.Prelude: both :: forall (r :: Type -> Type -> Type) a b. Bitraversable r => Traversal (r a a) (r b b) a b
- Diagrams.Prelude: both1 :: Bitraversable1 r => Traversal1 (r a a) (r b b) a b
+ Diagrams.Prelude: both1 :: forall (r :: Type -> Type -> Type) a b. Bitraversable1 r => Traversal1 (r a a) (r b b) a b
- Diagrams.Prelude: chosen :: () => IndexPreservingLens (Either a a) (Either b b) a b
+ Diagrams.Prelude: chosen :: IndexPreservingLens (Either a a) (Either b b) a b
- Diagrams.Prelude: cloneEquality :: () => AnEquality s t a b -> Equality s t a b
+ Diagrams.Prelude: cloneEquality :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2). AnEquality s t a b -> Equality s t a b
- Diagrams.Prelude: cloneIndexPreservingLens :: () => ALens s t a b -> IndexPreservingLens s t a b
+ Diagrams.Prelude: cloneIndexPreservingLens :: ALens s t a b -> IndexPreservingLens s t a b
- Diagrams.Prelude: cloneIndexPreservingSetter :: () => ASetter s t a b -> IndexPreservingSetter s t a b
+ Diagrams.Prelude: cloneIndexPreservingSetter :: ASetter s t a b -> IndexPreservingSetter s t a b
- Diagrams.Prelude: cloneIndexPreservingTraversal :: () => ATraversal s t a b -> IndexPreservingTraversal s t a b
+ Diagrams.Prelude: cloneIndexPreservingTraversal :: ATraversal s t a b -> IndexPreservingTraversal s t a b
- Diagrams.Prelude: cloneIndexPreservingTraversal1 :: () => ATraversal1 s t a b -> IndexPreservingTraversal1 s t a b
+ Diagrams.Prelude: cloneIndexPreservingTraversal1 :: ATraversal1 s t a b -> IndexPreservingTraversal1 s t a b
- Diagrams.Prelude: cloneIndexedLens :: () => AnIndexedLens i s t a b -> IndexedLens i s t a b
+ Diagrams.Prelude: cloneIndexedLens :: AnIndexedLens i s t a b -> IndexedLens i s t a b
- Diagrams.Prelude: cloneIndexedSetter :: () => AnIndexedSetter i s t a b -> IndexedSetter i s t a b
+ Diagrams.Prelude: cloneIndexedSetter :: AnIndexedSetter i s t a b -> IndexedSetter i s t a b
- Diagrams.Prelude: cloneIndexedTraversal :: () => AnIndexedTraversal i s t a b -> IndexedTraversal i s t a b
+ Diagrams.Prelude: cloneIndexedTraversal :: AnIndexedTraversal i s t a b -> IndexedTraversal i s t a b
- Diagrams.Prelude: cloneIndexedTraversal1 :: () => AnIndexedTraversal1 i s t a b -> IndexedTraversal1 i s t a b
+ Diagrams.Prelude: cloneIndexedTraversal1 :: AnIndexedTraversal1 i s t a b -> IndexedTraversal1 i s t a b
- Diagrams.Prelude: cloneIso :: () => AnIso s t a b -> Iso s t a b
+ Diagrams.Prelude: cloneIso :: AnIso s t a b -> Iso s t a b
- Diagrams.Prelude: cloneLens :: () => ALens s t a b -> Lens s t a b
+ Diagrams.Prelude: cloneLens :: ALens s t a b -> Lens s t a b
- Diagrams.Prelude: clonePrism :: () => APrism s t a b -> Prism s t a b
+ Diagrams.Prelude: clonePrism :: APrism s t a b -> Prism s t a b
- Diagrams.Prelude: cloneSetter :: () => ASetter s t a b -> Setter s t a b
+ Diagrams.Prelude: cloneSetter :: ASetter s t a b -> Setter s t a b
- Diagrams.Prelude: cloneTraversal :: () => ATraversal s t a b -> Traversal s t a b
+ Diagrams.Prelude: cloneTraversal :: ATraversal s t a b -> Traversal s t a b
- Diagrams.Prelude: cloneTraversal1 :: () => ATraversal1 s t a b -> Traversal1 s t a b
+ Diagrams.Prelude: cloneTraversal1 :: ATraversal1 s t a b -> Traversal1 s t a b
- Diagrams.Prelude: coerced :: (Coercible s a, Coercible t b) => Iso s t a b
+ Diagrams.Prelude: coerced :: forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
- Diagrams.Prelude: concatMapOf :: () => Getting [r] s a -> (a -> [r]) -> s -> [r]
+ Diagrams.Prelude: concatMapOf :: Getting [r] s a -> (a -> [r]) -> s -> [r]
- Diagrams.Prelude: concatOf :: () => Getting [r] s [r] -> s -> [r]
+ Diagrams.Prelude: concatOf :: Getting [r] s [r] -> s -> [r]
- Diagrams.Prelude: conjoined :: Conjoined p => ((p ~ ((->) :: Type -> Type -> Type)) -> q (a -> b) r) -> q (p a b) r -> q (p a b) r
+ Diagrams.Prelude: conjoined :: Conjoined p => (p ~ ((->) :: Type -> Type -> Type) => q (a -> b) r) -> q (p a b) r -> q (p a b) r
- Diagrams.Prelude: contextsOf :: () => ATraversal' a a -> a -> [Context a a a]
+ Diagrams.Prelude: contextsOf :: ATraversal' a a -> a -> [Context a a a]
- Diagrams.Prelude: contextsOnOf :: () => ATraversal s t a a -> ATraversal' a a -> s -> [Context a a t]
+ Diagrams.Prelude: contextsOnOf :: ATraversal s t a a -> ATraversal' a a -> s -> [Context a a t]
- Diagrams.Prelude: contramapped :: Contravariant f => Setter (f b) (f a) a b
+ Diagrams.Prelude: contramapped :: forall (f :: Type -> Type) b a. Contravariant f => Setter (f b) (f a) a b
- Diagrams.Prelude: contramapping :: Contravariant f => AnIso s t a b -> Iso (f a) (f b) (f s) (f t)
+ Diagrams.Prelude: contramapping :: forall (f :: Type -> Type) s t a b. Contravariant f => AnIso s t a b -> Iso (f a) (f b) (f s) (f t)
- Diagrams.Prelude: curried :: () => Iso ((a, b) -> c) ((d, e) -> f) (a -> b -> c) (d -> e -> f)
+ Diagrams.Prelude: curried :: Iso ((a, b) -> c) ((d, e) -> f) (a -> b -> c) (d -> e -> f)
- Diagrams.Prelude: devoid :: () => Over p f Void Void a b
+ Diagrams.Prelude: devoid :: forall k p f (a :: k) b. Over p f Void Void a b
- Diagrams.Prelude: 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')
+ Diagrams.Prelude: dimapping :: forall (p :: Type -> Type -> Type) (q :: Type -> Type -> Type) s t a b s' t' a' b'. (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')
- Diagrams.Prelude: element :: Traversable t => Int -> IndexedTraversal' Int (t a) a
+ Diagrams.Prelude: element :: forall (t :: Type -> Type) a. Traversable t => Int -> IndexedTraversal' Int (t a) a
- Diagrams.Prelude: elementOf :: Applicative f => LensLike (Indexing f) s t a a -> Int -> IndexedLensLike Int f s t a a
+ Diagrams.Prelude: elementOf :: forall (f :: Type -> Type) s t a. Applicative f => LensLike (Indexing f) s t a a -> Int -> IndexedLensLike Int f s t a a
- Diagrams.Prelude: elements :: Traversable t => (Int -> Bool) -> IndexedTraversal' Int (t a) a
+ Diagrams.Prelude: elements :: forall (t :: Type -> Type) a. Traversable t => (Int -> Bool) -> IndexedTraversal' Int (t a) a
- Diagrams.Prelude: elementsOf :: Applicative f => LensLike (Indexing f) s t a a -> (Int -> Bool) -> IndexedLensLike Int f s t a a
+ Diagrams.Prelude: elementsOf :: forall (f :: Type -> Type) s t a. Applicative f => LensLike (Indexing f) s t a a -> (Int -> Bool) -> IndexedLensLike Int f s t a a
- Diagrams.Prelude: equality :: () => (s :~: a) -> (b :~: t) -> Equality s t a b
+ Diagrams.Prelude: equality :: forall k1 k2 (s :: k1) (a :: k1) (b :: k2) (t :: k2). (s :~: a) -> (b :~: t) -> Equality s t a b
- Diagrams.Prelude: equality' :: () => (a :~: b) -> Equality' a b
+ Diagrams.Prelude: equality' :: forall k2 (a :: k2) (b :: k2). (a :~: b) -> Equality' a b
- Diagrams.Prelude: findIndexOf :: () => IndexedGetting i (First i) s a -> (a -> Bool) -> s -> Maybe i
+ Diagrams.Prelude: findIndexOf :: IndexedGetting i (First i) s a -> (a -> Bool) -> s -> Maybe i
- Diagrams.Prelude: findIndicesOf :: () => IndexedGetting i (Endo [i]) s a -> (a -> Bool) -> s -> [i]
+ Diagrams.Prelude: findIndicesOf :: IndexedGetting i (Endo [i]) s a -> (a -> Bool) -> s -> [i]
- Diagrams.Prelude: findOf :: () => Getting (Endo (Maybe a)) s a -> (a -> Bool) -> s -> Maybe a
+ Diagrams.Prelude: findOf :: Getting (Endo (Maybe a)) s a -> (a -> Bool) -> s -> Maybe a
- Diagrams.Prelude: first1Of :: () => Getting (First a) s a -> s -> a
+ Diagrams.Prelude: first1Of :: Getting (First a) s a -> s -> a
- Diagrams.Prelude: firstOf :: () => Getting (Leftmost a) s a -> s -> Maybe a
+ Diagrams.Prelude: firstOf :: Getting (Leftmost a) s a -> s -> Maybe a
- Diagrams.Prelude: firsting :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f s x) (g t y) (f a x) (g b y)
+ Diagrams.Prelude: firsting :: forall (f :: Type -> Type -> Type) (g :: Type -> Type -> Type) s t a b x y. (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f s x) (g t y) (f a x) (g b y)
- Diagrams.Prelude: flipped :: () => Iso (a -> b -> c) (a' -> b' -> c') (b -> a -> c) (b' -> a' -> c')
+ Diagrams.Prelude: flipped :: Iso (a -> b -> c) (a' -> b' -> c') (b -> a -> c) (b' -> a' -> c')
- Diagrams.Prelude: foldByOf :: () => Fold s a -> (a -> a -> a) -> a -> s -> a
+ Diagrams.Prelude: foldByOf :: Fold s a -> (a -> a -> a) -> a -> s -> a
- Diagrams.Prelude: foldMapByOf :: () => Fold s a -> (r -> r -> r) -> r -> (a -> r) -> s -> r
+ Diagrams.Prelude: foldMapByOf :: Fold s a -> (r -> r -> r) -> r -> (a -> r) -> s -> r
- Diagrams.Prelude: foldMapOf :: () => Getting r s a -> (a -> r) -> s -> r
+ Diagrams.Prelude: foldMapOf :: Getting r s a -> (a -> r) -> s -> r
- Diagrams.Prelude: foldOf :: () => Getting a s a -> s -> a
+ Diagrams.Prelude: foldOf :: Getting a s a -> s -> a
- Diagrams.Prelude: folded :: Foldable f => IndexedFold Int (f a) a
+ Diagrams.Prelude: folded :: forall (f :: Type -> Type) a. Foldable f => IndexedFold Int (f a) a
- Diagrams.Prelude: folded64 :: Foldable f => IndexedFold Int64 (f a) a
+ Diagrams.Prelude: folded64 :: forall (f :: Type -> Type) a. Foldable f => IndexedFold Int64 (f a) a
- Diagrams.Prelude: foldlOf :: () => Getting (Dual (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
+ Diagrams.Prelude: foldlOf :: Getting (Dual (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
- Diagrams.Prelude: foldlOf' :: () => Getting (Endo (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
+ Diagrams.Prelude: foldlOf' :: Getting (Endo (Endo r)) s a -> (r -> a -> r) -> r -> s -> r
- Diagrams.Prelude: foldrOf :: () => Getting (Endo r) s a -> (a -> r -> r) -> r -> s -> r
+ Diagrams.Prelude: foldrOf :: Getting (Endo r) s a -> (a -> r -> r) -> r -> s -> r
- Diagrams.Prelude: foldrOf' :: () => Getting (Dual (Endo (Endo r))) s a -> (a -> r -> r) -> r -> s -> r
+ Diagrams.Prelude: foldrOf' :: Getting (Dual (Endo (Endo r))) s a -> (a -> r -> r) -> r -> s -> r
- Diagrams.Prelude: forMOf :: () => LensLike (WrappedMonad m) s t a b -> s -> (a -> m b) -> m t
+ Diagrams.Prelude: forMOf :: LensLike (WrappedMonad m) s t a b -> s -> (a -> m b) -> m t
- Diagrams.Prelude: forOf :: () => LensLike f s t a b -> s -> (a -> f b) -> f t
+ Diagrams.Prelude: forOf :: LensLike f s t a b -> s -> (a -> f b) -> f t
- Diagrams.Prelude: from :: () => AnIso s t a b -> Iso b a t s
+ Diagrams.Prelude: from :: AnIso s t a b -> Iso b a t s
- Diagrams.Prelude: fromEq :: () => AnEquality s t a b -> Equality b a t s
+ Diagrams.Prelude: fromEq :: forall k2 k1 (s :: k2) (t :: k1) (a :: k2) (b :: k1). AnEquality s t a b -> Equality b a t s
- Diagrams.Prelude: fromLeibniz :: () => (Identical a b a b -> Identical a b s t) -> Equality s t a b
+ Diagrams.Prelude: fromLeibniz :: forall k1 k2 (a :: k1) (b :: k2) (s :: k1) (t :: k2). (Identical a b a b -> Identical a b s t) -> Equality s t a b
- Diagrams.Prelude: fromLeibniz' :: () => ((s :~: s) -> s :~: a) -> Equality' s a
+ Diagrams.Prelude: fromLeibniz' :: forall k2 (s :: k2) (a :: k2). ((s :~: s) -> s :~: a) -> Equality' s a
- Diagrams.Prelude: gplate1 :: (Generic1 f, GPlated1 f (Rep1 f)) => Traversal' (f a) (f a)
+ Diagrams.Prelude: gplate1 :: forall k (f :: k -> Type) (a :: k). (Generic1 f, GPlated1 f (Rep1 f)) => Traversal' (f a) (f a)
- Diagrams.Prelude: has :: () => Getting Any s a -> s -> Bool
+ Diagrams.Prelude: has :: Getting Any s a -> s -> Bool
- Diagrams.Prelude: hasn't :: () => Getting All s a -> s -> Bool
+ Diagrams.Prelude: hasn't :: Getting All s a -> s -> Bool
- Diagrams.Prelude: head1 :: Traversable1 t => Lens' (t a) a
+ Diagrams.Prelude: head1 :: forall (t :: Type -> Type) a. Traversable1 t => Lens' (t a) a
- Diagrams.Prelude: iallOf :: () => IndexedGetting i All s a -> (i -> a -> Bool) -> s -> Bool
+ Diagrams.Prelude: iallOf :: IndexedGetting i All s a -> (i -> a -> Bool) -> s -> Bool
- Diagrams.Prelude: ianyOf :: () => IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
+ Diagrams.Prelude: ianyOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
- Diagrams.Prelude: iconcatMapOf :: () => IndexedGetting i [r] s a -> (i -> a -> [r]) -> s -> [r]
+ Diagrams.Prelude: iconcatMapOf :: IndexedGetting i [r] s a -> (i -> a -> [r]) -> s -> [r]
- Diagrams.Prelude: ifindOf :: () => IndexedGetting i (Endo (Maybe a)) s a -> (i -> a -> Bool) -> s -> Maybe a
+ Diagrams.Prelude: ifindOf :: IndexedGetting i (Endo (Maybe a)) s a -> (i -> a -> Bool) -> s -> Maybe a
- Diagrams.Prelude: ifoldMapByOf :: () => IndexedFold i t a -> (r -> r -> r) -> r -> (i -> a -> r) -> t -> r
+ Diagrams.Prelude: ifoldMapByOf :: IndexedFold i t a -> (r -> r -> r) -> r -> (i -> a -> r) -> t -> r
- Diagrams.Prelude: ifoldMapOf :: () => IndexedGetting i m s a -> (i -> a -> m) -> s -> m
+ Diagrams.Prelude: ifoldMapOf :: IndexedGetting i m s a -> (i -> a -> m) -> s -> m
- Diagrams.Prelude: ifolded :: FoldableWithIndex i f => IndexedFold i (f a) a
+ Diagrams.Prelude: ifolded :: forall i (f :: Type -> Type) a. FoldableWithIndex i f => IndexedFold i (f a) a
- Diagrams.Prelude: ifoldlOf :: () => IndexedGetting i (Dual (Endo r)) s a -> (i -> r -> a -> r) -> r -> s -> r
+ Diagrams.Prelude: ifoldlOf :: IndexedGetting i (Dual (Endo r)) s a -> (i -> r -> a -> r) -> r -> s -> r
- Diagrams.Prelude: ifoldlOf' :: () => IndexedGetting i (Endo (r -> r)) s a -> (i -> r -> a -> r) -> r -> s -> r
+ Diagrams.Prelude: ifoldlOf' :: IndexedGetting i (Endo (r -> r)) s a -> (i -> r -> a -> r) -> r -> s -> r
- Diagrams.Prelude: ifoldrOf :: () => IndexedGetting i (Endo r) s a -> (i -> a -> r -> r) -> r -> s -> r
+ Diagrams.Prelude: ifoldrOf :: IndexedGetting i (Endo r) s a -> (i -> a -> r -> r) -> r -> s -> r
- Diagrams.Prelude: ifoldrOf' :: () => IndexedGetting i (Dual (Endo (r -> r))) s a -> (i -> a -> r -> r) -> r -> s -> r
+ Diagrams.Prelude: ifoldrOf' :: IndexedGetting i (Dual (Endo (r -> r))) s a -> (i -> a -> r -> r) -> r -> s -> r
- Diagrams.Prelude: iforMOf :: () => (Indexed i a (WrappedMonad m b) -> s -> WrappedMonad m t) -> s -> (i -> a -> m b) -> m t
+ Diagrams.Prelude: iforMOf :: (Indexed i a (WrappedMonad m b) -> s -> WrappedMonad m t) -> s -> (i -> a -> m b) -> m t
- Diagrams.Prelude: iforOf :: () => (Indexed i a (f b) -> s -> f t) -> s -> (i -> a -> f b) -> f t
+ Diagrams.Prelude: iforOf :: (Indexed i a (f b) -> s -> f t) -> s -> (i -> a -> f b) -> f t
- Diagrams.Prelude: ilens :: () => (s -> (i, a)) -> (s -> b -> t) -> IndexedLens i s t a b
+ Diagrams.Prelude: ilens :: (s -> (i, a)) -> (s -> b -> t) -> IndexedLens i s t a b
- Diagrams.Prelude: ilevels :: Applicative f => Traversing (Indexed i) f s t a b -> IndexedLensLike Int f s t (Level i a) (Level j b)
+ Diagrams.Prelude: ilevels :: forall (f :: Type -> Type) i s t a b j. Applicative f => Traversing (Indexed i) f s t a b -> IndexedLensLike Int f s t (Level i a) (Level j b)
- Diagrams.Prelude: iloci :: () => IndexedTraversal i (Bazaar (Indexed i) a c s) (Bazaar (Indexed i) b c s) a b
+ Diagrams.Prelude: iloci :: IndexedTraversal i (Bazaar (Indexed i) a c s) (Bazaar (Indexed i) b c s) a b
- Diagrams.Prelude: 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)
+ Diagrams.Prelude: 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)
- Diagrams.Prelude: imapAccumLOf :: () => Over (Indexed i) (State acc) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
+ Diagrams.Prelude: imapAccumLOf :: Over (Indexed i) (State acc) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- Diagrams.Prelude: imapAccumROf :: () => Over (Indexed i) (Backwards (State acc)) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
+ Diagrams.Prelude: imapAccumROf :: Over (Indexed i) (Backwards (State acc)) s t a b -> (i -> acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- Diagrams.Prelude: imapMOf :: () => Over (Indexed i) (WrappedMonad m) s t a b -> (i -> a -> m b) -> s -> m t
+ Diagrams.Prelude: imapMOf :: Over (Indexed i) (WrappedMonad m) s t a b -> (i -> a -> m b) -> s -> m t
- Diagrams.Prelude: imapOf :: () => AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
+ Diagrams.Prelude: imapOf :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- Diagrams.Prelude: imapped :: FunctorWithIndex i f => IndexedSetter i (f a) (f b) a b
+ Diagrams.Prelude: imapped :: forall i (f :: Type -> Type) a b. FunctorWithIndex i f => IndexedSetter i (f a) (f b) a b
- Diagrams.Prelude: inoneOf :: () => IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
+ Diagrams.Prelude: inoneOf :: IndexedGetting i Any s a -> (i -> a -> Bool) -> s -> Bool
- Diagrams.Prelude: involuted :: () => (a -> a) -> Iso' a a
+ Diagrams.Prelude: involuted :: (a -> a) -> Iso' a a
- Diagrams.Prelude: iover :: () => AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
+ Diagrams.Prelude: iover :: AnIndexedSetter i s t a b -> (i -> a -> b) -> s -> t
- Diagrams.Prelude: ipartsOf' :: (Indexable [i] p, Functor f) => Over (Indexed i) (Bazaar' (Indexed i) a) s t a a -> Over p f s t [a] [a]
+ Diagrams.Prelude: ipartsOf' :: forall i p f s t a. (Indexable [i] p, Functor f) => Over (Indexed i) (Bazaar' (Indexed i) a) s t a a -> Over p f s t [a] [a]
- Diagrams.Prelude: iplens :: () => (s -> a) -> (s -> b -> t) -> IndexPreservingLens s t a b
+ Diagrams.Prelude: iplens :: (s -> a) -> (s -> b -> t) -> IndexPreservingLens s t a b
- Diagrams.Prelude: ipre :: () => IndexedGetting i (First (i, a)) s a -> IndexPreservingGetter s (Maybe (i, a))
+ Diagrams.Prelude: ipre :: IndexedGetting i (First (i, a)) s a -> IndexPreservingGetter s (Maybe (i, a))
- Diagrams.Prelude: iset :: () => AnIndexedSetter i s t a b -> (i -> b) -> s -> t
+ Diagrams.Prelude: iset :: AnIndexedSetter i s t a b -> (i -> b) -> s -> t
- Diagrams.Prelude: isets :: () => ((i -> a -> b) -> s -> t) -> IndexedSetter i s t a b
+ Diagrams.Prelude: isets :: ((i -> a -> b) -> s -> t) -> IndexedSetter i s t a b
- Diagrams.Prelude: isn't :: () => APrism s t a b -> s -> Bool
+ Diagrams.Prelude: isn't :: APrism s t a b -> s -> Bool
- Diagrams.Prelude: iso :: () => (s -> a) -> (b -> t) -> Iso s t a b
+ Diagrams.Prelude: iso :: (s -> a) -> (b -> t) -> Iso s t a b
- Diagrams.Prelude: itoListOf :: () => IndexedGetting i (Endo [(i, a)]) s a -> s -> [(i, a)]
+ Diagrams.Prelude: itoListOf :: IndexedGetting i (Endo [(i, a)]) s a -> s -> [(i, a)]
- Diagrams.Prelude: 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
+ Diagrams.Prelude: 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
- Diagrams.Prelude: itraverseOf :: () => (Indexed i a (f b) -> s -> f t) -> (i -> a -> f b) -> s -> f t
+ Diagrams.Prelude: itraverseOf :: (Indexed i a (f b) -> s -> f t) -> (i -> a -> f b) -> s -> f t
- Diagrams.Prelude: itraversed :: TraversableWithIndex i t => IndexedTraversal i (t a) (t b) a b
+ Diagrams.Prelude: itraversed :: forall i (t :: Type -> Type) a b. TraversableWithIndex i t => IndexedTraversal i (t a) (t b) a b
- Diagrams.Prelude: iunsafePartsOf' :: () => Over (Indexed i) (Bazaar (Indexed i) a b) s t a b -> IndexedLens [i] s t [a] [b]
+ Diagrams.Prelude: iunsafePartsOf' :: forall i s t a b. Over (Indexed i) (Bazaar (Indexed i) a b) s t a b -> IndexedLens [i] s t [a] [b]
- Diagrams.Prelude: last1 :: Traversable1 t => Lens' (t a) a
+ Diagrams.Prelude: last1 :: forall (t :: Type -> Type) a. Traversable1 t => Lens' (t a) a
- Diagrams.Prelude: last1Of :: () => Getting (Last a) s a -> s -> a
+ Diagrams.Prelude: last1Of :: Getting (Last a) s a -> s -> a
- Diagrams.Prelude: lastOf :: () => Getting (Rightmost a) s a -> s -> Maybe a
+ Diagrams.Prelude: lastOf :: Getting (Rightmost a) s a -> s -> Maybe a
- Diagrams.Prelude: lengthOf :: () => Getting (Endo (Endo Int)) s a -> s -> Int
+ Diagrams.Prelude: lengthOf :: Getting (Endo (Endo Int)) s a -> s -> Int
- Diagrams.Prelude: lens :: () => (s -> a) -> (s -> b -> t) -> Lens s t a b
+ Diagrams.Prelude: lens :: (s -> a) -> (s -> b -> t) -> Lens s t a b
- Diagrams.Prelude: lifted :: Monad m => Setter (m a) (m b) a b
+ Diagrams.Prelude: lifted :: forall (m :: Type -> Type) a b. Monad m => Setter (m a) (m b) a b
- Diagrams.Prelude: lined :: Applicative f => IndexedLensLike' Int f String String
+ Diagrams.Prelude: lined :: forall (f :: Type -> Type). Applicative f => IndexedLensLike' Int f String String
- Diagrams.Prelude: lmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p a x) (q b y) (p s x) (q t y)
+ Diagrams.Prelude: lmapping :: forall (p :: Type -> Type -> Type) (q :: Type -> Type -> Type) s t a b x y. (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p a x) (q b y) (p s x) (q t y)
- Diagrams.Prelude: loci :: () => Traversal (Bazaar ((->) :: Type -> Type -> Type) a c s) (Bazaar ((->) :: Type -> Type -> Type) b c s) a b
+ Diagrams.Prelude: loci :: Traversal (Bazaar ((->) :: Type -> Type -> Type) a c s) (Bazaar ((->) :: Type -> Type -> Type) b c s) a b
- Diagrams.Prelude: locus :: IndexedComonadStore p => Lens (p a c s) (p b c s) a b
+ Diagrams.Prelude: locus :: forall (p :: Type -> Type -> Type -> Type) a c s b. IndexedComonadStore p => Lens (p a c s) (p b c s) a b
- Diagrams.Prelude: magma :: () => LensLike (Mafic a b) s t a b -> Iso s u (Magma Int t b a) (Magma j u c c)
+ Diagrams.Prelude: magma :: LensLike (Mafic a b) s t a b -> Iso s u (Magma Int t b a) (Magma j u c c)
- Diagrams.Prelude: magnify :: Magnify m n b a => (Functor (Magnified m c) -> Contravariant (Magnified m c) -> LensLike' (Magnified m c) a b) -> m c -> n c
+ Diagrams.Prelude: magnify :: Magnify m n b a => ((Functor (Magnified m c), Contravariant (Magnified m c)) => LensLike' (Magnified m c) a b) -> m c -> n c
- Diagrams.Prelude: mapAccumLOf :: () => LensLike (State acc) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
+ Diagrams.Prelude: mapAccumLOf :: LensLike (State acc) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- Diagrams.Prelude: mapAccumROf :: () => LensLike (Backwards (State acc)) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
+ Diagrams.Prelude: mapAccumROf :: LensLike (Backwards (State acc)) s t a b -> (acc -> a -> (acc, b)) -> acc -> s -> (acc, t)
- Diagrams.Prelude: mapEq :: () => AnEquality s t a b -> f s -> f a
+ Diagrams.Prelude: mapEq :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2) f. AnEquality s t a b -> f s -> f a
- Diagrams.Prelude: mapMOf :: () => LensLike (WrappedMonad m) s t a b -> (a -> m b) -> s -> m t
+ Diagrams.Prelude: mapMOf :: LensLike (WrappedMonad m) s t a b -> (a -> m b) -> s -> m t
- Diagrams.Prelude: mapOf :: () => ASetter s t a b -> (a -> b) -> s -> t
+ Diagrams.Prelude: mapOf :: ASetter s t a b -> (a -> b) -> s -> t
- Diagrams.Prelude: mapped :: Functor f => Setter (f a) (f b) a b
+ Diagrams.Prelude: mapped :: forall (f :: Type -> Type) a b. Functor f => Setter (f a) (f b) a b
- Diagrams.Prelude: mapping :: (Functor f, Functor g) => AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
+ Diagrams.Prelude: mapping :: forall (f :: Type -> Type) (g :: Type -> Type) s t a b. (Functor f, Functor g) => AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
- Diagrams.Prelude: matching :: () => APrism s t a b -> s -> Either t a
+ Diagrams.Prelude: matching :: APrism s t a b -> s -> Either t a
- Diagrams.Prelude: maximumByOf :: () => Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
+ Diagrams.Prelude: maximumByOf :: Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
- Diagrams.Prelude: minimumByOf :: () => Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
+ Diagrams.Prelude: minimumByOf :: Getting (Endo (Endo (Maybe a))) s a -> (a -> a -> Ordering) -> s -> Maybe a
- Diagrams.Prelude: nearly :: () => a -> (a -> Bool) -> Prism' a ()
+ Diagrams.Prelude: nearly :: a -> (a -> Bool) -> Prism' a ()
- Diagrams.Prelude: non' :: () => APrism' a () -> Iso' (Maybe a) a
+ Diagrams.Prelude: non' :: APrism' a () -> Iso' (Maybe a) a
- Diagrams.Prelude: noneOf :: () => Getting Any s a -> (a -> Bool) -> s -> Bool
+ Diagrams.Prelude: noneOf :: Getting Any s a -> (a -> Bool) -> s -> Bool
- Diagrams.Prelude: notNullOf :: () => Getting Any s a -> s -> Bool
+ Diagrams.Prelude: notNullOf :: Getting Any s a -> s -> Bool
- Diagrams.Prelude: nullOf :: () => Getting All s a -> s -> Bool
+ Diagrams.Prelude: nullOf :: Getting All s a -> s -> Bool
- Diagrams.Prelude: orOf :: () => Getting Any s Bool -> s -> Bool
+ Diagrams.Prelude: orOf :: Getting Any s Bool -> s -> Bool
- Diagrams.Prelude: over :: () => ASetter s t a b -> (a -> b) -> s -> t
+ Diagrams.Prelude: over :: ASetter s t a b -> (a -> b) -> s -> t
- Diagrams.Prelude: overEquality :: () => AnEquality s t a b -> p a b -> p s t
+ Diagrams.Prelude: overEquality :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2) p. AnEquality s t a b -> p a b -> p s t
- Diagrams.Prelude: paraOf :: () => Getting (Endo [a]) a a -> (a -> [r] -> r) -> a -> r
+ Diagrams.Prelude: paraOf :: Getting (Endo [a]) a a -> (a -> [r] -> r) -> a -> r
- Diagrams.Prelude: partsOf' :: () => ATraversal s t a a -> Lens s t [a] [a]
+ Diagrams.Prelude: partsOf' :: ATraversal s t a a -> Lens s t [a] [a]
- Diagrams.Prelude: pattern Wrapped :: forall s. Rewrapped s s => () => Unwrapped s -> s
+ Diagrams.Prelude: pattern Wrapped :: Rewrapped s s => Unwrapped s -> s
- Diagrams.Prelude: pattern List :: forall l. IsList l => () => [Item l] -> l
+ Diagrams.Prelude: pattern List :: IsList l => [Item l] -> l
- Diagrams.Prelude: pattern (:>) :: forall a b. Snoc a a b b => () => a -> b -> a
+ Diagrams.Prelude: pattern (:>) :: Snoc a a b b => a -> b -> a
- Diagrams.Prelude: pattern Swapped :: forall (p :: Type -> Type -> Type) c d. Swapped p => () => p d c -> p c d
+ Diagrams.Prelude: pattern Swapped :: forall p c d. Swap p => p d c -> p c d
- Diagrams.Prelude: pattern Empty :: forall s. AsEmpty s => () => s
+ Diagrams.Prelude: pattern Empty :: AsEmpty s => s
- Diagrams.Prelude: pattern Reversed :: forall t. Reversing t => () => t -> t
+ Diagrams.Prelude: pattern Reversed :: Reversing t => t -> t
- Diagrams.Prelude: pre :: () => Getting (First a) s a -> IndexPreservingGetter s (Maybe a)
+ Diagrams.Prelude: pre :: Getting (First a) s a -> IndexPreservingGetter s (Maybe a)
- Diagrams.Prelude: prism :: () => (b -> t) -> (s -> Either t a) -> Prism s t a b
+ Diagrams.Prelude: prism :: (b -> t) -> (s -> Either t a) -> Prism s t a b
- Diagrams.Prelude: prism' :: () => (b -> s) -> (s -> Maybe a) -> Prism s s a b
+ Diagrams.Prelude: prism' :: (b -> s) -> (s -> Maybe a) -> Prism s s a b
- Diagrams.Prelude: re :: () => AReview t b -> Getter b t
+ Diagrams.Prelude: re :: AReview t b -> Getter b t
- Diagrams.Prelude: replicated :: () => Int -> Fold a a
+ Diagrams.Prelude: replicated :: Int -> Fold a a
- Diagrams.Prelude: rewriteOf :: () => ASetter a b a b -> (b -> Maybe a) -> a -> b
+ Diagrams.Prelude: rewriteOf :: ASetter a b a b -> (b -> Maybe a) -> a -> b
- Diagrams.Prelude: rewriteOnOf :: () => ASetter s t a b -> ASetter a b a b -> (b -> Maybe a) -> s -> t
+ Diagrams.Prelude: rewriteOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> Maybe a) -> s -> t
- Diagrams.Prelude: rmapping :: (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p x s) (q y t) (p x a) (q y b)
+ Diagrams.Prelude: rmapping :: forall (p :: Type -> Type -> Type) (q :: Type -> Type -> Type) s t a b x y. (Profunctor p, Profunctor q) => AnIso s t a b -> Iso (p x s) (q y t) (p x a) (q y b)
- Diagrams.Prelude: runEq :: () => AnEquality s t a b -> Identical s t a b
+ Diagrams.Prelude: runEq :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2). AnEquality s t a b -> Identical s t a b
- Diagrams.Prelude: scanl1Of :: () => LensLike (State (Maybe a)) s t a a -> (a -> a -> a) -> s -> t
+ Diagrams.Prelude: scanl1Of :: LensLike (State (Maybe a)) s t a a -> (a -> a -> a) -> s -> t
- Diagrams.Prelude: scanr1Of :: () => LensLike (Backwards (State (Maybe a))) s t a a -> (a -> a -> a) -> s -> t
+ Diagrams.Prelude: scanr1Of :: LensLike (Backwards (State (Maybe a))) s t a a -> (a -> a -> a) -> s -> t
- Diagrams.Prelude: seconding :: (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f x s) (g y t) (f x a) (g y b)
+ Diagrams.Prelude: seconding :: forall (f :: Type -> Type -> Type) (g :: Type -> Type -> Type) s t a b x y. (Bifunctor f, Bifunctor g) => AnIso s t a b -> Iso (f x s) (g y t) (f x a) (g y b)
- Diagrams.Prelude: sequenceAOf :: () => LensLike f s t (f b) b -> s -> f t
+ Diagrams.Prelude: sequenceAOf :: LensLike f s t (f b) b -> s -> f t
- Diagrams.Prelude: 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
+ Diagrams.Prelude: 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
- Diagrams.Prelude: sequenceOf :: () => LensLike (WrappedMonad m) s t (m b) b -> s -> m t
+ Diagrams.Prelude: sequenceOf :: LensLike (WrappedMonad m) s t (m b) b -> s -> m t
- Diagrams.Prelude: set :: () => ASetter s t a b -> b -> s -> t
+ Diagrams.Prelude: set :: ASetter s t a b -> b -> s -> t
- Diagrams.Prelude: set' :: () => ASetter' s a -> a -> s -> s
+ Diagrams.Prelude: set' :: ASetter' s a -> a -> s -> s
- Diagrams.Prelude: setting :: () => ((a -> b) -> s -> t) -> IndexPreservingSetter s t a b
+ Diagrams.Prelude: setting :: ((a -> b) -> s -> t) -> IndexPreservingSetter s t a b
- Diagrams.Prelude: simple :: () => Equality' a a
+ Diagrams.Prelude: simple :: forall k2 (a :: k2). Equality' a a
- Diagrams.Prelude: simply :: () => (Optic' p f s a -> r) -> Optic' p f s a -> r
+ Diagrams.Prelude: simply :: forall k1 k2 p (f :: k1 -> k2) (s :: k1) (a :: k1) (rep :: RuntimeRep) (r :: TYPE rep). (Optic' p f s a -> r) -> Optic' p f s a -> r
- Diagrams.Prelude: storing :: () => ALens s t a b -> b -> s -> t
+ Diagrams.Prelude: storing :: ALens s t a b -> b -> s -> t
- Diagrams.Prelude: substEq :: () => AnEquality s t a b -> ((s ~ a) -> (t ~ b) -> r) -> r
+ Diagrams.Prelude: substEq :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2) (rep :: RuntimeRep) (r :: TYPE rep). AnEquality s t a b -> ((s ~ a, t ~ b) => r) -> r
- Diagrams.Prelude: swapped :: Swapped p => Iso (p a b) (p c d) (p b a) (p d c)
+ Diagrams.Prelude: swapped :: forall (p :: Type -> Type -> Type) a b c d. Swap p => Iso (p a b) (p c d) (p b a) (p d c)
- Diagrams.Prelude: toListOf :: () => Getting (Endo [a]) s a -> s -> [a]
+ Diagrams.Prelude: toListOf :: Getting (Endo [a]) s a -> s -> [a]
- Diagrams.Prelude: toNonEmptyOf :: () => Getting (NonEmptyDList a) s a -> s -> NonEmpty a
+ Diagrams.Prelude: toNonEmptyOf :: Getting (NonEmptyDList a) s a -> s -> NonEmpty a
- Diagrams.Prelude: transformOf :: () => ASetter a b a b -> (b -> b) -> a -> b
+ Diagrams.Prelude: transformOf :: ASetter a b a b -> (b -> b) -> a -> b
- Diagrams.Prelude: transformOnOf :: () => ASetter s t a b -> ASetter a b a b -> (b -> b) -> s -> t
+ Diagrams.Prelude: transformOnOf :: ASetter s t a b -> ASetter a b a b -> (b -> b) -> s -> t
- Diagrams.Prelude: transposeOf :: () => LensLike ZipList s t [a] a -> s -> [t]
+ Diagrams.Prelude: transposeOf :: LensLike ZipList s t [a] a -> s -> [t]
- Diagrams.Prelude: 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
+ Diagrams.Prelude: 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
- Diagrams.Prelude: traverseOf :: () => LensLike f s t a b -> (a -> f b) -> s -> f t
+ Diagrams.Prelude: traverseOf :: LensLike f s t a b -> (a -> f b) -> s -> f t
- Diagrams.Prelude: traversed :: Traversable f => IndexedTraversal Int (f a) (f b) a b
+ Diagrams.Prelude: traversed :: forall (f :: Type -> Type) a b. Traversable f => IndexedTraversal Int (f a) (f b) a b
- Diagrams.Prelude: traversed1 :: Traversable1 f => IndexedTraversal1 Int (f a) (f b) a b
+ Diagrams.Prelude: traversed1 :: forall (f :: Type -> Type) a b. Traversable1 f => IndexedTraversal1 Int (f a) (f b) a b
- Diagrams.Prelude: traversed64 :: Traversable f => IndexedTraversal Int64 (f a) (f b) a b
+ Diagrams.Prelude: traversed64 :: forall (f :: Type -> Type) a b. Traversable f => IndexedTraversal Int64 (f a) (f b) a b
- Diagrams.Prelude: type ALens s t a b = LensLike Pretext ((->) :: Type -> Type -> Type) a b s t a b
+ Diagrams.Prelude: type ALens s t a b = LensLike Pretext (->) :: Type -> Type -> Type a b s t a b
- Diagrams.Prelude: type AReview t b = Optic' (Tagged :: Type -> Type -> Type) Identity t b
+ Diagrams.Prelude: type AReview t b = Optic' Tagged :: Type -> Type -> Type Identity t b
- Diagrams.Prelude: type ATraversal s t a b = LensLike Bazaar ((->) :: Type -> Type -> Type) a b s t a b
+ Diagrams.Prelude: type ATraversal s t a b = LensLike Bazaar (->) :: Type -> Type -> Type a b s t a b
- Diagrams.Prelude: type ATraversal1 s t a b = LensLike Bazaar1 ((->) :: Type -> Type -> Type) a b s t a b
+ Diagrams.Prelude: type ATraversal1 s t a b = LensLike Bazaar1 (->) :: Type -> Type -> Type a b s t a b
- Diagrams.Prelude: type AnEquality (s :: k1) (t :: k2) (a :: k1) (b :: k2) = Identical a Proxy b a Proxy b -> Identical a Proxy b s Proxy t
+ Diagrams.Prelude: type AnEquality (s :: k) (t :: k1) (a :: k) (b :: k2) = Identical a Proxy b a Proxy b -> Identical a Proxy b s Proxy t
- Diagrams.Prelude: type AnEquality' (s :: k2) (a :: k2) = AnEquality s s a a
+ Diagrams.Prelude: type AnEquality' (s :: k) (a :: k) = AnEquality s s a a
- Diagrams.Prelude: type AnIndexedLens i s t a b = Optical Indexed i ((->) :: Type -> Type -> Type) Pretext Indexed i a b s t a b
+ Diagrams.Prelude: type AnIndexedLens i s t a b = Optical Indexed i (->) :: Type -> Type -> Type Pretext Indexed i a b s t a b
- Diagrams.Prelude: 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
+ Diagrams.Prelude: type Optic (p :: k -> k1 -> Type) (f :: k2 -> k1) (s :: k) (t :: k2) (a :: k) (b :: k2) = p a f b -> p s f t
- Diagrams.Prelude: type Optic' (p :: k1 -> k -> Type) (f :: k1 -> k) (s :: k1) (a :: k1) = Optic p f s s a a
+ Diagrams.Prelude: type Optic' (p :: k -> k1 -> Type) (f :: k -> k1) (s :: k) (a :: k) = Optic p f s s a a
- Diagrams.Prelude: 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
+ Diagrams.Prelude: type Optical (p :: k -> k1 -> Type) (q :: k2 -> k1 -> Type) (f :: k3 -> k1) (s :: k2) (t :: k3) (a :: k) (b :: k3) = p a f b -> q s f t
- Diagrams.Prelude: 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
+ Diagrams.Prelude: type Optical' (p :: k -> k1 -> Type) (q :: k -> k1 -> Type) (f :: k -> k1) (s :: k) (a :: k) = Optical p q f s s a a
- Diagrams.Prelude: type Simple (f :: k -> k -> k1 -> k1 -> k2) (s :: k) (a :: k1) = f s s a a
+ Diagrams.Prelude: type Simple (f :: k1 -> k1 -> k2 -> k2 -> k) (s :: k1) (a :: k2) = f s s a a
- Diagrams.Prelude: type family Unwrapped s :: Type;
+ Diagrams.Prelude: type family Unwrapped s;
- Diagrams.Prelude: uncurried :: () => Iso (a -> b -> c) (d -> e -> f) ((a, b) -> c) ((d, e) -> f)
+ Diagrams.Prelude: uncurried :: Iso (a -> b -> c) (d -> e -> f) ((a, b) -> c) ((d, e) -> f)
- Diagrams.Prelude: under :: () => AnIso s t a b -> (t -> s) -> b -> a
+ Diagrams.Prelude: under :: AnIso s t a b -> (t -> s) -> b -> a
- Diagrams.Prelude: underEquality :: () => AnEquality s t a b -> p t s -> p b a
+ Diagrams.Prelude: underEquality :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2) p. AnEquality s t a b -> p t s -> p b a
- Diagrams.Prelude: unfolded :: () => (b -> Maybe (a, b)) -> Fold b a
+ Diagrams.Prelude: unfolded :: (b -> Maybe (a, b)) -> Fold b a
- Diagrams.Prelude: united :: () => Lens' a ()
+ Diagrams.Prelude: united :: Lens' a ()
- Diagrams.Prelude: universeOf :: () => Getting [a] a a -> a -> [a]
+ Diagrams.Prelude: universeOf :: Getting [a] a a -> a -> [a]
- Diagrams.Prelude: universeOnOf :: () => Getting [a] s a -> Getting [a] a a -> s -> [a]
+ Diagrams.Prelude: universeOnOf :: Getting [a] s a -> Getting [a] a a -> s -> [a]
- Diagrams.Prelude: unsafePartsOf' :: () => ATraversal s t a b -> Lens s t [a] [b]
+ Diagrams.Prelude: unsafePartsOf' :: ATraversal s t a b -> Lens s t [a] [b]
- Diagrams.Prelude: withEquality :: () => AnEquality s t a b -> ((s :~: a) -> (b :~: t) -> r) -> r
+ Diagrams.Prelude: withEquality :: forall k1 k2 (s :: k1) (t :: k2) (a :: k1) (b :: k2) (rep :: RuntimeRep) (r :: TYPE rep). AnEquality s t a b -> ((s :~: a) -> (b :~: t) -> r) -> r
- Diagrams.Prelude: withIso :: () => AnIso s t a b -> ((s -> a) -> (b -> t) -> r) -> r
+ Diagrams.Prelude: withIso :: forall s t a b (rep :: RuntimeRep) (r :: TYPE rep). AnIso s t a b -> ((s -> a) -> (b -> t) -> r) -> r
- Diagrams.Prelude: withLens :: () => ALens s t a b -> ((s -> a) -> (s -> b -> t) -> r) -> r
+ Diagrams.Prelude: withLens :: forall s t a b (rep :: RuntimeRep) (r :: TYPE rep). ALens s t a b -> ((s -> a) -> (s -> b -> t) -> r) -> r
- Diagrams.Prelude: withPrism :: () => APrism s t a b -> ((b -> t) -> (s -> Either t a) -> r) -> r
+ Diagrams.Prelude: withPrism :: APrism s t a b -> ((b -> t) -> (s -> Either t a) -> r) -> r
- Diagrams.Prelude: without :: () => APrism s t a b -> APrism u v c d -> Prism (Either s u) (Either t v) (Either a c) (Either b d)
+ Diagrams.Prelude: without :: APrism s t a b -> APrism u v c d -> Prism (Either s u) (Either t v) (Either a c) (Either b d)
- Diagrams.Prelude: worded :: Applicative f => IndexedLensLike' Int f String String
+ Diagrams.Prelude: worded :: forall (f :: Type -> Type). Applicative f => IndexedLensLike' Int f String String
- Diagrams.Prelude: xplat :: () => Optic (Costar ((->) s :: Type -> Type)) g s t a b -> ((s -> a) -> g b) -> g t
+ Diagrams.Prelude: xplat :: forall k s g (t :: k) a (b :: k). Optic (Costar ((->) s :: Type -> Type)) g s t a b -> ((s -> a) -> g b) -> g t
- Diagrams.Prelude: xplatf :: () => Optic (Costar f) g s t a b -> (f a -> g b) -> f s -> g t
+ Diagrams.Prelude: xplatf :: forall k1 k2 f g (s :: k1) (t :: k2) (a :: k1) (b :: k2). Optic (Costar f) g s t a b -> (f a -> g b) -> f s -> g t
- Diagrams.Query: Query :: (Point v n -> m) -> Query n m
+ Diagrams.Query: Query :: (Point v n -> m) -> Query (v :: Type -> Type) n m
- Diagrams.Query: [runQuery] :: Query n m -> Point v n -> m
+ Diagrams.Query: [runQuery] :: Query (v :: Type -> Type) n m -> Point v n -> m
- Diagrams.Query: query :: Monoid m => QDiagram b v n m -> Query v n m
+ Diagrams.Query: query :: forall m b (v :: Type -> Type) n. Monoid m => QDiagram b v n m -> Query v n m
- Diagrams.Segment: oeEnvelope :: forall v_a1bth n_a1bti. Lens' (OffsetEnvelope v_a1bth n_a1bti) (Envelope v_a1bth n_a1bti)
+ Diagrams.Segment: oeEnvelope :: forall v_aY3O n_aY3P. Lens' (OffsetEnvelope v_aY3O n_aY3P) (Envelope v_aY3O n_aY3P)
- Diagrams.Segment: oeOffset :: forall v_a1bth n_a1bti. Lens' (OffsetEnvelope v_a1bth n_a1bti) (TotalOffset v_a1bth n_a1bti)
+ Diagrams.Segment: oeOffset :: forall v_aY3O n_aY3P. Lens' (OffsetEnvelope v_aY3O n_aY3P) (TotalOffset v_aY3O n_aY3P)
- Diagrams.ThreeD.Camera: horizontalFieldOfView :: forall n_aXCi. Lens' (PerspectiveLens n_aXCi) (Angle n_aXCi)
+ Diagrams.ThreeD.Camera: horizontalFieldOfView :: forall n_aLL1. Lens' (PerspectiveLens n_aLL1) (Angle n_aLL1)
- Diagrams.ThreeD.Camera: orthoHeight :: forall n_aXFa. Lens' (OrthoLens n_aXFa) n_aXFa
+ Diagrams.ThreeD.Camera: orthoHeight :: forall n_aLNA. Lens' (OrthoLens n_aLNA) n_aLNA
- Diagrams.ThreeD.Camera: orthoWidth :: forall n_aXFa. Lens' (OrthoLens n_aXFa) n_aXFa
+ Diagrams.ThreeD.Camera: orthoWidth :: forall n_aLNA. Lens' (OrthoLens n_aLNA) n_aLNA
- Diagrams.ThreeD.Camera: verticalFieldOfView :: forall n_aXCi. Lens' (PerspectiveLens n_aXCi) (Angle n_aXCi)
+ Diagrams.ThreeD.Camera: verticalFieldOfView :: forall n_aLL1. Lens' (PerspectiveLens n_aLL1) (Angle n_aLL1)
- Diagrams.ThreeD.Transform: scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
+ Diagrams.ThreeD.Transform: scale :: forall (v :: Type -> Type) n a. (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
- Diagrams.ThreeD.Transform: scaling :: (Additive v, Fractional n) => n -> Transformation v n
+ Diagrams.ThreeD.Transform: scaling :: forall (v :: Type -> Type) n. (Additive v, Fractional n) => n -> Transformation v n
- Diagrams.ThreeD.Transform: translation :: () => v n -> Transformation v n
+ Diagrams.ThreeD.Transform: translation :: v n -> Transformation v n
- Diagrams.Trace: setTrace :: (OrderedField n, Metric v, Semigroup m) => Trace v n -> QDiagram b v n m -> QDiagram b v n m
+ Diagrams.Trace: setTrace :: forall b (v :: Type -> Type) n m. (OrderedField n, Metric v, Semigroup m) => Trace v n -> QDiagram b v n m -> QDiagram b v n m
- Diagrams.Trace: trace :: (Metric v, OrderedField n, Semigroup m) => Lens' (QDiagram b v n m) (Trace v n)
+ Diagrams.Trace: trace :: forall (v :: Type -> Type) n m b. (Metric v, OrderedField n, Semigroup m) => Lens' (QDiagram b v n m) (Trace v n)
- Diagrams.Transform: apply :: () => Transformation v n -> v n -> v n
+ Diagrams.Transform: apply :: Transformation v n -> v n -> v n
- Diagrams.Transform: inv :: (Functor v, Num n) => Transformation v n -> Transformation v n
+ Diagrams.Transform: inv :: forall (v :: Type -> Type) n. (Functor v, Num n) => Transformation v n -> Transformation v n
- Diagrams.Transform: moveTo :: (InSpace v n t, HasOrigin t) => Point v n -> t -> t
+ Diagrams.Transform: moveTo :: forall (v :: Type -> Type) n t. (InSpace v n t, HasOrigin t) => Point v n -> t -> t
- Diagrams.Transform: papply :: (Additive v, Num n) => Transformation v n -> Point v n -> Point v n
+ Diagrams.Transform: papply :: forall (v :: Type -> Type) n. (Additive v, Num n) => Transformation v n -> Point v n -> Point v n
- Diagrams.Transform: place :: (InSpace v n t, HasOrigin t) => t -> Point v n -> t
+ Diagrams.Transform: place :: forall (v :: Type -> Type) n t. (InSpace v n t, HasOrigin t) => t -> Point v n -> t
- Diagrams.Transform: scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
+ Diagrams.Transform: scale :: forall (v :: Type -> Type) n a. (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
- Diagrams.Transform: scaling :: (Additive v, Fractional n) => n -> Transformation v n
+ Diagrams.Transform: scaling :: forall (v :: Type -> Type) n. (Additive v, Fractional n) => n -> Transformation v n
- Diagrams.Transform: transl :: () => Transformation v n -> v n
+ Diagrams.Transform: transl :: Transformation v n -> v n
- Diagrams.Transform: translation :: () => v n -> Transformation v n
+ Diagrams.Transform: translation :: v n -> Transformation v n
- Diagrams.Transform.ScaleInv: scaleInvDir :: forall t_aQ5E. Lens' (ScaleInv t_aQ5E) (Vn t_aQ5E)
+ Diagrams.Transform.ScaleInv: scaleInvDir :: forall t_aEl3. Lens' (ScaleInv t_aEl3) (Vn t_aEl3)
- Diagrams.Transform.ScaleInv: scaleInvLoc :: forall t_aQ5E. Lens' (ScaleInv t_aQ5E) (Point (V t_aQ5E) (N t_aQ5E))
+ Diagrams.Transform.ScaleInv: scaleInvLoc :: forall t_aEl3. Lens' (ScaleInv t_aEl3) (Point (V t_aEl3) (N t_aEl3))
- Diagrams.Transform.ScaleInv: scaleInvObj :: forall t_aQ5E. Lens' (ScaleInv t_aQ5E) t_aQ5E
+ Diagrams.Transform.ScaleInv: scaleInvObj :: forall t_aEl3. Lens' (ScaleInv t_aEl3) t_aEl3
- Diagrams.TwoD: _LG :: forall n_a2ekc. Prism' (Texture n_a2ekc) (LGradient n_a2ekc)
+ Diagrams.TwoD: _LG :: forall n_a1YTL. Prism' (Texture n_a1YTL) (LGradient n_a1YTL)
- Diagrams.TwoD: _RG :: forall n_a2ekc. Prism' (Texture n_a2ekc) (RGradient n_a2ekc)
+ Diagrams.TwoD: _RG :: forall n_a1YTL. Prism' (Texture n_a1YTL) (RGradient n_a1YTL)
- Diagrams.TwoD: _SC :: forall n_a2ekc. Prism' (Texture n_a2ekc) SomeColor
+ Diagrams.TwoD: _SC :: forall n_a1YTL. Prism' (Texture n_a1YTL) SomeColor
- Diagrams.TwoD: data DImage :: * -> * -> *
+ Diagrams.TwoD: data DImage :: Type -> Type -> Type
- Diagrams.TwoD: data ImageData :: * -> *
+ Diagrams.TwoD: data ImageData :: Type -> Type
- Diagrams.TwoD: data Native (t :: *)
+ Diagrams.TwoD: data Native (t :: Type)
- Diagrams.TwoD: eColor :: forall n_a2CbR. Lens' (EnvelopeOpts n_a2CbR) (Colour Double)
+ Diagrams.TwoD: eColor :: forall n_a2lij. Lens' (EnvelopeOpts n_a2lij) (Colour Double)
- Diagrams.TwoD: eLineWidth :: forall n_a2CbR n_a2Cek. Lens (EnvelopeOpts n_a2CbR) (EnvelopeOpts n_a2Cek) (Measure n_a2CbR) (Measure n_a2Cek)
+ Diagrams.TwoD: eLineWidth :: forall n_a2lij n_a2lkJ. Lens (EnvelopeOpts n_a2lij) (EnvelopeOpts n_a2lkJ) (Measure n_a2lij) (Measure n_a2lkJ)
- Diagrams.TwoD: ePoints :: forall n_a2CbR. Lens' (EnvelopeOpts n_a2CbR) Int
+ Diagrams.TwoD: ePoints :: forall n_a2lij. Lens' (EnvelopeOpts n_a2lij) Int
- Diagrams.TwoD: oColor :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) (Colour Double)
+ Diagrams.TwoD: oColor :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) (Colour Double)
- Diagrams.TwoD: oMinSize :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) n_a2CaR
+ Diagrams.TwoD: oMinSize :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) n_a2lhm
- Diagrams.TwoD: oScale :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) n_a2CaR
+ Diagrams.TwoD: oScale :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) n_a2lhm
- Diagrams.TwoD: radiusBL :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD: radiusBL :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD: radiusBR :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD: radiusBR :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD: radiusTL :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD: radiusTL :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD: radiusTR :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD: radiusTR :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD: scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
+ Diagrams.TwoD: scale :: forall (v :: Type -> Type) n a. (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
- Diagrams.TwoD: scaling :: (Additive v, Fractional n) => n -> Transformation v n
+ Diagrams.TwoD: scaling :: forall (v :: Type -> Type) n. (Additive v, Fractional n) => n -> Transformation v n
- Diagrams.TwoD: tColor :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) (Colour Double)
+ Diagrams.TwoD: tColor :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) (Colour Double)
- Diagrams.TwoD: tMinSize :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) n_a2CeJ
+ Diagrams.TwoD: tMinSize :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) n_a2ll8
- Diagrams.TwoD: tPoints :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) Int
+ Diagrams.TwoD: tPoints :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) Int
- Diagrams.TwoD: tScale :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) n_a2CeJ
+ Diagrams.TwoD: tScale :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) n_a2ll8
- Diagrams.TwoD: translation :: () => v n -> Transformation v n
+ Diagrams.TwoD: translation :: v n -> Transformation v n
- Diagrams.TwoD.Attributes: _LG :: forall n_a2ekc. Prism' (Texture n_a2ekc) (LGradient n_a2ekc)
+ Diagrams.TwoD.Attributes: _LG :: forall n_a1YTL. Prism' (Texture n_a1YTL) (LGradient n_a1YTL)
- Diagrams.TwoD.Attributes: _RG :: forall n_a2ekc. Prism' (Texture n_a2ekc) (RGradient n_a2ekc)
+ Diagrams.TwoD.Attributes: _RG :: forall n_a1YTL. Prism' (Texture n_a1YTL) (RGradient n_a1YTL)
- Diagrams.TwoD.Attributes: _SC :: forall n_a2ekc. Prism' (Texture n_a2ekc) SomeColor
+ Diagrams.TwoD.Attributes: _SC :: forall n_a1YTL. Prism' (Texture n_a1YTL) SomeColor
- Diagrams.TwoD.Image: data DImage :: * -> * -> *
+ Diagrams.TwoD.Image: data DImage :: Type -> Type -> Type
- Diagrams.TwoD.Image: data ImageData :: * -> *
+ Diagrams.TwoD.Image: data ImageData :: Type -> Type
- Diagrams.TwoD.Image: data Native (t :: *)
+ Diagrams.TwoD.Image: data Native (t :: Type)
- Diagrams.TwoD.Model: eColor :: forall n_a2CbR. Lens' (EnvelopeOpts n_a2CbR) (Colour Double)
+ Diagrams.TwoD.Model: eColor :: forall n_a2lij. Lens' (EnvelopeOpts n_a2lij) (Colour Double)
- Diagrams.TwoD.Model: eLineWidth :: forall n_a2CbR n_a2Cek. Lens (EnvelopeOpts n_a2CbR) (EnvelopeOpts n_a2Cek) (Measure n_a2CbR) (Measure n_a2Cek)
+ Diagrams.TwoD.Model: eLineWidth :: forall n_a2lij n_a2lkJ. Lens (EnvelopeOpts n_a2lij) (EnvelopeOpts n_a2lkJ) (Measure n_a2lij) (Measure n_a2lkJ)
- Diagrams.TwoD.Model: ePoints :: forall n_a2CbR. Lens' (EnvelopeOpts n_a2CbR) Int
+ Diagrams.TwoD.Model: ePoints :: forall n_a2lij. Lens' (EnvelopeOpts n_a2lij) Int
- Diagrams.TwoD.Model: oColor :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) (Colour Double)
+ Diagrams.TwoD.Model: oColor :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) (Colour Double)
- Diagrams.TwoD.Model: oMinSize :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) n_a2CaR
+ Diagrams.TwoD.Model: oMinSize :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) n_a2lhm
- Diagrams.TwoD.Model: oScale :: forall n_a2CaR. Lens' (OriginOpts n_a2CaR) n_a2CaR
+ Diagrams.TwoD.Model: oScale :: forall n_a2lhm. Lens' (OriginOpts n_a2lhm) n_a2lhm
- Diagrams.TwoD.Model: tColor :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) (Colour Double)
+ Diagrams.TwoD.Model: tColor :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) (Colour Double)
- Diagrams.TwoD.Model: tMinSize :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) n_a2CeJ
+ Diagrams.TwoD.Model: tMinSize :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) n_a2ll8
- Diagrams.TwoD.Model: tPoints :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) Int
+ Diagrams.TwoD.Model: tPoints :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) Int
- Diagrams.TwoD.Model: tScale :: forall n_a2CeJ. Lens' (TraceOpts n_a2CeJ) n_a2CeJ
+ Diagrams.TwoD.Model: tScale :: forall n_a2ll8. Lens' (TraceOpts n_a2ll8) n_a2ll8
- Diagrams.TwoD.Shapes: radiusBL :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD.Shapes: radiusBL :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD.Shapes: radiusBR :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD.Shapes: radiusBR :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD.Shapes: radiusTL :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD.Shapes: radiusTL :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD.Shapes: radiusTR :: forall d_a1WXI. Lens' (RoundedRectOpts d_a1WXI) d_a1WXI
+ Diagrams.TwoD.Shapes: radiusTR :: forall d_a1IFJ. Lens' (RoundedRectOpts d_a1IFJ) d_a1IFJ
- Diagrams.TwoD.Transform: scale :: (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
+ Diagrams.TwoD.Transform: scale :: forall (v :: Type -> Type) n a. (InSpace v n a, Eq n, Fractional n, Transformable a) => n -> a -> a
- Diagrams.TwoD.Transform: scaling :: (Additive v, Fractional n) => n -> Transformation v n
+ Diagrams.TwoD.Transform: scaling :: forall (v :: Type -> Type) n. (Additive v, Fractional n) => n -> Transformation v n
- Diagrams.TwoD.Transform: translation :: () => v n -> Transformation v n
+ Diagrams.TwoD.Transform: translation :: v n -> Transformation v n

Files

CHANGELOG.md view
@@ -1,3 +1,13 @@+## [v1.4.4](https://github.com/diagrams/diagrams-lib/tree/v1.4.4) (2021-05-24)++- Bumps to upper bounds, to allow building with:+    - `base-4.15` (tested with GHC 9.0.1)+    - `optparse-applicative` (tested with GHC 8.8.4 & 8.10.2)++- Updated use of Kinds thoughout the package++- Drop support for GHC 8.2 or earlier+ ## [v1.4.3](https://github.com/diagrams/diagrams-lib/tree/v1.4.3) (2019-11-06)  - Bumps to upper bounds, to allow building with:
diagrams-lib.cabal view
@@ -1,5 +1,5 @@ Name:                diagrams-lib-Version:             1.4.3+Version:             1.4.4 Synopsis:            Embedded domain-specific language for declarative graphics Description:         Diagrams is a flexible, extensible EDSL for creating                      graphics of many types.  Graphics can be created@@ -21,7 +21,7 @@ Cabal-version:       1.18 Extra-source-files:  CHANGELOG.md, README.markdown, diagrams/*.svg Extra-doc-files:     diagrams/*.svg-Tested-with:         GHC ==7.10.3 || ==8.0.2 || ==8.2.2 || ==8.4.3 || ==8.6.5 || ==8.8.1+Tested-with:         GHC ==8.4.4 || ==8.6.5 || ==8.8.4 || ==8.10.4 || ==9.0.1 Source-repository head   type:     git   location: http://github.com/diagrams/diagrams-lib.git@@ -100,26 +100,26 @@                        Diagrams.TwoD.Types,                        Diagrams.TwoD.Vector,                        Diagrams.Util-  Build-depends:       base >= 4.8 && < 4.14,+  Build-depends:       base >= 4.9 && < 4.16,                        containers >= 0.3 && < 0.7,                        array >= 0.3 && < 0.6,                        semigroups >= 0.3.4 && < 0.20,-                       monoid-extras >= 0.3 && < 0.6,+                       monoid-extras >= 0.6 && < 0.7,                        dual-tree >= 0.2 && < 0.3,-                       diagrams-core >= 1.4 && < 1.5,+                       diagrams-core >= 1.4 && < 1.6,                        diagrams-solve >= 0.1 && < 0.2,                        active >= 0.2 && < 0.3,                        colour >= 2.3.2 && < 2.4,                        data-default-class < 0.2,                        fingertree >= 0.1 && < 0.2,                        intervals >= 0.7 && < 0.10,-                       lens >= 4.6 && < 4.19,+                       lens >= 4.6 && < 5.1,                        tagged >= 0.7,-                       optparse-applicative >= 0.11 && < 0.16,+                       optparse-applicative >= 0.11 && < 0.17,                        filepath,                        JuicyPixels >= 3.3.4 && < 3.4,                        hashable >= 1.1 && < 1.4,-                       linear >= 1.20.1 && < 1.21,+                       linear >= 1.20.1 && < 1.22,                        adjunctions >= 4.0 && < 5.0,                        distributive >=0.2.2 && < 1.0,                        process >= 1.1 && < 1.7,
src/Diagrams/Attributes/Compile.hs view
@@ -25,6 +25,7 @@  import           Control.Arrow       (second) import           Control.Lens        ((%~), (&), _Wrapping')+import           Data.Kind           (Type) import qualified Data.HashMap.Strict as HM import           Data.Semigroup import           Data.Tree           (Tree (..))@@ -39,8 +40,8 @@ -- splitFills; it's done this way to facilitate testing.  class (AttributeClass (AttrType code), Typeable (PrimType code)) => SplitAttribute code where-  type AttrType code :: *-  type PrimType code :: *+  type AttrType code :: Type+  type PrimType code :: Type    primOK :: code -> PrimType code -> Bool 
src/Diagrams/Backend/CmdLine.hs view
@@ -98,6 +98,7 @@ import           Data.Data import           Data.Functor.Identity import           Data.IORef+import           Data.Kind                 (Type) import           Data.List                 (delete) import           Data.Maybe                (fromMaybe) import           Data.Monoid@@ -220,11 +221,17 @@ --   Taken from Options.Applicative.Extra but without the --   short option 'h'.  We want the 'h' for Height. helper' :: Parser (a -> a)-helper' = abortOption ShowHelpText $ mconcat+helper' = abortOption param $ mconcat   [ long "help"   , short '?'   , help "Show this help text"   ]+  where+#if MIN_VERSION_optparse_applicative(0,16,0)+    param = ShowHelpText Nothing+#else+    param = ShowHelpText +#endif  -- | Apply a parser to the command line that includes the standard --   program description and help behavior.  Results in parsed commands@@ -355,8 +362,8 @@ --   at once, and a type @'ResultOf' d@ that is the type of the final result from --   some base case instance. class ToResult d where-  type Args d :: *-  type ResultOf d :: *+  type Args d :: Type+  type ResultOf d :: Type    toResult :: d -> Args d -> ResultOf d @@ -430,7 +437,7 @@ class Mainable d where   -- | Associated type that describes the options which need to be parsed   -- from the command-line and passed to @mainRender@.-  type MainOpts d :: *+  type MainOpts d :: Type    -- | This method invokes the command-line parser resulting in an options   -- value or ending the program with an error or help message.
src/Diagrams/BoundingBox.hs view
@@ -80,7 +80,7 @@ type instance N (NonEmptyBoundingBox v n) = n  fromNonEmpty :: NonEmptyBoundingBox v n -> BoundingBox v n-fromNonEmpty = BoundingBox . Option . Just+fromNonEmpty = BoundingBox . Just  fromMaybeEmpty :: Maybe (NonEmptyBoundingBox v n) -> BoundingBox v n fromMaybeEmpty = maybe emptyBox fromNonEmpty@@ -95,7 +95,7 @@ -- | A bounding box is an axis-aligned region determined by two points --   indicating its \"lower\" and \"upper\" corners.  It can also represent --   an empty bounding box - the points are wrapped in @Maybe@.-newtype BoundingBox v n = BoundingBox (Option (NonEmptyBoundingBox v n))+newtype BoundingBox v n = BoundingBox (Maybe (NonEmptyBoundingBox v n))   deriving (Eq, Functor)  deriving instance (Additive v, Ord n) => Semigroup (BoundingBox v n)@@ -166,7 +166,7 @@ -- | An empty bounding box.  This is the same thing as @mempty@, but it doesn't --   require the same type constraints that the @Monoid@ instance does. emptyBox :: BoundingBox v n-emptyBox = BoundingBox $ Option Nothing+emptyBox = BoundingBox Nothing  -- | Create a bounding box from a point that is component-wise @(<=)@ than the --   other.  If this is not the case, then @mempty@ is returned.@@ -196,17 +196,17 @@  -- | Queries whether the BoundingBox is empty. isEmptyBox :: BoundingBox v n -> Bool-isEmptyBox (BoundingBox (Option Nothing)) = True+isEmptyBox (BoundingBox Nothing) = True isEmptyBox _                              = False  -- | Gets the lower and upper corners that define the bounding box. getCorners :: BoundingBox v n -> Maybe (Point v n, Point v n)-getCorners (BoundingBox p) = nonEmptyCorners <$> getOption p+getCorners (BoundingBox p) = nonEmptyCorners <$> p  -- | Computes all of the corners of the bounding box. getAllCorners :: (Additive v, Traversable v) => BoundingBox v n -> [Point v n]-getAllCorners (BoundingBox (Option Nothing)) = []-getAllCorners (BoundingBox (Option (Just (NonEmptyBoundingBox (l, u)))))+getAllCorners (BoundingBox Nothing) = []+getAllCorners (BoundingBox (Just (NonEmptyBoundingBox (l, u))))   = T.sequence (liftI2 (\a b -> [a,b]) l u)  -- | Get the size of the bounding box - the vector from the (component-wise)
src/Diagrams/Combinators.hs view
@@ -165,7 +165,7 @@   => n -> v n -> QDiagram b v n m -> QDiagram b v n m deformEnvelope s v = over (envelope . _Wrapping Envelope) deformE   where-    deformE = Option . fmap deformE' . getOption+    deformE = fmap deformE'     deformE' env v'         | dp > 0    = Max $ getMax (env v') + (dp * s) / quadrance v'         | otherwise = env v'
src/Diagrams/Coordinates.hs view
@@ -19,8 +19,8 @@     )     where +import           Data.Kind       (Type) import           Diagrams.Points- import           Linear          (V2 (..), V3 (..), V4 (..))  -- | Types which are instances of the @Coordinates@ class can be@@ -36,13 +36,13 @@ class Coordinates c where    -- | The type of the final coordinate.-  type FinalCoord c    :: *+  type FinalCoord c    :: Type    -- | The type of everything other than the final coordinate.-  type PrevDim c       :: *+  type PrevDim c       :: Type    -- | Decomposition of @c@ into applications of ':&'.-  type Decomposition c :: *+  type Decomposition c :: Type     -- Decomposition c = Decomposition (PrevDim c) :& FinalCoord c  (essentially)    -- | Construct a value of type @c@ by providing something of one
src/Diagrams/Parametric.hs view
@@ -22,12 +22,13 @@    ) where +import           Data.Kind (Type) import           Diagrams.Core.V import qualified Numeric.Interval.Kaucher as I  -- | Codomain of parametric classes.  This is usually either @(V p)@, for relative --   vector results, or @(Point (V p))@, for functions with absolute coordinates.-type family Codomain p :: * -> *+type family Codomain p :: Type -> Type  -- | Type class for parametric functions. class Parametric p where
src/Diagrams/Trail.hs view
@@ -311,7 +311,7 @@ --   (along with a default value) to a function on an entire trail. trailMeasure :: ( SegMeasure v n :>: m, FT.Measured (SegMeasure v n) t )              => a -> (m -> a) -> t -> a-trailMeasure d f = option d f . get . FT.measure+trailMeasure d f = maybe d f . get . FT.measure  -- | Compute the number of segments of anything measured by --   'SegMeasure' (/e.g./ @SegMeasure@ itself, @Segment@, @SegTree@,
src/Diagrams/Transform.hs view
@@ -125,4 +125,4 @@ -- @ translated :: (InSpace v n a, SameSpace a b, Transformable a, Transformable b)            => v n -> Iso a b a b-translated = transformed . translation+translated v = transformed $ translation v
src/Diagrams/Transform/Matrix.hs view
@@ -30,7 +30,7 @@  -- | Build a matrix from a 'Transformation', ignoring the translation. mkMat :: (HasBasis v, Num n) => Transformation v n -> v (v n)-mkMat t = distribute . tabulate $ apply t . unit . el+mkMat t = distribute . tabulate $ apply t . unit . (\x -> el x)  -- | Build a 3D transformation matrix in homogeneous coordinates from --   a 'Transformation V3'.
src/Diagrams/TwoD/Arrow.hs view
@@ -401,7 +401,7 @@     -- uniformly as the transformation applied to the entire arrow.     -- See https://github.com/diagrams/diagrams-lib/issues/112.     delayedArrow da g n =-      let (trans, globalSty) = option mempty untangle . fst $ da+      let (trans, globalSty) = maybe mempty untangle . fst $ da       in  dArrow globalSty trans len g n      -- Build an arrow and set its endpoints to the image under tr of origin and (len,0).
src/Diagrams/TwoD/Image.hs view
@@ -38,6 +38,7 @@ import           Codec.Picture  import           Data.Colour          (AlphaColour)+import           Data.Kind            (Type) import           Data.Semigroup import           Data.Typeable        (Typeable) @@ -56,12 +57,12 @@  data Embedded deriving Typeable data External deriving Typeable-data Native (t :: *) deriving Typeable+data Native (t :: Type) deriving Typeable  -- | 'ImageData' is either a JuicyPixels @DynamicImage@ tagged as 'Embedded' or --   a reference tagged as 'External'. Additionally 'Native' is provided for --   external libraries to hook into.-data ImageData :: * -> * where+data ImageData :: Type -> Type where   ImageRaster :: DynamicImage -> ImageData Embedded   ImageRef    :: FilePath -> ImageData External   ImageNative :: t -> ImageData (Native t)@@ -71,7 +72,7 @@ --   Will typically be created by @loadImageEmb@ or @loadImageExt@ which, --   will handle setting the width and height to the actual width and height --   of the image.-data DImage :: * -> * -> * where+data DImage :: Type -> Type -> Type where   DImage :: ImageData t -> Int -> Int -> Transformation V2 n -> DImage n t   deriving Typeable 
src/Diagrams/TwoD/Transform.hs view
@@ -98,7 +98,7 @@ -- @ rotated :: (InSpace V2 n a, Floating n, SameSpace a b, Transformable a, Transformable b)         => Angle n -> Iso a b a b-rotated = transformed . rotation+rotated a = transformed $ rotation a  -- | @rotationAbout p@ is a rotation about the point @p@ (instead of --   around the local origin).