More on "Component Programming"
Walter Bright
newshound2 at digitalmars.com
Tue May 28 11:36:12 PDT 2013
On 5/28/2013 2:54 AM, bearophile wrote:
> The "rewrite rules" is a feature of the GHC compiler. It allows the library
> writers to define rules that in most (or many) cases are advantageous and lead
> to better optimization. As example one of such rules swap map and filter,
> putting the filter before the map, because this is more efficient. Haskell
> allows you to perform such swapping because (nearly) everything it does is pure
> and immutable.
Thank you.
More information about the Digitalmars-d
mailing list