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. mapOutputMaybe :: forall (m :: Type -> Type) o1 o2 i r . Monad m => (o1 -> Maybe o2) -> ConduitT i o1 m r -> ConduitT i o2 m r

    classy-prelude-conduit ClassyPrelude.Conduit

    Same as mapOutput, but use a function that returns Maybe values. Since 0.5.0

  2. runMaybeC :: forall (m :: Type -> Type) i o r . Monad m => ConduitT i o (MaybeT m) r -> ConduitT i o m (Maybe r)

    classy-prelude-conduit ClassyPrelude.Conduit

    Run MaybeT in the base monad Since 1.0.11

  3. fromMaybe :: forall c (f :: Type -> Type) a . c -> Colonnade f a c -> Colonnade f (Maybe a) c

    colonnade Colonnade

    Lift a column over a Maybe. For example, if some people have houses and some do not, the data that pairs them together could be represented as:

    >>> :{
    let owners :: [(Person,Maybe House)]
    owners =
    [ (Person "Jordan" 18, Nothing)
    , (Person "Ruth" 25, Just (House Red 125000))
    , (Person "Sonia" 12, Just (House Green 145000))
    ]
    :}
    
    The column encodings defined earlier can be reused with the help of fromMaybe:
    >>> :{
    let colOwners :: Colonnade Headed (Person,Maybe House) String
    colOwners = mconcat
    [ lmap fst colPerson
    , lmap snd (fromMaybe "" colHouse)
    ]
    :}
    
    >>> putStr (ascii colOwners owners)
    +--------+-----+-------+---------+
    | Name   | Age | Color | Price   |
    +--------+-----+-------+---------+
    | Jordan | 18  |       |         |
    | Ruth   | 25  | Red   | $125000 |
    | Sonia  | 12  | Green | $145000 |
    +--------+-----+-------+---------+
    

  4. chooseUnrankMaybe :: Int -> Int -> Int -> Maybe [Bool]

    combinatorial Combinatorics

    No documentation available.

  5. boundedCountMaybeNext :: (Eq a, Bounded a, Enum a) => Maybe a -> Maybe a

    countable Data.Countable

    No documentation available.

  6. countMaybeNext :: Countable a => Maybe a -> Maybe a

    countable Data.Countable

    No documentation available.

  7. finiteCountMaybeNext :: Finite a => Maybe a -> Maybe a

    countable Data.Searchable

    No documentation available.

  8. CqlMaybe :: Maybe Value -> Value

    cql Database.CQL.Protocol

    No documentation available.

  9. CqlMaybe :: Maybe Value -> Value

    cql Database.CQL.Protocol.Internal

    No documentation available.

  10. decToMaybe :: Dec a -> Maybe a

    dec Data.Type.Dec

    Convert Dec a to Maybe a, forgetting the No evidence.

Page 245 of many | Previous | Next