Hoogle Search

Within LTS Haskell 24.31 (ghc-9.10.3)

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

  1. lagWithDefault_ :: (BeamSqlBackend be, BeamSqlT615Backend be, Integral n) => QExpr be s a -> QExpr be s n -> QExpr be s a -> QAgg be s a

    beam-core Database.Beam.Query

    No documentation available.

  2. leadWithDefault_ :: (BeamSqlBackend be, BeamSqlT615Backend be, Integral n) => QExpr be s a -> QExpr be s n -> QExpr be s a -> QAgg be s a

    beam-core Database.Beam.Query

    No documentation available.

  3. findWithDefault :: a -> Int -> MonoidalIntMap a -> a

    monoidal-containers Data.IntMap.Monoidal

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

  4. findWithDefault :: a -> Int -> MonoidalIntMap a -> a

    monoidal-containers Data.IntMap.Monoidal.Strict

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

  5. findWithDefault :: Ord k => a -> k -> MonoidalMap k a -> a

    monoidal-containers Data.Map.Monoidal

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

  6. findWithDefault :: Ord k => a -> k -> MonoidalMap k a -> a

    monoidal-containers Data.Map.Monoidal.Strict

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

  7. findWithDefault :: a -> Key -> NEIntMap a -> a

    nonempty-containers Data.IntMap.NonEmpty

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

    findWithDefault 'x' 1 (fromList ((5,'a') :| [(3,'b')])) == 'x'
    findWithDefault 'x' 5 (fromList ((5,'a') :| [(3,'b')])) == 'a'
    

  8. findWithDefault :: Ord k => a -> k -> NEMap k a -> a

    nonempty-containers Data.Map.NonEmpty

    O(log n). The expression (findWithDefault def k map) returns the value at key k or returns default value def when the key is not in the map.

    findWithDefault 'x' 1 (fromList ((5,'a') :| [(3,'b')])) == 'x'
    findWithDefault 'x' 5 (fromList ((5,'a') :| [(3,'b')])) == 'a'
    

  9. getArgWithDefault :: Arguments -> String -> Option -> String

    docopt System.Console.Docopt

    Same as getArg, but eliminate Nothing with a default argument.

  10. getArgWithDefault :: Arguments -> String -> Option -> String

    docopt System.Console.Docopt.NoTH

    Same as getArg, but eliminate Nothing with a default argument.

Page 10 of many | Previous | Next