Hoogle Search
Within LTS Haskell 24.65 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
diagrams-lib Diagrams.Prelude Generate overloaded field accessors, using exactly the same names as the underlying fields. Intended for use with the NoFieldSelectors and DuplicateRecordFields language extensions. As an example:
data Foo a = Foo { x :: Int, y :: a } newtype Bar = Bar { x :: Char } makeFieldsId ''Foo makeFieldsId ''Barwill create classesclass HasX s a | s -> a where x :: Lens' s a class HasY s a | s -> a where y :: Lens' s a
together with instancesinstance HasX (Foo a) Int instance HasY (Foo a) a where instance HasX Bar Char where
makeFieldsId = makeLensesWith classIdFields
mediumorchid :: (Ord a, Floating a) => Colour adiagrams-lib Diagrams.Prelude No documentation available.
midnightblue :: (Ord a, Floating a) => Colour adiagrams-lib Diagrams.Prelude No documentation available.
orchid :: (Ord a, Floating a) => Colour adiagrams-lib Diagrams.Prelude No documentation available.
runIdentity :: Identity a -> adiagrams-lib Diagrams.Prelude No documentation available.
_orthoWidth :: OrthoLens n -> ndiagrams-lib Diagrams.ThreeD.Camera Width
mm50Wide :: Floating n => PerspectiveLens ndiagrams-lib Diagrams.ThreeD.Camera mm50blWide has the same vertical field of view as mm50, but an aspect ratio of 1.6, suitable for wide screen computer monitors.
orthoWidth :: forall n f . Functor f => (n -> f n) -> OrthoLens n -> f (OrthoLens n)diagrams-lib Diagrams.ThreeD.Camera No documentation available.
CsgEllipsoid :: Ellipsoid n -> CSG ndiagrams-lib Diagrams.ThreeD.Shapes No documentation available.
-
diagrams-lib Diagrams.ThreeD.Shapes No documentation available.