diff --git a/Database/MongoDB/BSON.hs b/Database/MongoDB/BSON.hs index 5be9df7..8fbc1b4 100644 --- a/Database/MongoDB/BSON.hs +++ b/Database/MongoDB/BSON.hs @@ -1,4 +1,12 @@ - +module Database.MongoDB.BSON + ( + BSValue(..), + BSONObject, + toBSONObject, + fromBSONObject, + BinarySubType(..) + ) +where import Control.Monad import Data.Binary import Data.Binary.Get diff --git a/Setup.lhs b/Setup.lhs new file mode 100755 index 0000000..5bde0de --- /dev/null +++ b/Setup.lhs @@ -0,0 +1,3 @@ +#!/usr/bin/env runhaskell +> import Distribution.Simple +> main = defaultMain diff --git a/mongoDB.cabal b/mongoDB.cabal new file mode 100644 index 0000000..0c087f2 --- /dev/null +++ b/mongoDB.cabal @@ -0,0 +1,11 @@ +Name: mongoDB +Version: 0.1 +License: MIT +Build-Depends: base, + binary, + bytestring, + data-binary-ieee754, + time, + utf8-string +Build-Type: Simple +Exposed-modules: Database.MongoDB.BSON