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) ->
|
| VPrimitive (_, f) ->
|
||||||
(* Fonction "primitive" *)
|
(* Fonction "primitive" *)
|
||||||
f memory x_val
|
f memory x_val
|
||||||
| VClosure (env_fn, pattern, expr) ->
|
| VClosure (_env_fn, _pattern, _expr) ->
|
||||||
(* Fonction *)
|
(* Fonction
|
||||||
|
* TODO: Pattern matching ici *)
|
||||||
failwith "Students! This is your job (Apply)!"
|
failwith "Students! This is your job (Apply)!"
|
||||||
| _ -> assert false (* By typing *)
|
| _ -> assert false (* By typing *)
|
||||||
|
|
||||||
|
|
Reference in a new issue