X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=index.mdwn;h=a71eb4db2f80358f2d28a99a9fa2855bf1c2e3c4;hp=3dd65ea800e21fae7a564c8acacdfa3572d975b1;hb=d0396f8a13e61cdf84a30778ed88948114acbb41;hpb=a2de8652120433658347e44fe52c64e739e48484 diff --git a/index.mdwn b/index.mdwn index 3dd65ea8..a71eb4db 100644 --- a/index.mdwn +++ b/index.mdwn @@ -163,10 +163,21 @@ 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 +> Topics: [[Using the OCaml Monad library|/topics/week9_using_monad_library]]; the State monad; Programming with mutable state; 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 +