[Haskell-cafe] const is question

odtaa48 odtaa48 at verizon.net
Sat Jun 14 12:14:55 EDT 2008


hello
could someone explain the following differing results 
const id 0   5 -> 5 -- ie. 'takes' the 'last' one
const (id 0) 5 -> 0 -- ie. 'takes' the 'first' one

Thanks




More information about the Haskell-Cafe mailing list