aeson-default-0.9.1.0: Apply default value to FromJSON instacnes' Maybe fields

Safe HaskellSafe
LanguageHaskell2010

Data.Aeson.Default.HKD

Synopsis
  • type family HKD a f where ...

Documentation

type family HKD a f where ... Source #

Wrap a datatype as higer-kind data.

Using the HKD type family means that GHC will automatically erase any Identity wrappers in our representations.

Equations

HKD a Identity = a 
HKD a f = f a