You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/Data/DocRecord.hs:322:67: error:
• Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
with: HM.HashMap T.Text Value
Expected: HM.HashMap T.Text Value
Actual: Object
• In the second argument of ‘HM.lookup’, namely ‘o’
In the second argument of ‘($)’, namely ‘HM.lookup p o’
In the expression: jsonAtPath ps f $ HM.lookup p o
|
322 | Just (Object o) -> (o, jsonAtPath ps f $ HM.lookup p o)
| ^
src/Data/DocRecord.hs:323:27: error:
• Couldn't match type: HM.HashMap k0 v0
with: Data.Aeson.KeyMap.KeyMap Value
Expected: Object
Actual: HM.HashMap k0 v0
• In the expression: HM.empty
In the expression:
(HM.empty, jsonAtPath ps f $ Just $ Object HM.empty)
In a case alternative:
_ -> (HM.empty, jsonAtPath ps f $ Just $ Object HM.empty)
|
323 | _ -> (HM.empty, jsonAtPath ps f $ Just $ Object HM.empty)
| ^^^^^^^^
src/Data/DocRecord.hs:323:69: error:
• Couldn't match type: HM.HashMap k1 v1
with: Data.Aeson.KeyMap.KeyMap Value
Expected: Object
Actual: HM.HashMap k1 v1
• In the first argument of ‘Object’, namely ‘HM.empty’
In the second argument of ‘($)’, namely ‘Object HM.empty’
In the second argument of ‘($)’, namely ‘Just $ Object HM.empty’
|
323 | _ -> (HM.empty, jsonAtPath ps f $ Just $ Object HM.empty)
| ^^^^^^^^
src/Data/DocRecord.hs:324:40: error:
• Couldn't match type: HM.HashMap T.Text v2
with: Data.Aeson.KeyMap.KeyMap Value
Expected: Object
Actual: HM.HashMap T.Text v2
• In the second argument of ‘($)’, namely ‘HM.delete p obj’
In the second argument of ‘($)’, namely ‘Object $ HM.delete p obj’
In the expression: Just $ Object $ HM.delete p obj
|
324 | rebuild Nothing = Just $ Object $ HM.delete p obj
| ^^^^^^^^^^^^^^^
src/Data/DocRecord.hs:324:52: error:
• Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
with: HM.HashMap T.Text v2
Expected: HM.HashMap T.Text v2
Actual: Object
• In the second argument of ‘HM.delete’, namely ‘obj’
In the second argument of ‘($)’, namely ‘HM.delete p obj’
In the second argument of ‘($)’, namely ‘Object $ HM.delete p obj’
|
324 | rebuild Nothing = Just $ Object $ HM.delete p obj
| ^^^
src/Data/DocRecord.hs:325:40: error:
• Couldn't match type: HM.HashMap T.Text Value
with: Data.Aeson.KeyMap.KeyMap Value
Expected: Object
Actual: HM.HashMap T.Text Value
• In the second argument of ‘($)’, namely ‘HM.insert p v obj’
In the second argument of ‘($)’, namely
‘Object $ HM.insert p v obj’
In the expression: Just $ Object $ HM.insert p v obj
|
325 | rebuild (Just v) = Just $ Object $ HM.insert p v obj
| ^^^^^^^^^^^^^^^^^
src/Data/DocRecord.hs:325:54: error:
• Couldn't match type: Data.Aeson.KeyMap.KeyMap Value
with: HM.HashMap T.Text Value
Expected: HM.HashMap T.Text Value
Actual: Object
• In the third argument of ‘HM.insert’, namely ‘obj’
In the second argument of ‘($)’, namely ‘HM.insert p v obj’
In the second argument of ‘($)’, namely
‘Object $ HM.insert p v obj’
|
325 | rebuild (Just v) = Just $ Object $ HM.insert p v obj
| ^^^
cabal: Failed to build docrecords-0.1.0.0.
The text was updated successfully, but these errors were encountered:
#86 probably fixes this for docrecords. But there are issues with the build system, the current repository is not really representative of what Porcupine currently is internally to Nova Discovery's codebase, @YPares tells me. I'll leave it to him to handle the rest of this conversation
In fact, because Nova Discovery is now the main maintainer of Porcupine, I will transfer the repository to @YPares so the he can best concretise what the future of the open-sourced Porcupine that he envisions.
The text was updated successfully, but these errors were encountered: