Hoogle Search

Within LTS Haskell 24.50 (ghc-9.10.3)

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

  1. numbers :: Num a => [[a]]

    combinatorial Combinatorics.Permutation.WithoutSomeFixpoints

    http://oeis.org/A047920

    QC.forAll genPermutationWOFP $ \(k,xs) -> PermWOFP.numbers !! length xs !! k == length (PermWOFP.enumerate k xs)
    
    QC.forAll (QC.choose (0,100)) $ \k -> Comb.factorial (toInteger k) == PermWOFP.numbers !! k !! 0
    
    QC.forAll (QC.choose (0,100)) $ \k -> Comb.derangementNumber (toInteger k) == PermWOFP.numbers !! k !! k
    

  2. number :: (Num a, Read a, Typeable a) => Text -> Either String a

    config-ini Data.Ini.Config

    Try to use the Read instance for a numeric type to parse a value, failing with a human-readable error message if reading fails.

    >>> number "5" :: Either String Int
    Right 5
    
    >>> number "hello" :: Either String Int
    Left "Unable to parse \"hello\" as a value of type Int"
    

  3. number :: (Show a, Read a, Num a, Typeable a) => FieldValue a

    config-ini Data.Ini.Config.Bidir

    Represents a numeric field whose value is parsed according to the Read implementation for that type, and is serialized according to the Show implementation for that type.

  4. numberToInteger :: Number -> Maybe Integer

    config-value Config

    Convert a number to a Integer. Warning: This can use a lot of memory in the case of very large exponent parts.

  5. numberToRational :: Number -> Rational

    config-value Config

    Convert a number to a Rational. Warning: This can use a lot of memory in the case of very large exponent parts.

  6. number :: Applicative f => (Number -> f Number) -> Value a -> f (Value a)

    config-value Config.Lens

    Traversal for the Number contained inside the given Value.

  7. numberCoefficient :: Number -> !Rational

    config-value Config.Number

    No documentation available.

  8. numberRadix :: Number -> !Radix

    config-value Config.Number

    No documentation available.

  9. numberToInteger :: Number -> Maybe Integer

    config-value Config.Number

    Convert a number to a Integer. Warning: This can use a lot of memory in the case of very large exponent parts.

  10. numberToRational :: Number -> Rational

    config-value Config.Number

    Convert a number to a Rational. Warning: This can use a lot of memory in the case of very large exponent parts.

Page 89 of many | Previous | Next