CSE 130: How to run OCaml in the Lab machines



Here is a sample session. You need to type "cs130f" before you can run ocaml.

$ cs130f

[you@ieng6...]:~:$ ocaml
OCaml version 4.07.0

#

At the OCaml prompt:

You can directly send the file foo.ml into OCaml and get the output piped to stdout by typing:
$ ocaml foo.ml