Skip to content

Latest commit

 

History

History
 
 

week5

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Week 5: Exceptions, input/output and imperative constructs

1. Imperative features in OCaml

video slides

2. Getting and handling your Exceptions

video slides

  1. Unraveling the automatic grader

3. Getting information in and out

video slides

  1. Printing lists
  2. Displaying a Filesystem Hierarchy

4.Sequences and iterations

video slides

  1. Printing with loops
  2. Producing fine ASCII art

5.Mutable arrays

video slides

  1. Rotating the contents of an array
  2. Implementing a stack with an array

6.Mutable record fields

video slides

  1. Implementing mutable lists

7.Variables, aka References

video slides

  1. Simple uses of references
  2. Reading lines from the standard input