typo in http://www.haskell.org/onlinereport/prelude-index.html

17 Oct
2006
17 Oct
'06
10:06 a.m.
I've just noticed the wrong example entry for break: break :: (a -> Bool) -> [a] -> ([a], [a]) break (<2) [1,2,3] = ([1],[2,3]) this should be changed to: break (>2) [1,2,3] = ([1,2],[3]) C. Prelude> break (<2) [1,2,3] ([],[1,2,3])
6794
Age (days ago)
6794
Last active (days ago)
0 comments
1 participants
participants (1)
-
Christian Maeder