Skip to content

Commit

Permalink
Add Annotated decoder for PParams
Browse files Browse the repository at this point in the history
This will be used for future eras.
  • Loading branch information
nc6 committed Mar 2, 2021
1 parent 1eebf4d commit 1ffc22e
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -44,7 +44,13 @@ import Control.DeepSeq (NFData)
import Control.Monad (unless)
import Data.Aeson (FromJSON (..), ToJSON (..), (.!=), (.:), (.:?), (.=))
import qualified Data.Aeson as Aeson
import Data.Coders (Annotator, Decode (Ann, Emit, From, RecD), decode, mapDecodeA, (<*!))
import Data.Coders
( Annotator,
Decode (Ann, Emit, From, RecD),
decode,
mapDecodeA,
(<*!),
)
import Data.Default.Class (Default, def)
import Data.Foldable (fold)
import Data.Functor.Identity (Identity)
Expand Down

0 comments on commit 1ffc22e

Please sign in to comment.