dhall-ansible
dhall-ansible copied to clipboard
build fails when lifting the limit on base < 15
I wanted to try a conversion of ansible to dhall, but failed to install. could you update the package to run with current ghc? base < 15 is low and when I lifted it I got an error
Main.hs:160:40: error: [GHC-83865]
• Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
with: HashMap k0 Value
Expected: HashMap k0 Value
Actual: Object
• In the first argument of ‘HM.elems’, namely ‘v’
In the expression: HM.elems v
In the expression:
case HM.elems v of
[v']
-> case v' of
Object obj -> do ...
_ -> empty
_ -> empty
|
160 | parseJSON (Object v) = case HM.elems v of
| ^
I would also appreciate I if you could give an example how to use it with a compiled and installed version of the code...
Thank you andrew