[dmd-beta] beta 2
    Jason House 
    jason.james.house at gmail.com
       
    Wed Jul  6 18:12:07 PDT 2011
    
    
  
On Jul 6, 2011, at 6:02 PM, Walter Bright <walter at digitalmars.com> wrote:
> On 7/6/2011 2:12 PM, David Simcha wrote:
>> 
>> 
>> 
>> On Wed, Jul 6, 2011 at 5:09 PM, Walter Bright <walter at digitalmars.com> wrote:
>>  
>> This is what I have difficulty with. Consider:
>> 
>>    pure void foo(int* p) { *p = 3; }
>> 
>> That isn't pure, or weakly pure.
>> 
>> ???? Yes it is.  It can be called from a strongly pure function without violating purity 
> 
> Yes, but it is not pure itself.
Eek! Walter, I think you have a severe misunderstanding of Don's weak/strong purity concept. Doing a quick google search, I found the following link: http://www.mail-archive.com/digitalmars-d@puremagic.com/msg40808.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puremagic.com/pipermail/dmd-beta/attachments/20110706/a0367c80/attachment.html>
    
    
More information about the dmd-beta
mailing list