Hoogle Search

Within LTS Haskell 24.41 (ghc-9.10.3)

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

  1. data SystemID

    unix-compat System.PosixCompat.Unistd

    No documentation available.

  2. SystemID :: String -> String -> String -> String -> String -> SystemID

    unix-compat System.PosixCompat.Unistd

    No documentation available.

  3. getSystemID :: IO SystemID

    unix-compat System.PosixCompat.Unistd

    No documentation available.

  4. package void

    A Haskell 98 logically uninhabited data type A Haskell 98 logically uninhabited data type, used to indicate that a given term should not exist.

  5. void :: Functor f => f a -> f ()

    pipes Pipes

    void value discards or ignores the result of evaluation, such as the return value of an IO action.

    Examples

    Replace the contents of a Maybe Int with unit:
    >>> void Nothing
    Nothing
    
    >>> void (Just 3)
    Just ()
    
    Replace the contents of an Either Int Int with unit, resulting in an Either Int ():
    >>> void (Left 8675309)
    Left 8675309
    
    >>> void (Right 8675309)
    Right ()
    
    Replace every element of a list with unit:
    >>> void [1,2,3]
    [(),(),()]
    
    Replace the second element of a pair with unit:
    >>> void (1,2)
    (1,())
    
    Discard the result of an IO action:
    >>> mapM print [1,2]
    1
    2
    [(),()]
    
    >>> void $ mapM print [1,2]
    1
    2
    

  6. groupHidden :: Group a -> [a]

    cmdargs System.Console.CmdArgs.Explicit

    Items that are hidden (not displayed in the help message).

  7. package genvalidity-hspec

    Standard spec's for GenValidity instances Note: There are companion packages for this library:

  8. module Test.Validity

    To use the Spec functions in this module, you will need TypeApplications. The most interesting functions in this module for most uses are:

  9. arbitraryGeneratesOnlyValid :: (Show a, Validity a, Arbitrary a) => Property

    genvalidity-hspec Test.Validity

    arbitrary only generates valid data

    arbitraryGeneratesOnlyValid @Int
    

  10. forAllValid :: (Show a, GenValid a, Testable prop) => (a -> prop) -> Property

    genvalidity-hspec Test.Validity

    No documentation available.

Page 614 of many | Previous | Next