Hoogle Search

Within LTS Haskell 24.4 (ghc-9.10.2)

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. LuAsWithDefault :: FieldName -> Text -> LookupFields

    hvega Graphics.Vega.VegaLite

    Create a single name for all the fields in the secondary data source, but the second parameter gives the default value for when the lookup fails.

  10. LuFieldsAsWithDefault :: [(FieldName, FieldName)] -> Text -> LookupFields

    hvega Graphics.Vega.VegaLite

    Allow fields to be renamed and provide a default for when the lookup fails.

Page 10 of many | Previous | Next