| Copyright | (c) 2022 Tim Emiola |
|---|---|
| License | BSD3 |
| Maintainer | Tim Emiola <adetokunbo@emio.la> |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
KeyedVals.Handle.Codec.HttpApiData
Contents
Description
Synopsis
- newtype HttpApiDataOf a = HttpApiDataOf {
- fromHttpApiDataOf :: a
newtypes
newtype HttpApiDataOf a Source #
A deriving-via helper type for types that implement DecodeKV and EncodeKV
using FromHttpApiData and ToHttpApiData type classes.
Constructors
| HttpApiDataOf | |
Fields
| |
Instances
| FromHttpApiData a => DecodeKV (HttpApiDataOf a) Source # | |
Defined in KeyedVals.Handle.Codec.HttpApiData | |
| ToHttpApiData a => EncodeKV (HttpApiDataOf a) Source # | |
Defined in KeyedVals.Handle.Codec.HttpApiData Methods encodeKV :: HttpApiDataOf a -> Val Source # | |