On 10/15/07, PR Stanley <[EMAIL PROTECTED]> wrote:
> Hi
> is const = id?

You answered the question yourself

> const 'x' 'y'
> 'x'
> id 'x'
> 'x'

const has another parameter. Their types are

id    :: a -> a
const :: a -> b -> a

HTH,

-- 
Felipe.
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to