[Haskell-cafe] foldr (.) id

David Thomas davidleothomas at gmail.com
Mon Oct 29 21:42:46 CET 2012


"sum" can be a verb, but yeah, "product" can't really, so it probably
makes sense to follow the noun pattern if we're wanting to be
consistent more than brief.

"and" as a noun is unusual, but fwiw dictionary.com says that there's
a noun sense that means "conjunction" in the logical sense, which is
exactly what we're doing here.

On Mon, Oct 29, 2012 at 1:12 PM, Sebastian Fischer <mail at sebfisch.de> wrote:
>> "(.)/compose" is consistent with "(+)/sum", "(*)/product", "(&&)/and", etc.
>
> "(to) compose" is a verb. "composition" would be consistent with "sum"
> and "product". "and" doesn't fit, though.
>
> Sebastian
>
> _______________________________________________
> 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