Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ and parse_expr = function%parser
| [Int i; [%let op = parse_op i]] -> op
```

### Gaurds
### Guards
Guards can be used as in *regular* pattern matching. A guard must evaluate to `true` for a match case to be selected:
```ocaml
let parser i = function%parser
Expand Down