Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
This module provides miscellaneous general-purpose auxiliary functions used by the Graphics.EasyRender package.
- int_ceiling :: RealFrac a => a -> Integer
- class Curry fun args res | args res -> fun where
Arithmetic operations
int_ceiling :: RealFrac a => a -> Integer Source #
The Curry type class
class Curry fun args res | args res -> fun where Source #
The Curry
type class is used to implement functions that have a
variable number of arguments. It provides a family of type
isomorphisms
fun ≅ args -> res,
where
fun = a1 -> a2 -> ... -> an -> res, args = (a1, (a2, (..., (an, ())))).