| |||||||
| |||||||
Description | |||||||
Utilities for the Either type | |||||||
Synopsis | |||||||
| |||||||
Documentation | |||||||
| |||||||
Returns True iff the argument is Left x for some x. | |||||||
| |||||||
Returns True iff the argument is Right x for some x. | |||||||
| |||||||
Returns Right input with tags stripped if all elements are to the right, and otherwise Left input: allRight xs == if all isRight xs then Right (map ((Right x) -> x) xs) else Left xs | |||||||
| |||||||
Produced by Haddock version 2.6.1 |