[Haskell-cafe] ANN: HLint 1.2

Lennart Augustsson lennart at augustsson.net
Sun Jan 11 19:02:25 EST 2009


Does GHC specialize map?  If it doesn't, then hand crafted version
could be faster.

On Sun, Jan 11, 2009 at 11:44 PM, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
>
> On Sun, 11 Jan 2009, Neil Mitchell wrote:
>
>> HLint will automatically detect if you should have used a map, a foldr
>> or a foldl and suggest how to change your code. In the GHC, darcs and
>> Hoogle code bases there are no obvious map-like functions, which is a
>> good sign :-)
>
> I found so many 'map' re-implementations in Haskell libraries, even in
> those, where I thought their programmers must be more experienced than me.
> Hm, maybe even in libraries by Neil?
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe
>


More information about the Haskell-Cafe mailing list