X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=blobdiff_plain;f=rosetta3.mdwn;h=f533a021dea11eed05c2a35861699ffb46db4847;hp=49d7255ec603aeb01b34f7c1f7a3985fe0705aa6;hb=30e80630a4bdb0ec23dd7098f735b060f6a3de0f;hpb=334e29bf1792e3b3df3b3046f9860069303ffde9 diff --git a/rosetta3.mdwn b/rosetta3.mdwn index 49d7255e..f533a021 100644 --- a/rosetta3.mdwn +++ b/rosetta3.mdwn @@ -1,4 +1,4 @@ -## Scheme and OCaml ## +This page covers how to do some OCaml-ish and Haskell-ish things in Scheme, and how to get Scheme-ish continuations in OCaml. * You can [try Scheme in your web browser](http://tryscheme.sourceforge.net/). This is useful if you don't have Racket or another Scheme implementation installed---but don't expect it to have all the bells and whistles of a mature implementation! @@ -70,6 +70,7 @@ These last three forms are also available in OCaml, but to use them you'll need to compile and install Oleg Kiselyov's "delimcc" or "caml-shift" library (these names refer to the same library), which you can find [here](http://okmij.org/ftp/continuations/implementations.html#caml-shift). You'll already need to have OCaml installed. It also helps if you already have the findlib package installed, too, [as we discuss here](http://lambda.jimpryor.net/how_to_get_the_programming_languages_running_on_your_computer/). If you're not familiar with how to compile software on your computer, this might be beyond your reach for the time being. + 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 *)