úÎ!_cYñ6      !"#$%&'()*+,-./012345NoneW CouchDBTA computation that interacts with a CouchDB database. This monad encapsulates the 6€ monad, a persistent HTTP connnection to a CouchDB database and enough information to re-open the connection if it is closed.CouchDBMDescribes a connection to a CouchDB database. This type is encapsulated by .7CouchDBlogin credentials, if needed.8CouchDB’Send a request to the database. If the connection is closed, it is reopened and the request is resent. On other errors, we raise an exception.CouchDB1Connects to the CouchDB server at localhost:5984.CouchDB>Run a CouchDB computation with an existing CouchDB connection.CouchDB8Create a CouchDB connection for use with runCouchDBWith.9CouchDBVCreate a CouchDB connection with password authentication for use with runCouchDBWith.CouchDBDCreate a CouchDB from an URI connection for use with runCouchDBWith.CouchDB!Closes an open CouchDB connection:CouchDBpath8CouchDBpath of the requestCouchDBdictionary of GET parametersCouchDBbody of the requestCouchDBURI to connectCouchDBhostnameCouchDBportCouchDBhostnameCouchDBport9CouchDBhostnameCouchDBportCouchDBLogin credentialsCouchDB#URI with possible login credentials;<=>?@ABCDEFGHIJ8SafeÓ CouchDB#Extract a field as a value of type a<. If the field does not exist or cannot be parsed as type a, fail.CouchDBK4 when the field is defined and is true. Otherwise, L.  None9ªMCouchDBNCreates a new database. Throws an exception if the database already exists. NCouchDBÌDelete a doc by document identifier (revision number not needed). This operation first retreives the document to get its revision number. It fails if the document doesn't exist or there is a conflict.OCouchDBXGets a document as a raw JSON value. Returns the document id, revision and value as a Pe. These fields are queried lazily, and may fail later if the response from the server is malformed.QCouchDBGets a document as a Maybe String. Returns the raw result of what couchdb returns. Returns Nothing if the doc does not exist.RCouchDBLike Sa, but only returns the keys. Use this for key-only views where the value is completely ignored.TCouchDB$False if the database does not existUCouchDB database nameCouchDB document nameCouchDB document bodyCouchDBReturns V on a conflict. Returns W& with the revision number on success.XCouchDBdatabaseCouchDBdocument and revisionCouchDB new valueYCouchDBdatabaseCouchDBall docsCouchDBerror or (id,rev)NCouchDBdatabaseCouchDBdocument identifierZCouchDBdatabaseCouchDBdocument and revision[CouchDB database nameCouchDB document bodyCouchDBid and rev of new document\CouchDB database nameCouchDB document nameCouchDB] if the doc does not existOCouchDB database nameCouchDB document nameCouchDB] if the document does not exist.^CouchDBdatabaseCouchDB document nameCouchDBupdate functionCouchDBCIf the update succeeds, return the revision number of the result._CouchDB database name`CouchDB database nameCouchDB view set nameCouchDBviewsaCouchDBdatabseCouchDBJquery parameters |Returns a list of rows. Each row is a key, value pair.SCouchDBdatabaseCouchDBdesignCouchDBviewCouchDBJquery parameters |Returns a list of rows. Each row is a key, value pair.RCouchDBdatabaseCouchDBdesignCouchDBviewCouchDBquery parametersMTbUXYNZ[\OQ^_`aSRNoneX½ CouchDB Document nameCouchDBDocument revision number.CouchDB Database nameCouchDBHReturns a safe database name. Signals an error if the name is invalid.CouchDB Returns a RevCouchDBHReturns a safe document name. Signals an error if the name is invalid.CouchDBNCreates a new database. Throws an exception if the database already exists. CouchDBÌDelete a doc by document identifier (revision number not needed). This operation first retreives the document to get its revision number. It fails if the document doesn't exist or there is a conflict.%CouchDBXGets a document as a raw JSON value. Returns the document id, revision and value as a Pe. These fields are queried lazily, and may fail later if the response from the server is malformed.+CouchDBLike *a, but only returns the keys. Use this for key-only views where the value is completely ignored.CouchDB$False if the database does not existCouchDB database nameCouchDB document nameCouchDB document bodyCouchDBReturns V on a conflict.CouchDBdatabaseCouchDBdocument and revisionCouchDB new valueCouchDBdatabaseCouchDBnew docs CouchDBdatabaseCouchDBdocument identifier!CouchDBdatabase"CouchDB database nameCouchDB document bodyCouchDBid and rev of new document#CouchDB database nameCouchDB document nameCouchDB] if the doc does not exist$CouchDBquery parameters%CouchDB database nameCouchDB document nameCouchDB] if the document does not exist.'CouchDBdatabaseCouchDB document nameCouchDBupdate functionCouchDBCIf the update succeeds, return the revision number of the result.(CouchDB database name)CouchDB database nameCouchDB view set nameCouchDBviews*CouchDBdatabaseCouchDBdesignCouchDBviewCouchDBJquery parameters |Returns a list of rows. Each row is a key, value pair.+CouchDBdatabaseCouchDBdesignCouchDBviewCouchDBquery parameters& !"#$%&'()*+&"! %&#$'()*+c      !"#$%&'()*+,-./0123456789:;<=>?@ABCDBCEBCFBCGBCHBCIBCJBCKBCLBCMBCNBCNBCOBCPBCQBCR;<S;<T%*UVW+0/ "XYZXY[#$&'(X\],-.)!^$CouchDB-1.2.3-4Lbmaf4DFS4A5Mq5SqttO4Database.CouchDBDatabase.CouchDB.JSONDatabase.CouchDB.HTTPDatabase.CouchDB.Unsafe CouchMonad CouchConn runCouchDBURI runCouchDB runCouchDB'runCouchDBWithcreateCouchConncreateCouchConnFromURIcloseCouchConn jsonStringjsonInt jsonObjectjsonBool jsonField jsonIsTrue CouchViewViewMap ViewMapReduceDocRevDB isDBStringdbrevdoc isDocStringcreateDBdropDB getAllDBs newNamedDoc updateDocbulkUpdateDocsforceDeleteDoc deleteDocnewDocgetDoc getAllDocs getDocPrim getDocRawgetAndUpdateDoc getAllDocIdsnewView queryView queryViewKeys$fJSONDB$fShowDB $fShowRev $fReadDoc $fJSONDoc $fShowDoc$fEqRev$fOrdRev$fEqDoc$fOrdDocghc-prim GHC.TypesIOccAuthrequestcreateCouchAuthConnmakeURL%HTTP-4000.3.14-2f8zWavAYT3LepG0aNUPBANetwork.HTTP.Base RequestMethodHEADPUTGETPOSTDELETEOPTIONSTRACECONNECTCustomResponserspCode rspReason rspHeadersrspBodyTrueFalsejson-0.10-BrJOEsuOSgonAcTHRxaoSText.JSON.TypesJSObjectbase Data.EitherLeftRight GHC.MaybeNothing