Skip to content

Commit ed6ccf2

Browse files
fazouane-marouanechenglou
authored andcommitted
Fix the example shown on the front page (#193)
Fix `Unbound value stranger`
1 parent a12b127 commit ed6ccf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/index-example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
```reason
22
type schoolPerson = Teacher | Director | Student string;
33
4-
let greeting =
4+
let greeting stranger =>
55
switch stranger {
66
| Teacher => "Hey professor!"
77
| Director => "Hello director."

0 commit comments

Comments
 (0)