X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=index.mdwn;h=333f362eebc57d03a776409a4c12828c15a33dfc;hp=3dd65ea800e21fae7a564c8acacdfa3572d975b1;hb=2790828eae4e8144361e3f8ba230c4db07efd9e2;hpb=a2de8652120433658347e44fe52c64e739e48484 diff --git a/index.mdwn b/index.mdwn index 3dd65ea8..333f362e 100644 --- a/index.mdwn +++ b/index.mdwn @@ -163,11 +163,22 @@ Practical advice for working with OCaml and/or Haskell (will be posted someday); (**Week 8**) Thursday March 26 -> Topics: [[Safe division with monads|topics/week8_safe_division_with_monads]] +> Topics: [[Safe division with monads|topics/week8_safe_division_with_monads]]; [[Long but useful ramble|topics/week8_ramble]] (**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. 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 + +