chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] deprecation of always?, never?, none?


From: Thomas Chust
Subject: Re: [Chicken-hackers] deprecation of always?, never?, none?
Date: Mon, 22 Aug 2011 16:43:58 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0) Gecko/20110817 Firefox/6.0 SeaMonkey/2.3

Felix wrote:
> [...]
> "none?" is sort of weird, since there is no "none" type - every object
> is of some type.
> [...]

Hello,

that doesn't make none less of a type and it also doesn't make it less
useful — for example, in the context of type checking, you may want to
represent the fact that a function can never exit through its return
continuation by assigning the none return type to it.

Ciao,
Thomas


-- 
When C++ is your hammer, every problem looks like your thumb.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]