dimensional icon indicating copy to clipboard operation
dimensional copied to clipboard

To/FromJSON instance

Open picca opened this issue 7 years ago • 2 comments

It would be great if we could serialize unserialize via Aeson dimensionnal values.

for now we have this.

• No instance for (FromJSON
                     (dimensional-1.0.1.3:Numeric.Units.Dimensional.Internal.Dimensional
                        'Numeric.Units.Dimensional.Variants.DQuantity
                        Numeric.Units.Dimensional.Dimensions.TypeLevel.DLength
                        Double))
    arising from a use of ‘aeson-1.2.4.0:Data.Aeson.Types.FromJSON.$dmparseJSON’

thanks for considering

picca avatar Aug 31 '18 09:08 picca

I have no objections but would appreciate a patch if you want it sooner rather than later (I guess it already is “later” – sorry). I'm thinking it will have to rely on Numeric.Units.Dimensional.Dynamic and should probably go in dimensional-dk-experimental or a package of its own.

bjornbm avatar Nov 08 '18 19:11 bjornbm