Hoogle Search

Within LTS Haskell 24.6 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

  1. class Enum a => Enumerable a

    streamly Streamly.Prelude

    Types that can be enumerated as a stream. The operations in this type class are equivalent to those in the Enum type class, except that these generate a stream instead of a list. Use the functions in Streamly.Internal.Data.Stream.Enumeration module to define new instances.

  2. class Enumerable a

    tidal Sound.Tidal.Boot

    No documentation available.

  3. newtype EnumRep rep a

    unboxing-vector Data.Vector.Unboxing

    A newtype wrapper to be used with DerivingVia. Usage:

    data Direction = North | South | East | West
    deriving Enum
    deriving Data.Vector.Unboxing.Unboxable via Data.Vector.Unboxing.EnumRep Int8 Bar
    

  4. EnumRep :: a -> EnumRep rep a

    unboxing-vector Data.Vector.Unboxing

    No documentation available.

  5. newtype EnumRep rep a

    unboxing-vector Data.Vector.Unboxing.Mutable

    A newtype wrapper to be used with DerivingVia. Usage:

    data Direction = North | South | East | West
    deriving Enum
    deriving Data.Vector.Unboxing.Unboxable via Data.Vector.Unboxing.EnumRep Int8 Bar
    

  6. EnumRep :: a -> EnumRep rep a

    unboxing-vector Data.Vector.Unboxing.Mutable

    No documentation available.

  7. module Bindings.Yoga.Enums

    No documentation available.

  8. class (Buildable e, Bounded e, Enum e, Eq e, Ord e, Show e, TextParsable e) => EnumText e

    columnar Text.Columnar

    Our toolkit for enumerated types which should be defined as follows:

    import Fmt
    import Text.Enum.Text
    
    data Foo = FOO_bar | FOO_bar_baz
    deriving (Bounded,Enum,Eq,Ord,Show)
    
    instance EnumText     Foo
    instance Buildable    Foo where build     = buildEnumText
    instance TextParsable Foo where parseText = parseEnumText
    
    With the DeriveAnyClass language extension you can list EnumText in the deriving clause, and with DerivingVia (available from GHC 8.6.1) you can derive via UsingEnumText as follows:
    {-# LANGUAGE DeriveAnyClass    #-}
    {-# LANGUAGE DerivingVia       #-}
    
    import Fmt
    import Text.Enum.Text
    
    data Foo = FOO_bar | FOO_bar_baz
    deriving (Bounded,Enum,EnumText,Eq,Ord,Show)
    deriving (Buildable,TextParsable) via UsingEnumText Foo
    

  9. data EnumTextConfig

    columnar Text.Columnar

    Configures the default implementation of renderEnumText

  10. EnumTextConfig :: (Text -> Text) -> (Char -> Char) -> EnumTextConfig

    columnar Text.Columnar

    No documentation available.

Page 31 of many | Previous | Next