Hoogle Search

Within LTS Haskell 24.36 (ghc-9.10.3)

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

  1. documentGetCurrentPageNumber :: (HasCallStack, MonadIO m, IsDocument a) => a -> m Int32

    gi-atk GI.Atk.Interfaces.Document

    Retrieves the current page number inside document. Since: 2.12

  2. constructDeviceNumTouches :: (IsDevice o, MonadIO m) => Word32 -> m (GValueConstruct o)

    gi-gdk3 GI.Gdk.Objects.Device

    Construct a GValueConstruct with valid value for the “num-touches” property. This is rarely needed directly, but it is used by new.

  3. getDeviceNumTouches :: (MonadIO m, IsDevice o) => o -> m Word32

    gi-gdk3 GI.Gdk.Objects.Device

    Get the value of the “num-touches” property. When overloading is enabled, this is equivalent to

    get device #numTouches
    

  4. mutableNumericFloatSpec :: (NumericFloat r Float, Manifest r Float, Arbitrary (Vector r Float), Arbitrary (Matrix r Float), Show (Vector r Float), Show (Matrix r Float), Eq (Matrix r Float), NumericFloat r Double, Manifest r Double, Arbitrary (Vector r Double), Arbitrary (Matrix r Double), Show (Vector r Double), Show (Matrix r Double), Eq (Matrix r Double)) => Spec

    massiv-test Test.Massiv.Array.Numeric

    No documentation available.

  5. mutableNumericSpec :: (Numeric r e, Manifest r e, Load r Ix1 e, Load r Ix2 e, Eq e, Show e, Function e, CoArbitrary e, Arbitrary e, Arbitrary (Matrix r e), Arbitrary (Vector r e), Show (Matrix r e), Eq (Matrix r e), Show (Vector r e), Eq (Vector r e)) => Spec

    massiv-test Test.Massiv.Array.Numeric

    No documentation available.

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

    massiv-test Test.Massiv.Utils

    Generates an element of a bounded enumeration.

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

    massiv-test Test.Massiv.Utils

    A fast implementation of choose for enumerated types.

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

    massiv-test Test.Massiv.Utils

    A coarbitrary implementation for enums.

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

    massiv-test Test.Massiv.Utils

    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
    []
    

  10. fromEnum :: Enum a => a -> Int

    prelude-compat Prelude2010

    Convert to an Int. It is implementation-dependent what fromEnum returns when applied to a value that is too large to fit in an Int.

Page 158 of many | Previous | Next