[Haskell] A riddle...

Felipe Almeida Lessa felipe.lessa at gmail.com
Mon Jul 16 17:37:25 CEST 2012


On Mon, Jul 16, 2012 at 12:33 PM, Vo Minh Thu <noteed at gmail.com> wrote:
> It seems like the infered type (and thus bounds) is different when you
> force the result to be a Color or not. Just give explicit type
> signatures and conversion functions.

Actually, just *always* give explicit type signatures.

Cheers,

-- 
Felipe.



More information about the Haskell mailing list