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
--- Begin Message ---
Hello,

could someone please explain why "fix" in 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



--- End Message ---
Hello,

could someone please explain why "fix" in 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


_______________________________________________
Haskell mailing list
Haskell@haskell.org
http://www.haskell.org/mailman/listinfo/haskell

Reply via email to