crclark / foundationdb-haskell

Haskell FFI bindings to the FoundationDB C API
https://crclark.github.io/foundationdb-haskell/
BSD 3-Clause "New" or "Revised" License
36 stars 5 forks source link

Remove ResourceT, add MonadBaseControl instance #35

Closed crclark closed 4 years ago

crclark commented 4 years ago

All of our usage of ResourceT can be easily handled by ForeignPtr, with less complexity. This allows us to add a MonadBaseControl instance, which lets me use streamly in my project.