| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Test.Validity.Types
Synopsis
- class CanFail f where
- hasFailed :: f a -> Bool
- resultIfSucceeded :: f a -> Maybe a
Documentation
A class of types that are the result of functions that can fail
genvalidity-property-0.3.0.0: Standard properties for functions on `Validity` types
| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Test.Validity.Types
A class of types that are the result of functions that can fail