hslua-aeson: Use functions from hslua-marshalling
A custom implementation of some functions was used to avoid
stack-overflows, for which previous hslua-marshalling functions did not
check. This has been fixed, so the custom versions are no longer
necessary.
@@ -157,7 +157,7 @@ luaNumberToScientific :: Lua.Number -> Scientific
luaNumberToScientific = fromFloatDigits . (realToFrac :: Lua.Number -> Double)
instance Arbitrary Aeson.Value where
- arbitrary = arbitraryValue 5
+ arbitrary = arbitraryValue 9
#if MIN_VERSION_aeson(2,0,0)
instance Arbitrary Key where
