Skip to content

Commit 4eb0c2e

Browse files
committed
Fix data constructor operator example
1 parent 51956ec commit 4eb0c2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tutorials/04_containers-functions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,7 @@ data MyList a = Nil | Cons a (MyList a)
794794

795795
infixr 5 `Cons`
796796

797-
data MyTuple2 a b = :@ a b
797+
data MyTuple2 a b = a :@ b
798798

799799
infix 6 :@
800800
```

0 commit comments

Comments
 (0)