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 2728dd5 commit a3ec02fCopy full SHA for a3ec02f
_overviews/scala3-book/types-adts-gadts.md
@@ -142,7 +142,7 @@ enum Nat:
142
case Zero
143
case Succ(n: Nat)
144
```
145
-For example the value `Succ(Succ(Zero))` represents the number `2` in an unary encoding.
+For example the value `Succ(Succ(Zero))` represents the number `2` in a unary encoding.
146
Lists can be defined in a very similar way:
147
148
```scala
0 commit comments