From 323b2661061ae22ca28b4bf79564e1d1bc9bc446 Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sun, 5 Dec 2010 10:22:21 -0500 Subject: [PATCH] translating tweaks Signed-off-by: Jim Pryor --- translating_between_OCaml_Scheme_and_Haskell.mdwn | 3 +++ 1 file changed, 3 insertions(+) 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;; -- 2.11.0