Hoogle Search

Within LTS Haskell 24.46 (ghc-9.10.3)

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

  1. type FormatNumericPadding = Maybe Char

    time Data.Time.Format.Internal

    No documentation available.

  2. data ParseNumericPadding

    time Data.Time.Format.Internal

    No documentation available.

  3. formatNumber :: ShowPadded i => Bool -> Int -> Char -> (t -> i) -> FormatOptions -> t -> String

    time Data.Time.Format.Internal

    No documentation available.

  4. formatNumberStd :: Int -> (t -> Integer) -> FormatOptions -> t -> String

    time Data.Time.Format.Internal

    No documentation available.

  5. TkNumber :: Number -> k -> Tokens k e

    aeson Data.Aeson.Decoding.Tokens

    No documentation available.

  6. arbitraryBoundedEnum :: (Bounded a, Enum a) => Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

    Generates an element of a bounded enumeration.

  7. chooseEnum :: Enum a => (a, a) -> Gen a

    tasty-quickcheck Test.Tasty.QuickCheck

    A fast implementation of choose for enumerated types.

  8. coarbitraryEnum :: Enum a => a -> Gen b -> Gen b

    tasty-quickcheck Test.Tasty.QuickCheck

    A coarbitrary implementation for enums.

  9. functionBoundedEnum :: (Eq a, Bounded a, Enum a) => (a -> b) -> a :-> b

    tasty-quickcheck Test.Tasty.QuickCheck

    Provides a Function instance for types with Bounded and Enum. Use only for small types (i.e. not integers): creates the list [minBound..maxBound]!

  10. shrinkBoundedEnum :: (Bounded a, Enum a, Eq a) => a -> [a]

    tasty-quickcheck Test.Tasty.QuickCheck

    Shrink an element of a bounded enumeration.

    Example

    data MyEnum = E0 | E1 | E2 | E3 | E4 | E5 | E6 | E7 | E8 | E9
    deriving (Bounded, Enum, Eq, Ord, Show)
    
    >>> shrinkBoundedEnum E9
    [E0,E5,E7,E8]
    
    >>> shrinkBoundedEnum E5
    [E0,E3,E4]
    
    >>> shrinkBoundedEnum E0
    []
    

Page 149 of many | Previous | Next