kerneis / cpc

Continuation Passing C
http://www.pps.univ-paris-diderot.fr/~kerneis/software/cpc
Other
112 stars 13 forks source link

Ocaml exception instead of invalid number of arguments. #1

Closed boutier closed 12 years ago

boutier commented 12 years ago

extern cps f(int x); … f(1, 2, 3); …

This will raise an ocaml exception (Invalid argument ("List.map2")), instead of telling us why, ie. : "invalid number of argument passing to f, line …"