ZVON > References > Haskell reference
| Indexes | Syntax | >> Prelude << | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | Time | Locale | CPUTime | Random

Module: Prelude
Function: fst
Type: (a,b) -> a
Description: returns the first item in a tuple
Related: snd

Example 1

Input: fst(1,2)

Output: 1