Hoogle Search

Within LTS Haskell 24.67 (ghc-9.10.3)

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

  1. GetNumCapabilities :: Int -> ThreadAction

    dejafu Test.DejaFu.Types

    Get the number of Haskell threads that can run simultaneously.

  2. SetNumCapabilities :: Int -> ThreadAction

    dejafu Test.DejaFu.Types

    Set the number of Haskell threads that can run simultaneously.

  3. WillGetNumCapabilities :: Lookahead

    dejafu Test.DejaFu.Types

    Will get the number of Haskell threads that can run simultaneously.

  4. WillSetNumCapabilities :: Int -> Lookahead

    dejafu Test.DejaFu.Types

    Will set the number of Haskell threads that can run simultaneously.

  5. data FileOrNumericHost

    dns Network.DNS.Resolver

    The type to specify a cache server.

  6. SequenceNumberMismatch :: DNSError

    dns Network.DNS.Types

    The sequence number of the answer doesn't match our query. This could indicate foul play.

  7. rrsigNumLabels :: RD_RRSIG -> !Word8

    dns Network.DNS.Types

    Number of labels signed

  8. package enum-text

    A text rendering and parsing toolkit for enumerated types A text rendering and parsing toolkit for enumerated types. Please see the README on GitHub at https://github.com/cdornan/enum-text#readme

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

    enum-text Text.Enum.Text

    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
    

  10. data EnumTextConfig

    enum-text Text.Enum.Text

    Configures the default implementation of renderEnumText

Page 348 of many | Previous | Next