From: Jim Pryor Date: Sun, 5 Dec 2010 15:22:21 +0000 (-0500) Subject: translating tweaks X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=323b2661061ae22ca28b4bf79564e1d1bc9bc446;hp=874a793d588bc067f680d5fa5dd9d57d2aa191db translating tweaks Signed-off-by: Jim Pryor --- diff --git a/translating_between_OCaml_Scheme_and_Haskell.mdwn b/translating_between_OCaml_Scheme_and_Haskell.mdwn index 300eb61b..2e33b1a2 100644 --- a/translating_between_OCaml_Scheme_and_Haskell.mdwn +++ b/translating_between_OCaml_Scheme_and_Haskell.mdwn @@ -111,6 +111,9 @@ Additionally, the syntax of OCaml and SML is superficially much closer to Haskel But assuming you do manage to compile and install Oleg's library, here's how you'd use it in an OCaml session: #require "delimcc";; (* loading Oleg's library this way requires the findlib package *) + (* if you don't have findlib, you'll need to start ocaml like + * this instead: ocaml -I /path/to/directory/containing/delimcc delimcc.cma + *) open Delimcc;; (* this lets you say e.g. new_prompt instead of Delimcc.new_prompt *) let p = new_prompt ();; let prompt thunk = push_prompt p thunk;;