Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- newtype ShareNumbers = ShareNumbers {
- getShareNumbers :: [ShareNumber]
- newtype SomeShareData = SomeShareData {}
- makeStorageSpec :: Backend b => IO b -> (b -> IO ()) -> Spec
- genStorageIndex :: Gen StorageIndex
Documentation
:: Backend b | |
=> IO b | An action that produces a new, empty backend. |
-> (b -> IO ()) | A function that produces an action to clean up any state that may have been created in the given backend. |
-> Spec | A test specification for the backend. |
Instantiate property tests for the storage backend specification for a particular backend.
genStorageIndex :: Gen StorageIndex Source #