add quick instructions
[lambda.git] / index.mdwn
index b76b091..88af766 100644 (file)
@@ -168,7 +168,16 @@ Practical advice for working with OCaml and/or Haskell (will be posted someday);
 (**Week 9**) Thursday April 2
 > Topics: Programming with mutable state; the State monad; using multiple monads together
 
-> Here are some OCaml libraries: [[Juli8|code/juli8.ml]] and [[Monad|code/monad.ml]]. We'll write up explanations of these soon.
+> Here are some OCaml libraries: [[Juli8|code/juli8.ml]] and [[Monad|code/monad.ml]]. We'll write up explanations of these soon. But quickly, before you `#use "juli8.ml"`, you have to run this in your OCaml session. (I have these lines in my `~/.ocamlinit` file, so they run every time OCaml starts up:
+
+>     #load "str.cma";;
+>     module Std = struct
+>       include Pervasives
+>       module List = List
+>       module Random = Random
+>       module String = String
+>     end
+
 
 <!--
 We've added a [[Monad Library]] for OCaml.