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.

  1. makeFieldsId :: Name -> DecsQ

    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 ''Bar
    
    will create classes
    class HasX s a | s -> a where
    x :: Lens' s a
    class HasY s a | s -> a where
    y :: Lens' s a
    
    together with instances
    instance HasX (Foo a) Int
    instance HasY (Foo a) a where
    instance HasX Bar Char where
    
    makeFieldsId = makeLensesWith classIdFields
    

  2. mediumorchid :: (Ord a, Floating a) => Colour a

    diagrams-lib Diagrams.Prelude

    No documentation available.

  3. midnightblue :: (Ord a, Floating a) => Colour a

    diagrams-lib Diagrams.Prelude

    No documentation available.

  4. orchid :: (Ord a, Floating a) => Colour a

    diagrams-lib Diagrams.Prelude

    No documentation available.

  5. runIdentity :: Identity a -> a

    diagrams-lib Diagrams.Prelude

    No documentation available.

  6. _orthoWidth :: OrthoLens n -> n

    diagrams-lib Diagrams.ThreeD.Camera

    Width

  7. mm50Wide :: Floating n => PerspectiveLens n

    diagrams-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.

  8. orthoWidth :: forall n f . Functor f => (n -> f n) -> OrthoLens n -> f (OrthoLens n)

    diagrams-lib Diagrams.ThreeD.Camera

    No documentation available.

  9. CsgEllipsoid :: Ellipsoid n -> CSG n

    diagrams-lib Diagrams.ThreeD.Shapes

    No documentation available.

  10. data Ellipsoid n

    diagrams-lib Diagrams.ThreeD.Shapes

    No documentation available.

Page 695 of many | Previous | Next