Skip to content

Commit

Permalink
[fix] lambda-12 syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
sdw0316 authored and henrylee97 committed Nov 9, 2023
1 parent 17db2e9 commit b2ae1b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OCaml/lambda-12/buggy/src.ml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ let rec check (m : lambda) : bool =
| C (m0, m1) -> check_sub (m0, l) && check_sub (m1, l)
in

match m with V s -> raise Invalid_input "V only" | _ -> check_sub (m, [])
match m with V s -> raise (Invalid_input "V only") | _ -> check_sub (m, [])

0 comments on commit b2ae1b4

Please sign in to comment.