Skip to content

Commit ceb43f9

Browse files
authored
eQuad is sum type and not a product one
1 parent 4f7c12e commit ceb43f9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ch11/ex10.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ data Quad
5252
| Four
5353
deriving (Eq, Show)
5454

55-
1. eQuad can take 4 * 4 = 16 different forms.
55+
1. eQuad can take 4 + 4 = 8 different forms. (sum type)
5656

5757
2. prodQuad can take 4 * 4 = 16 different forms.
5858

0 commit comments

Comments
 (0)