Hello,
could someone please explain why fix is necessary here:
fix (\f l - if null l then [] else let (s,e) = break (==' ') l in s:f (drop 1
e))
Source: http://www.haskell.org/haskellwiki/Blow_your_mind
Thanks.
phiroc
---BeginMessage---
Hello,
could someone please explain why fix in
On 02/05/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hello,
could someone please explain why fix is necessary here:
fix (\f l - if null l then [] else let (s,e) = break (==' ') l in s:f (drop 1
e))
Source: http://www.haskell.org/haskellwiki/Blow_your_mind
Because you're writing a