Skip to content

Commit

Permalink
Fix Tree/Leaf and Tree/Node not capitalized in syntax.md (#730)
Browse files Browse the repository at this point in the history
  • Loading branch information
developedby authored Oct 17, 2024
1 parent 9da1f49 commit a085978
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/syntax.md
Original file line number Diff line number Diff line change
Expand Up @@ -291,10 +291,10 @@ It is possible to bind a variable name to the matching value. The fields of the
### Fold

```python
fold x = Tree/leaf:
case Tree/node:
fold x = Tree/Leaf:
case Tree/Node:
return x.value + x.left + x.right
case Tree/leaf:
case Tree/Leaf:
return 0
```

Expand Down

0 comments on commit a085978

Please sign in to comment.