projects
/
Faustine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Completing basic operations in basic.ml for primitives float, And, Or, Xor, fmod...
[Faustine.git]
/
interpretor
/
value.ml
diff --git
a/interpretor/value.ml
b/interpretor/value.ml
index
3c97aa0
..
ef05f43
100644
(file)
--- a/
interpretor/value.ml
+++ b/
interpretor/value.ml
@@
-52,6
+52,8
@@
class value : basic -> value_type =
method _mod = self#prim2 basic_mod
method larger = self#prim2 basic_larger
method smaller = self#prim2 basic_smaller
+ method max = self#prim2 basic_max
+ method min = self#prim2 basic_min
end;;