summaryrefslogtreecommitdiff
path: root/src/initial_check.ml
diff options
context:
space:
mode:
authorGabriel Kerneis2013-11-12 16:01:52 +0000
committerGabriel Kerneis2013-11-12 16:09:41 +0000
commitf2717777c8c1159511c6af70c22338d243ea6d68 (patch)
tree34d959c5c2313060a811a702d945261c6072d657 /src/initial_check.ml
parent4e005a7065f88fb2ba4888c51dc8c0508d867e3f (diff)
Define and test addition in library
Notice the need for double parentheses in test/test3.sail, because the interpreter does not perform curryfication automatically (only the first parameter in kept with List_extra.head): add ((1, 3)) (* works *) add (1, 3) (* fails, equivalent to: add (1) *) Fortunately enough, infix functions work correctly by default. A dirty quickfix would be easy, but I'm not sure at which level this should be addressed properly (interpreter? typing? etc.).
Diffstat (limited to 'src/initial_check.ml')
0 files changed, 0 insertions, 0 deletions