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: fromInteger
Type: Num a => Integer -> a
Class: Num
Description: An integer literal represents the application of the function fromInteger to the appropriate value of type Integer.
Related:

Example 1

Input: fromInteger 3

Output: 3