selectel / mongoDB-haskell

MongoDB driver for Haskell
http://hackage.haskell.org/package/mongoDB
Apache License 2.0
21 stars 11 forks source link

Convert to use hashtables, as Data.HashTable went away. #17

Closed ezyang closed 10 years ago

ezyang commented 10 years ago

Fixes Issue #16

Signed-off-by: Edward Z. Yang ezyang@mit.edu

gregwebs commented 10 years ago

Does any of this need to be conditional on GHC or base version?

gregwebs commented 10 years ago

@ezyang do you know how this effects backwards compatibility?

ezyang commented 10 years ago

Hmm, that's a good question. In some respects, this should have no change on BC, because all you're doing is swapping out an internal implementation with another one (adding an extra Cabal dependency in the process); no interface changes. So as long as hashtables is supported in all the versions you care about (someone needs to check), it should be fine. But some people might prefer to have a version which doesn't have the extra hashtables dependency, in which case a lot of conditionalizing might be necessary. (Sorry about missing the earlier inquiry)

knsd commented 10 years ago

Thanks, Edward! It's already on Hackage.