coupé en 2
This commit is contained in:
parent
da6e4547a8
commit
e091ae9860
1 changed files with 5 additions and 1 deletions
|
@ -81,7 +81,11 @@ and check_value_definition
|
|||
: HopixTypes.typing_environment -> HopixAST.value_definition
|
||||
-> HopixTypes.typing_environment
|
||||
=
|
||||
fun env def -> failwith "Students! This is your job! (check_value_definition)"
|
||||
fun env -> function
|
||||
| SimpleValue _ ->
|
||||
failwith "Students! This is your job! (check_value_definition | SimpleValue)"
|
||||
| RecFunctions _ ->
|
||||
failwith "Students! This is your job! (check_value_definition | RecFunctions)"
|
||||
;;
|
||||
|
||||
let check_definition env = function
|
||||
|
|
Reference in a new issue