Maintainer | Bas van Dijk <v.dijk.bas@gmail.com> |
---|

The numeric functions from the `Prelude`

lifted into

.
`Repr`

s

- subtract :: Num α => Repr α -> Repr α -> Repr α
- even :: Integral α => Repr α -> Bool
- odd :: Integral α => Repr α -> Bool
- gcd :: Integral α => Repr α -> Repr α -> Repr α
- lcm :: Integral α => Repr α -> Repr α -> Repr α
- (^) :: (Num α, Integral β) => Repr α -> Repr β -> Repr α
- (^^) :: (Fractional α, Integral β) => Repr α -> Repr β -> Repr α
- fromIntegral :: (Integral α, Num β) => Repr α -> Repr β
- realToFrac :: (Real α, Fractional β) => Repr α -> Repr β

# Documentation

fromIntegral :: (Integral α, Num β) => Repr α -> Repr βSource

Lifts `Prelude.`

into `fromIntegral`

`Repr`

s

realToFrac :: (Real α, Fractional β) => Repr α -> Repr βSource

Lifts `Prelude.`

into `realToFrac`

`Repr`

s