Re: [q-lang-users] Query about Type Tests (Complex and Rational).
Brought to you by:
agraef
From: John C. <co...@cc...> - 2006-06-16 04:58:28
|
Albert Graef scripsit: > You can only use a type guard on the lhs of equations and variable > definitions, whereas the predicates can be used everywhere on the rhs > and on temporary computed values, too. So, yes, they are both useful. Oops, yes, of course. > Like isintnum, iscomplexnum, etc. Maybe we should also add isexact? Sounds good. And isinexact (which would be true of floats and of complex numbers with at least one float component). -- In politics, obedience and support John Cowan <co...@cc...> are the same thing. --Hannah Arendt http://www.ccil.org/~cowan |