Module for function helper functions (Was: darcs patch: Add equating p x y = p x == p y)

Henning Thielemann lemming at
Fri Oct 20 08:41:02 EDT 2006

On Fri, 20 Oct 2006, Malcolm Wallace wrote:

> The question is where in the module hierarchy should such a function
> live?  It does not really belong with Data.List, or indeed any
> particular data structure module.
> I would like to propose a new module for functions like this, which are
> in some sense "purely" functional, that is, they do not involve any data
> structure at all, just functions.  Other examples would be
>     const
>     id
>     flip
>     (.)
>     ($)
>     ($!)
> Any suggestions for a good name for such a module?  Data.Function does
> not sound right to my ears.

I also like a special module for that. Why not Data.Function?

More information about the Libraries mailing list