I have been coding in Haskell for couple of weeks now and I keep on seeing errors with t0,t1,t2 and a0. I'm wondering, do they have any in particular meaning or they are just variables? I am asking because I would like to understand better the errors that the compiler spits at me.
No, they do not have any particular meaning. They're just variables denoting arbitrary type, as you have noticed. The numbering of these variables (t0
, t1
, t2
etc.) is related to typechecking process internals and also does not mean anything in particular, as far as I know.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With