Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A simple result type. Similar to the Either
type, but tuned for results with an error type.
Synopsis
- data Result e a
- fromResult :: a -> Result e a -> a
Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
A simple result type. Similar to the Either
type, but tuned for results with an error type.