todo
This commit is contained in:
parent
2546d6d16b
commit
ce19965127
1 changed files with 3 additions and 2 deletions
|
@ -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 *)
|
||||
|
||||
|
|
Reference in a new issue