[Haskell-cafe] Equality Question

Bryan O'Sullivan bos at serpentine.com
Mon Oct 15 18:59:23 EDT 2007


PR Stanley wrote:

> is const = id?

No, const is saturated with 2 arguments, id with 1.

const 1 2 -> 1
id 1 2 -> type error

	<b


More information about the Haskell-Cafe mailing list