hi,
try it this way:
http://gist.github.com/501951
note the type annotations and the added req param include_docs=true for
getAllDocs.
the first error is created by ghci, since it dont know the specific type
Database.CouchDB :t runCouchDB' $ getDoc (db test) (doc xyz)
runCouchDB' $ getDoc
Hello,
I'm currently learning Haskell and I want to write a small tool to
collect some data in a CouchDB-Database
Sadly, the Database.CouchDB module from hackage (and from git) seems
broken. It looks like a bug deep in the JSON handling of the lib.
Some examples can be found in this gist: