I'm seeing a declaration for what seems to be an abstract type that looks like:
type +'a io
What does the '+' indicate there?
I'm seeing a declaration for what seems to be an abstract type that looks like:
type +'a io
What does the '+' indicate there?
It says the type has covariant subtyping with respect to the parameter type. So if T
is a subtype of U
, then T io
is a subtype of U io
.