From ce199651276925a6154acb80f356e4f360d35a7b Mon Sep 17 00:00:00 2001 From: Mylloon Date: Mon, 6 Nov 2023 20:57:21 +0100 Subject: [PATCH] todo --- flap/src/hopix/hopixInterpreter.ml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/flap/src/hopix/hopixInterpreter.ml b/flap/src/hopix/hopixInterpreter.ml index 3814997..483f469 100644 --- a/flap/src/hopix/hopixInterpreter.ml +++ b/flap/src/hopix/hopixInterpreter.ml @@ -445,8 +445,9 @@ and apply_expression f x environment memory = | VPrimitive (_, f) -> (* Fonction "primitive" *) f memory x_val - | VClosure (env_fn, pattern, expr) -> - (* Fonction *) + | VClosure (_env_fn, _pattern, _expr) -> + (* Fonction + * TODO: Pattern matching ici *) failwith "Students! This is your job (Apply)!" | _ -> assert false (* By typing *)