Content deleted Content added
→Optimizations: «+"<ref>[http://www.randomhacks.net/articles/2007/02/10/map-fusion-and-haskell-performance 'Map fusion: Making Haskell 225% faster'</ref>"» yay, a reference |
→Optimizations: «"this simplification and" → "that is, <math>\left( m f \right) \circ \left( m g \right) = m\left( f \circ g \right) </math>. This", +"eliminates a possibly expensive second map by fusing it with the first map; thus it", "fusio |
||
Line 16:
==Optimizations==
The mathematical basis of maps allow for a number of [[optimization]]s. If one has <code>map f . map g</code> ('.' is function application; <code>map f (map g xs)</code> is equivalent) then it is the same as the simpler <code>map (f . g) xs</code>;
==Haskell's Functor class==
|