Commit cab67bd0 authored by Taddeus Kroes's avatar Taddeus Kroes

Source code cleanup.

parent 17f971db
......@@ -8,7 +8,7 @@ let rec eval exp =
| (Not, Bool b) -> Bool (not b)
| _ -> raise (Failure "Unknown unary operator")
in
let eval_binop binop = match binop with
let eval_binop = function
(op, Num a, Num b) ->
(* Arithmethic or relational operation is possible on numbers *)
(match op with
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment