Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. enumDec :: Name -> [Name] -> Dec

    th-lego THLego.Helpers

    No documentation available.

  2. enumAccessorIsLabel :: TyLit -> Type -> Name -> Dec

    th-lego THLego.Instances

    No documentation available.

  3. enumConstructorIsLabel :: TyLit -> Type -> Name -> Dec

    th-lego THLego.Instances

    No documentation available.

  4. enumHasField :: TyLit -> Type -> Name -> Dec

    th-lego THLego.Instances

    HasField instance which focuses on a variant of an enum and projects it into Bool signaling whether the value matches. Generates code of the following pattern:

    instance HasField "fieldLabel" enumType Bool
    

  5. enumConstructorToBool :: Name -> Exp

    th-lego THLego.Lambdas

    No documentation available.

  6. getNumPorts :: T -> IO Word

    alsa-seq Sound.ALSA.Sequencer.Client.Info

    No documentation available.

  7. getNumPorts :: T Word

    alsa-seq Sound.ALSA.Sequencer.Client.InfoMonad

    No documentation available.

  8. getNumSubs :: T -> IO Word

    alsa-seq Sound.ALSA.Sequencer.Subscribe.Query

    No documentation available.

  9. class Enum a

    basic-prelude CorePrelude

    Class Enum defines operations on sequentially ordered types. The enumFrom... methods are used in Haskell's translation of arithmetic sequences. Instances of Enum may be derived for any enumeration type (types whose constructors have no fields). The nullary constructors are assumed to be numbered left-to-right by fromEnum from 0 through n-1. See Chapter 10 of the Haskell Report for more details. For any type that is an instance of class Bounded as well as Enum, the following should hold:

    enumFrom     x   = enumFromTo     x maxBound
    enumFromThen x y = enumFromThenTo x y bound
    where
    bound | fromEnum y >= fromEnum x = maxBound
    | otherwise                = minBound
    

  10. enumFrom :: Enum a => a -> [a]

    basic-prelude CorePrelude

    Used in Haskell's translation of [n..] with [n..] = enumFrom n, a possible implementation being enumFrom n = n : enumFrom (succ n).

    Examples

    • enumFrom 4 :: [Integer] = [4,5,6,7,...]
    • enumFrom 6 :: [Int] = [6,7,8,9,...,maxBound ::
      Int]

Page 273 of many | Previous | Next