Skip to content

Commit a3ec02f

Browse files
authored
Fix typo in types-adts-gadts.md
1 parent 2728dd5 commit a3ec02f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

_overviews/scala3-book/types-adts-gadts.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ enum Nat:
142142
case Zero
143143
case Succ(n: Nat)
144144
```
145-
For example the value `Succ(Succ(Zero))` represents the number `2` in an unary encoding.
145+
For example the value `Succ(Succ(Zero))` represents the number `2` in a unary encoding.
146146
Lists can be defined in a very similar way:
147147

148148
```scala

0 commit comments

Comments
 (0)