Module

Data.Integral

Package
purescript-numerics
Repository
proclivis/purescript-numerics

A Integral typeclass.

#Integral Source

class (Real a, EuclideanRing a) <= Integral a  where

The Integral class represents integral numbers, similar to the Haskell version.

Members

Instances

#fromIntegral Source

fromIntegral :: forall b a. Integral a => Integral b => a -> b

A helper function for general conversion between Integral values.