Skip to content

Commit

Permalink
Compilation corrections
Browse files Browse the repository at this point in the history
  • Loading branch information
OscarLahaie committed Nov 18, 2021
1 parent 66b6521 commit e2ea2b1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Colleur.ml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#use "bdd.ml"
open Bdd;;
(* Début des fonctions de décompositions *)

let ponctuation_char = [' '; '\n'; '.'; ','; ';'; '-'; '!'; '?'];;
Expand Down Expand Up @@ -199,7 +199,7 @@
in

try
boucle_interactive 5 question_answer prenom 0
boucle_interactive 10 question_answer prenom 0
with
| Fini note -> au_revoir prenom (note)
| Ban -> renvoie ()
Expand Down
Binary file added a.out
Binary file not shown.
2 changes: 1 addition & 1 deletion bdd.ml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ let not_good = [

let question_answer = [
[ ["Witch condition X need for the natural logarithm apply to X to be definined ?"; "(Feel free to speak)"] ; ["stricly" ; "positive" ; "reals" ; ">" ; "0" ; "x" ] ] ;
[ ["Can you give me the shortest value of the periodicity of cosine ?"; "(Feel free to speak)"] ; ["2" ; "two" ; "pi" ; "π" ] ] ;
[ ["Can you give me the shortest value of the periodicity of cosine ?"; "(x pi with x a real number)"] ; ["2" ; "pi" ] ] ;
[ ["Is the derivative of a function is necessarily continuous ?" ; "(yes or no)"] ; ["no" ; "not" ; "ain't" ; "necesseraly" ; "depending"]];
[ ["Is the hyperbolic cosine an pair function ?" ; "(yes or no)"] ; ["yes" ; "yeah" ; "indeed" ; "in" ; "fact" ; "it" ; "is"] ] ;
[ ["Is every function own a unique primite ?" ; "(yes or no)"] ; ["no" ; "not" ; "ain't" ; "necesseraly"]] ;
Expand Down

0 comments on commit e2ea2b1

Please sign in to comment.