isNull{Fun,}Ptr
Marcin 'Qrczak' Kowalczyk
qrczak at knm.org.pl
Wed Sep 11 18:25:28 EDT 2002
Wed, 11 Sep 2002 16:42:55 +1000 (EST), Manuel M T Chakravarty <chak at cse.unsw.edu.au> pisze:
> Sure, but there is also
>
> null = (== [])
>
> in the Prelude and `Maybe.isNothing'.
Because they work even if list element type or the type argument of Maybe
isn't Eq. There is no analogous need for null pointers (as for numeric 0).
--
__("< Marcin Kowalczyk
\__/ qrczak at knm.org.pl
^^ http://qrnik.knm.org.pl/~qrczak/
More information about the FFI
mailing list