Hoogle Search

Within LTS Haskell 24.3 (ghc-9.10.2)

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

  1. findWithDefault :: Enum key => a -> key -> EnumMap key a -> a

    regex-tdfa Data.IntMap.EnumMap2

    No documentation available.

  2. findWithDefault :: IsMap map => MapValue map -> ContainerKey map -> map -> MapValue map

    mono-traversable Data.Containers

    Like lookup, but uses a default value when the key does not exist in the map.

  3. OptionalKeyWithDefaultCodec :: forall output input . Coercible output input => Text -> ValueCodec input input -> input -> Maybe Text -> Codec (KeyMap Value) input output

    autodocodec Autodocodec

    No documentation available.

  4. optionalFieldOrNullWithDefault :: (Eq output, HasCodec output) => Text -> output -> Text -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldOrNull, but also interpret null as the default value.

  5. optionalFieldOrNullWithDefault' :: (Eq output, HasCodec output) => Text -> output -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldOrNullWithDefault, but without documentation

  6. optionalFieldOrNullWithDefaultWith :: Eq output => Text -> JSONCodec output -> output -> Text -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldWithDefaultWith, but also interpret null as the default value.

  7. optionalFieldOrNullWithDefaultWith' :: Eq output => Text -> JSONCodec output -> output -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldOrNullWithDefaultWith, but without documentation.

  8. optionalFieldWithDefault :: HasCodec output => Text -> output -> Text -> ObjectCodec output output

    autodocodec Autodocodec

    An optional field with a default value During decoding, the field may be in the object. The default value will be parsed otherwise. During encoding, the field will be in the object. The default value is ignored. The shown version of the default value will appear in the documentation.

  9. optionalFieldWithDefault' :: HasCodec output => Text -> output -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldWithDefault, but without documentation

  10. optionalFieldWithDefaultWith :: Text -> JSONCodec output -> output -> Text -> ObjectCodec output output

    autodocodec Autodocodec

    An optional field with default value During decoding, the field may be in the object. The default value will be parsed otherwise. During encoding, the field will always be in the object. The default value is ignored. The shown version of the default value will appear in the documentation.

Page 5 of many | Previous | Next