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.
findWithDefault :: Enum key => a -> key -> EnumMap key a -> aregex-tdfa Data.IntMap.EnumMap2 No documentation available.
findWithDefault :: IsMap map => MapValue map -> ContainerKey map -> map -> MapValue mapmono-traversable Data.Containers Like lookup, but uses a default value when the key does not exist in the map.
-
autodocodec Autodocodec No documentation available.
-
autodocodec Autodocodec Like optionalFieldOrNull, but also interpret null as the default value.
-
autodocodec Autodocodec Like optionalFieldOrNullWithDefault, but without documentation
-
autodocodec Autodocodec Like optionalFieldWithDefaultWith, but also interpret null as the default value.
-
autodocodec Autodocodec Like optionalFieldOrNullWithDefaultWith, but without documentation.
optionalFieldWithDefault :: HasCodec output => Text -> output -> Text -> ObjectCodec output outputautodocodec 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.
optionalFieldWithDefault' :: HasCodec output => Text -> output -> ObjectCodec output outputautodocodec Autodocodec Like optionalFieldWithDefault, but without documentation
-
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.