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. optionalFieldWithDefaultWith' :: Text -> JSONCodec output -> output -> ObjectCodec output output

    autodocodec Autodocodec

    Like optionalFieldWithDefaultWith, but without documentation.

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

    autodocodec Autodocodec.Class

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

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

    autodocodec Autodocodec.Class

    Like optionalFieldOrNullWithDefault, but without documentation

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

    autodocodec Autodocodec.Class

    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.

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

    autodocodec Autodocodec.Class

    Like optionalFieldWithDefault, but without documentation

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

    autodocodec Autodocodec.Codec

    No documentation available.

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

    autodocodec Autodocodec.Codec

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

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

    autodocodec Autodocodec.Codec

    Like optionalFieldOrNullWithDefaultWith, but without documentation.

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

    autodocodec Autodocodec.Codec

    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.

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

    autodocodec Autodocodec.Codec

    Like optionalFieldWithDefaultWith, but without documentation.

Page 6 of many | Previous | Next