[Haskell-cafe] what are the points in pointsfree?

Andrew Wagner wagner.andrew at gmail.com
Thu Dec 14 20:12:33 EST 2006

Here, I think an examples worth a thousand poi....err, words. This one
comes from YAHT. Consider the two implementations of the following

lcaseLetters :: String -> String
lcaseLetters s = map toLower (filter isAlpha s)

lcaseLetters :: Strint -> String
lcaseLetters = map toLower . filter isAlpha

Both functions will do the exact same thing. The second, however is
written completely in terms of function composition and application.
The s in the first implementation is what's being referred to as a

On 12/14/06, Steve Downey <sdowney at gmail.com> wrote:
> i'm not naive enough to think they are the composition function, and
> i've gathered it has something to do with free terms, but beyond that
> i'm not sure. unless it also has something to do with fix points?
> _______________________________________________
> 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