Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
garrigue committed Feb 10, 2020
1 parent fb83519 commit 2f25fae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rfcs/nominal-types.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This RFC proposes to solve both problems by allowing one to mark some abstract t
type 'a u [@@nominal]
type 'a t [@@nominal "M.t"]
```
Here `u` is injective, and `t` is both injective and incompatible with all nominal types whose name is not `"M.t"`. (But not the converse, i.e. two types with the same name `"M.t"` not be equal.)
Here `u` is injective, and `t` is both injective and incompatible with all nominal types whose name is not `"M.t"`. (But not the converse, i.e. two types with the same name `"M.t"` need not be equal.)
The name _nominal_ comes from the fact these types behave like nominal types, which in ocaml stands from variant and record types.

This is useful for two things:
Expand Down

0 comments on commit 2f25fae

Please sign in to comment.