I found the repository graknLabs/grakn-haskell on GitHub.
However, I am having two problems with it:
- stack install grakn throws a build error (see code below)
- the library seems to be for version 1.0.0 but the current GRAKN version is version 1.4.2
Is there any version of this library for the current GRAKN version? And if not: Is this repository useable with the current GRAKN version?
Is this build error known? And if so, how do I resolve it?
Thanks very much for your help
the error occurring when building grakn-haskell
/tmp/stack9176/grakn-0.3.0/src/Grakn/Client.hs:83:53: error: • Couldn't match expected type ‘ClientEnv’ with actual type ‘Maybe (GHC.Conc.Sync.TVar http-client-0.5.13.1:Network.HTTP.Client.Types.CookieJar) -> ClientEnv’ • Probable cause: ‘env’ is applied to too few arguments In the second argument of ‘runClientM’, namely ‘env’ In a stmt of a 'do' block: runClientM (graqlGet opts (queryString query) ks) env In the expression: do manager <- newManager defaultManagerSettings let env = ClientEnv manager u runClientM (graqlGet opts (queryString query) ks) env | 83 | runClientM (graqlGet opts (queryString query) ks) env |