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. whenMaybe :: Applicative m => Bool -> m a -> m (Maybe a)

    rattletrap Rattletrap.Utility.Monad

    No documentation available.

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

    rawfilepath Data.ByteString.RawFilePath

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

    0 <= n < length bs
    

  3. decodeMaybeOf :: Typeable a => Typed (Decoder a -> Decoder (Maybe a))

    registry-aeson Data.Registry.Aeson.Decoder

    Add a Maybe (Decoder a) to a registry of decoders usage: decoders = decodeMaybeOf @a <: otherDecoders the list of otherDecoders must contain a Decoder a otherwise there will be a compilation error

  4. encodeMaybeOf :: Typeable a => Typed (Encoder a -> Encoder (Maybe a))

    registry-aeson Data.Registry.Aeson.Encoder

    Create an Encoder for a (Maybe a)

  5. arithMaybeD :: forall r (s :: Nat) p . Arith (Decimal r s p) -> Maybe (Decimal r s p)

    safe-decimal Numeric.Decimal

    A version of arithD that converts to Maybe

    >>> import Numeric.Decimal
    
    >>> :set -XTypeApplications
    
    >>> arithMaybeD @RoundDown @3 @Word (1.1 + 123)
    Just 124.100
    
    >>> arithMaybeD @RoundDown @3 @Word (1.1 - 123)
    Nothing
    

  6. arithMaybe :: Arith a -> Maybe a

    safe-decimal Numeric.Decimal.BoundedArithmetic

    A version of arithM restricted to Maybe

  7. parseMaybe :: (a -> Parser b) -> a -> Maybe b

    safe-json Data.Aeson.Safe

    Run a Parser with a Maybe result type.

  8. elmListOfMaybes :: [Doc] -> Doc

    servant-elm Servant.Elm.Internal.Generate

    No documentation available.

  9. isElmListOfMaybeBoolType :: EType -> Bool

    servant-elm Servant.Elm.Internal.Generate

    No documentation available.

  10. isElmMaybeStringType :: ElmOptions -> EType -> Bool

    servant-elm Servant.Elm.Internal.Generate

    Determines whether a type is 'Maybe a' where a is something akin to a String.

Page 289 of many | Previous | Next