| CSE305 Fall 2006 Web site |
| [Announcements] [Meetings] [People] [Homework] [Resources] [Schedule] [Syllabus] |
| CSE305 Fall 2006 Web site |
| [Announcements] [Meetings] [People] [Project] [Resources] [Schedule] [Syllabus] |
By default, ML's REPL will print complex structures only to a certain depth and length.
To get ML to print more of complex data structures, you might find the following useful; this is a quote from
www.cs.mcgill.ca/~prakash/Teaching/comp302/resources.html
Here's the quote:
How to change the printing depth in SML 110.55?
If you want to print back the results of some evaluation and
you only see # where you expect some expression, then you may
want to change the print depth of the sml compiler.
* Control.Print.printDepth controls the printing depth.
Control.Print.printDepth := 100; will set it to 100.
* Control.Print.printLength controls the printing lenth.
Control.Print.printLength := 100; will set it to 100.
Alternatively, you can set the depth at startup using the
-Cxxx=yyy command line switch:
sml -Cprint.depth=100
Run
sml -H
to see a list of all such options.
HW3 is posted. The due date has been adjusted to account for the recent storm. I am also adding three more "late days" for everyone (bringing everyone's total to 7): use them as you see fit.
Professor Alphonce's office hours are cancelled on both Thursday, October 12th and Friday, October 13th.
Welcome to the CSE 305 home page! Announcements to the class are generally posted to this page. Notices may be posted here and/or to the course newsgroup sunyab.cse.305. Use "news.buffalo.edu" as your news server. Note that you can access this news server only from an on-campus IP address. You are expected to check this page at least once a day for updates.