Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2007-10-19 (05:23)
From: Erik de Castro Lopo <mle+ocaml@m...>
Subject: Re: [Caml-list] Re: Help me find this pdf
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.

Erik de Castro Lopo
"If you have an apple and I have  an apple and we  exchange apples then
you and I will still each have  one apple. But  if you have an idea and I
have an idea and we exchange these ideas, then each of us will have two
ideas." -- George Bernard Shaw