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 _overviews/scala3-book/types-adts-gadts.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ enum Nat:
case Zero
case Succ(n: Nat)
```
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.
Lists can be defined in a very similar way:

```scala
Expand Down