News for hackers. Stuff that matters.
Re:On sufficiently smart compilers by dbaupp on Wednesday December 16, 2015 @12:07AM (#10742503)
Haskell's GHC offers optimisations-in-libraries via its RULES pragma[1], which allows specifying rewrite rules. These are an important part of the deforestation[2] that makes, for instance, lists and vectors fast.

[1]: https://wiki.haskell.org/Playing_by_the_rules

[2]: http://hackage.haskell.org/package/vector-0.7.1/docs/src/Dat...

Re:On sufficiently smart compilers by nhaehnle on Wednesday December 16, 2015 @12:20AM (#10742543)
Yeah, that's actually mentioned in the article ;)