
28 May
2009
28 May
'09
3:07 a.m.
张旭
Hi, I am really new to haskell. I am reading "A gentle instruction to haskell" now. And I just cannot understand the chapter below. Is there anybody who can gives me some hints about why the pattern matching for "client" is so early? How does the pattern matching works here?
Reading this thread, it occurs to me that I've probably never used a lazy pattern in my code. So if you, in spite of the helpful replies you've got, still have problems understanding lazy patterns, it may be an option to simply skip this part of the tutorial for now. (Not that I recommend learning Haskell half-way, mind you, but it did work for me :-) -k -- If I haven't seen further, it is by standing in the footprints of giants