[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-hackers] deprecation of always?, never?, none?
From: |
Felix |
Subject: |
Re: [Chicken-hackers] deprecation of always?, never?, none? |
Date: |
Mon, 22 Aug 2011 19:18:22 +0200 (CEST) |
From: Thomas Chust <address@hidden>
Subject: Re: [Chicken-hackers] deprecation of always?, never?, none?
Date: Mon, 22 Aug 2011 16:43:58 +0200
> 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.
That's a matter of control flow, not of type. Bottom is not a value,
it is undefinedness, in every sense.
cheers,
felix
- [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Peter Bex, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Christian Kellermann, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, John Cowan, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Peter Bex, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, John Cowan, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Thomas Chust, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?,
Felix <=
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Thomas Chust, 2011/08/22
- Re: [Chicken-hackers] deprecation of always?, never?, none?, Felix, 2011/08/23