ZVON > References > Haskell reference |
Intro / Search / ZVON |
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random |
Module: | Prelude |
---|---|
Datatype: | Either |
Description: | The function either is found in the Prelude. |
Definition: | data Either a b = Left a | Right b deriving (Eq, Ord, Read, Show) |
In function types: | a -> Either a b : a -> Either b a : (a -> b) -> (c -> b) -> Either a c -> b : either |