You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the absence of a kind annotation Links assumes that a given type variable has kind Type. Consequently, one must explicitly declare the kinds of type variables with kinds other than Type in type aliases, and one must use the appropriate explicit syntax for these type variables in type applications, e.g.
typename Id(a, e::Eff) = (a) ~e~> a;
sig id : Id(a, { |e})
fun id(x) { x }
In this example, the necessary kind information is easily inferable. Therefore it would be convenient to be able to write the following instead
typename Id(a, e) = (a) ~e~> a;
sig id : Id(a, e)
fun id(x) { x }
The text was updated successfully, but these errors were encountered:
In the absence of a kind annotation Links assumes that a given type variable has kind
Type
. Consequently, one must explicitly declare the kinds of type variables with kinds other thanType
in type aliases, and one must use the appropriate explicit syntax for these type variables in type applications, e.g.In this example, the necessary kind information is easily inferable. Therefore it would be convenient to be able to write the following instead
The text was updated successfully, but these errors were encountered: