3 lines
78 B
Text
3 lines
78 B
Text
> inf_or_nan x = infp x || nanp x;
|
|
> map inf_or_nan [1/0, -1/0, 0/0];
|
|
[1,1,1]
|