Skip to content

Commit

Permalink
Update sum-type.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sayanarijit authored Jul 15, 2023
1 parent 859d888 commit 219ee68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/en/src/sum-type.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ tables just below.
Yes, they are actually sum types, i.e. they can be any of the given set of
tagged variants listed there.

Notice the word "be". Unlike classes or structs (aka product types), they don't
"have" values, they "are" (i.e. "be") the value, or rather, one of the possible
Notice the word "be". Unlike classes or structs (aka product types), they can't
"have" values, they can only "be" the value, or rather, be one of the possible
set of values.

Also notice the word "tagged". Unlike the single variant `null`, or the dual
Expand Down

0 comments on commit 219ee68

Please sign in to comment.