We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 699d1f7 commit 0e3bcbaCopy full SHA for 0e3bcba
docs/sophia_features.md
@@ -256,10 +256,10 @@ datatype bi('a) = Bi // bi is bivariant on 'a
256
257
The following facts apply here:
258
259
-- `co('a)` is a subtype of `co('b) when `'a` is a subtype of `'b`
260
-- `ct('a)` is a subtype of `ct('b) when `'b` is a subtype of `'a`
261
-- `in('a)` is a subtype of `in('b) when `'a` is equal to `'b`
262
-- `bi('a)` is a subtype of `bi('b) always
+- `co('a)` is a subtype of `co('b)` when `'a` is a subtype of `'b`
+- `ct('a)` is a subtype of `ct('b)` when `'b` is a subtype of `'a`
+- `in('a)` is a subtype of `in('b)` when `'a` is equal to `'b`
+- `bi('a)` is a subtype of `bi('b)` always
263
264
That altogether induce the following rules of subtyping in Sophia:
265
0 commit comments