Do not pass f explicitely for fold.
authorMilan Straka <fox@ucw.cz>
Tue, 19 Oct 2010 20:20:43 +0000 (20:20 +0000)
committerMilan Straka <fox@ucw.cz>
Tue, 19 Oct 2010 20:20:43 +0000 (20:20 +0000)
commitba3326eb50f7dd300c7284e48890989a78d1129f
tree8eecf4f37d0189d701cd8a81530e720c8a7e73a2
parentcfb519c587045b5845fad4c05c4cdd28a0486cf8
Do not pass f explicitely for fold.

Benchmarks shows this is a huge win (100% for (:) being
the function, 1000% for (+) being the function).
Data/IntMap.hs
Data/IntSet.hs
Data/Map.hs
Data/Set.hs