Version franaise
Home About Download Resources Contact us
Browse thread
Help me find this pdf
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Bárður Árantsson <spam@s...>
Subject: Re: Help me find this pdf
Erik de Castro Lopo wrote:
> Bárður Árantsson wrote:
> 
>> What you're saying is basically that lazy pattern matching should only 
>> force as much of the value under examination as is actually necessary to 
>> decide if there's a match. Do I have that right?
>>
>> If so, then Haskell does exactly this.
> 
> But haskell is lazy by default so of course it does it right.
> 

Indeed. I was just having a devil of time figuring out what people were 
actually trying to say and some people seemed to be talking past each 
other, so I just thought I'd try phrasing it as succinctly as possible. 
(Using Haskell as an example of how to do it right.)

Cheers,

-- 
Bardur Arantsson
<bardurREMOVE@THISscientician.net>

- Kittens give Morbo gas. In lighter news, the city of New New
York is doomed. Blame rests with known human Professor Hubert
Farnsworth and his tiny inferior brain.
                                                 Morbo, 'Futurama'