[Haskell-cafe] Re: How to decide if a number is an integer?
magicloud.magiclouds at gmail.com
Tue Sep 29 02:11:07 EDT 2009
Here is an example:
let l = fun num in
if isIntegral l
How to do the isIntegral thing?
On Tue, Sep 29, 2009 at 1:58 PM, Magicloud Magiclouds
<magicloud.magiclouds at gmail.com> wrote:
> In other weak-type language, `round i == i` would work. But in
> haskell, what should I do? Thanks.
More information about the Haskell-Cafe