Camelia displayed a dialog that it had to be shut down right after I clicked the "Save and Run" button. The save succeeded, and when I reopened and pressed "Save and Run" no error occurred. The code I was running follows:
let sum int_list =
match int_list with
|  -> 0
| hd::tl -> hd+sum tl;;
Note that the syntax isn't correct: it should be let rec. Camelia correctly mentioned that after I reopened it to run it again. I'm not sure what might have caused the error since it didn't repeat itself.
Also, clicking the OK button did not actually shut down Camelia---the dialog keep popping up, so I force-quit it and restarted.
I'm running it on Mac OS X 10.4 Tiger.
Log in to post a comment.