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. maybeNullConvert :: Type -> CodeGen e (Maybe Text)

    haskell-gi Data.GI.CodeGen.Conversions

    If the passed in type is nullable, return the conversion function between the FFI pointer type (may be a Ptr or a FunPtr) and the corresponding Maybe type.

  2. maybeT :: TypeRep -> TypeRep

    haskell-gi Data.GI.CodeGen.Type

    Embed in the Maybe monad.

  3. mayBeNull :: Arg -> Bool

    haskell-gi Data.GI.GIR.Arg

    No documentation available.

  4. maybeAuthorized :: Yesod site => Route site -> Bool -> HandlerT site IO (Maybe (Route site))

    yesod-core Yesod.Core

    Return the same URL if the user is authorized to see it. Built on top of isAuthorized. This is useful for building page that only contain links to pages the user is allowed to see.

  5. maybeCryptoError :: CryptoFailable a -> Maybe a

    cryptonite Crypto.Error

    Transform a CryptoFailable to a Maybe

  6. maybeTagText :: Tag str -> Maybe str

    tagsoup Text.HTML.TagSoup

    Extract the string from within TagText, otherwise Nothing

  7. maybeTagWarning :: Tag str -> Maybe str

    tagsoup Text.HTML.TagSoup

    Extract the string from within TagWarning, otherwise Nothing

  8. maybeToList :: Maybe a -> [a]

    strict Data.Strict.Maybe

    Analogous to maybeToList in Data.Maybe.

  9. maybeCodec :: ValueCodec input output -> ValueCodec (Maybe input) (Maybe output)

    autodocodec Autodocodec

    Maybe codec This can be used to also allow null during decoding of a Maybe value. During decoding, also accept a null value as Nothing. During encoding, encode as usual.

    Example usage

    >>> toJSONVia (maybeCodec codec) (Just 'a')
    String "a"
    
    >>> toJSONVia (maybeCodec codec) (Nothing :: Maybe Char)
    Null
    

  10. maybeCodec :: ValueCodec input output -> ValueCodec (Maybe input) (Maybe output)

    autodocodec Autodocodec.Codec

    Maybe codec This can be used to also allow null during decoding of a Maybe value. During decoding, also accept a null value as Nothing. During encoding, encode as usual.

    Example usage

    >>> toJSONVia (maybeCodec codec) (Just 'a')
    String "a"
    
    >>> toJSONVia (maybeCodec codec) (Nothing :: Maybe Char)
    Null
    

Page 37 of many | Previous | Next