[Haskell-cafe] In ML books; functors only consume & produce structures; whereas, functions C&P values.

Brent Yorgey byorgey at seas.upenn.edu
Sat Jun 11 18:38:59 CEST 2011


On Fri, Jun 10, 2011 at 07:53:58PM -0700, KC wrote:
> I've never seen such an easy description in Haskell books.
> 
> Is there more going on with Haskell functors?

Note that ML functors and Haskell functors are different things.  ML
functors are parameterized modules.  Haskell functors are types which
are instances of the Functor class.  I think 'functor' is a bad name
for the ML concept, but of course I'm somewhat biased.

-Brent



More information about the Haskell-Cafe mailing list