Normalize in the Lift instance#85
Conversation
Normalizing in the `Lift` instance can reduce normalization work in generated splices.
|
I'm not sure about this. So I'm hesitant merging this (and also making a release of |
|
@phadej my impression was that normalization wasn't supposed to change meaning. Was that wrong? |
|
@treeowl It does change some "meaning", as Prelude Data.Aeson Data.Scientific> encode $ scientific 100 (-2)
"1.0"
Prelude Data.Aeson Data.Scientific> encode $ normalize $ scientific 100 (-2)
"1"If Therefore I didn't proceed further with always normalized TL;DR normalizing in |
Normalizing in the
Liftinstance can reduce normalization work in generated splices.