| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Either.Located
Documentation
module Data.Either
fromRight :: HasCallStack => Either a b -> b Source
fromLeft :: HasCallStack => Either a b -> a Source
located-base-0.1.1.0: Location-aware variants of partial functions
| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Data.Either.Located
module Data.Either
fromRight :: HasCallStack => Either a b -> b Source
fromLeft :: HasCallStack => Either a b -> a Source