[Haskell-beginners] GLfloat cast... have I got it right?

Felipe Almeida Lessa felipe.lessa at gmail.com
Thu Jul 7 18:21:54 CEST 2011


On Thu, Jul 7, 2011 at 1:19 PM, Sean Charles <sean at objitsu.com> wrote:
> But back to the syntax: I am guessing (and hoping I've got it right for the
> *right* reasons) that it works because the definition says "a" for all three
> and that explicitly typing the first one automatically tells (infers!) the
> type inference system that the other two are to be treated as GLfloat types
> too.

Yes, that's right =).

Cheers,

-- 
Felipe.



More information about the Beginners mailing list