[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] The use of the null-pointer and null-pointer? proc
Re: [Chicken-hackers] The use of the null-pointer and null-pointer? procedures
Wed, 11 May 2011 08:21:32 -0400 (EDT)
From: Peter Bex <address@hidden>
Subject: Re: [Chicken-hackers] The use of the null-pointer and null-pointer?
Date: Wed, 11 May 2011 12:27:58 +0200
> On Wed, May 11, 2011 at 05:25:12AM -0400, Felix wrote:
>> > I was wondering what use does (null-pointer?) has.
>> Historical. I will deprecate.
> Thanks, Felix. I noticed the documentation says
> "Another way to say (address->pointer 0)". Should the address->pointer
> procedure return #f when given 0?
No, otherwise you couldn't create a pointer object containing a NULL
pointer... :-) I think we can expect a user to be able to code this.