Hoogle Search

Within LTS Haskell 24.51 (ghc-9.10.3)

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

  1. minusNaturalMaybe :: Natural -> Natural -> Maybe Natural

    base Numeric.Natural

    Natural subtraction. Returns Nothings for non-positive results.

  2. readMaybe :: Read a => String -> Maybe a

    base Text.Read

    Parse a string using the Read instance. Succeeds if there is exactly one valid result.

    >>> readMaybe "123" :: Maybe Int
    Just 123
    
    >>> readMaybe "hello" :: Maybe Int
    Nothing
    

  3. bitSizeMaybe :: Bits a => a -> Maybe Int

    base GHC.Bits

    Return the number of bits in the type of the argument. The actual value of the argument is ignored. Returns Nothing for types that do not have a fixed bitsize, like Integer.

  4. minusNaturalMaybe :: Natural -> Natural -> Maybe Natural

    base GHC.Natural

    Natural subtraction. Returns Nothings for non-positive results.

  5. naturalToWordMaybe :: Natural -> Maybe Word

    base GHC.Natural

    Try downcasting Natural to Word value. Returns Nothing if value doesn't fit in Word.

  6. naturalToWordMaybe# :: Natural -> (# (# #) | Word# #)

    base GHC.Num

    No documentation available.

  7. indexMaybe :: ByteString -> Int -> Maybe Word8

    bytestring Data.ByteString

    O(1) ByteString index, starting from 0, that returns Just if:

    0 <= n < length bs
    

  8. indexMaybe :: ByteString -> Int -> Maybe Char

    bytestring Data.ByteString.Char8

    O(1) ByteString index, starting from 0, that returns Just if:

    0 <= n < length bs
    

  9. indexMaybe :: ByteString -> Int64 -> Maybe Word8

    bytestring Data.ByteString.Lazy

    O(c) ByteString index, starting from 0, that returns Just if:

    0 <= n < length bs
    

  10. indexMaybe :: ByteString -> Int64 -> Maybe Char

    bytestring Data.ByteString.Lazy.Char8

    O(1) ByteString index, starting from 0, that returns Just if:

    0 <= n < length bs
    

Page 104 of many | Previous | Next