Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/docs/reference/new-types/match-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ This defines a type that, depending on the scrutinee type `X`, can reduce to one
Elem[String] =:= Char
Elem[Array[Int]] =:= Int
Elem[List[Float]] =:= Float
Elem[Nil] =:= Nothing
Elem[Nil.type] =:= Nothing
```
Here `=:=` is understood to mean that left and right hand sides are mutually subtypes of each other.

Expand Down