Need help on Ptr

Alastair Reid alastair@reid-consulting-uk.ltd.uk
Thu, 15 May 2003 18:06:32 +0100


More obvious would be:

  import Foreign(Ptr, nullPtr)

  isNullPtr :: Ptr a -> Bool
  isNullPtr p =  p == nullPtr

--
Alastair