Hoogle Search

Within LTS Haskell 24.33 (ghc-9.10.3)

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

  1. fromNumber :: C a => a -> T a

    non-negative Numeric.NonNegative.Chunky

    No documentation available.

  2. toNumber :: C a => T a -> a

    non-negative Numeric.NonNegative.Chunky

    No documentation available.

  3. fromNumber :: (Ord a, Num a) => a -> T a

    non-negative Numeric.NonNegative.Wrapper

    Convert a number to a non-negative number. If a negative number is given, an error is raised.

  4. fromNumberClip :: (Ord a, Num a) => a -> T a

    non-negative Numeric.NonNegative.Wrapper

    Convert a number to a non-negative number. A negative number will be replaced by zero. Use this function with care since it may hide bugs.

  5. fromNumberMsg :: (Ord a, Num a) => String -> a -> T a

    non-negative Numeric.NonNegative.Wrapper

    No documentation available.

  6. fromNumberUnsafe :: a -> T a

    non-negative Numeric.NonNegative.Wrapper

    Wrap a number into a non-negative number without doing checks. This routine exists entirely for efficiency reasons and must be used only in cases where you are absolutely sure, that the input number is non-negative.

  7. toNumber :: T a -> a

    non-negative Numeric.NonNegative.Wrapper

    No documentation available.

  8. boundedEnumLaws :: (Enum a, Bounded a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

    quickcheck-classes-base Test.QuickCheck.Classes.Base

    Tests the same properties as enumLaws except that it requires the type to have a Bounded instance. These tests avoid taking the successor of the maximum element or the predecessor of the minimal element.

  9. enumLaws :: (Enum a, Eq a, Arbitrary a, Show a) => Proxy a -> Laws

    quickcheck-classes-base Test.QuickCheck.Classes.Base

    Tests the following properties:

    This only works for Enum types that are not bounded, meaning that succ and pred must be total. This means that these property tests work correctly for types like Integer but not for Int. Sadly, there is not a good way to test fromEnum and toEnum, since many types that have reasonable implementations for succ and pred have more inhabitants than Int does.

  10. type C_DBusSubtreeEnumerateFunc = Ptr DBusConnection -> CString -> CString -> Ptr () -> IO Ptr CString

    gi-gio GI.Gio.Callbacks

    Type for the callback on the (unwrapped) C side.

Page 196 of many | Previous | Next