Copyright | (c) 2021 Francisco Vallarino |
---|---|
License | BSD-3-Clause (see the LICENSE file) |
Maintainer | fjvallarino@gmail.com |
Stability | experimental |
Portability | non-portable |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype MdbxItemBinary a = MdbxItemBinary {
- unwrapBinary :: a
Documentation
newtype MdbxItemBinary a Source #
Helper type to derive MdbxItem
instances for types implementing Binary
using
the newtype deriving trick.
Instances
Binary a => MdbxItem (MdbxItemBinary a) Source # | |
Defined in Mdbx.Binary fromMdbxVal :: MdbxVal -> IO (MdbxItemBinary a) Source # toMdbxVal :: MdbxItemBinary a -> (MdbxVal -> IO b) -> IO b Source # |