Hi,
Here is an example:
let l = fun num in
if isIntegral l
then l
else 0
How to do the isIntegral thing?On Tue, Sep 29, 2009 at 1:58 PM, Magicloud Magiclouds <[email protected]> wrote: > Hi, > In other weak-type language, `round i == i` would work. But in > haskell, what should I do? Thanks. > -- > 竹密岂妨流水过 > 山高哪阻野云飞 > -- 竹密岂妨流水过 山高哪阻野云飞
_______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
