Command: smlnj
(SML/NJ REPL) for open Standard ML of New Jersey v110.99
Basic Keys
C-d to exit REPL
C-r to backward search
C-c to exit search
C-u to delete before
C-k to delete afterward
C-z to run in background
in <topic>_lab
directory, type make checkin
andrew: my andrew id
password: generated unique password
ta: TA's andrew id
Then: checkin.json
will be generated
Upload checkin.json to Gradescope lab
If "Checkin successful" Good, else: contact your TA
real : int -> real
trunc : real -> int
(cut out int portion)
We don't write ;
unless you are in terminal. You should not write ;
even for test cases.
Table of Content