From 20b4e1e1636218d16ef39a9fbc4da5305f24b40f Mon Sep 17 00:00:00 2001 From: Jim Pryor Date: Sat, 4 Dec 2010 10:27:47 -0500 Subject: [PATCH] translating tweaks Signed-off-by: Jim Pryor --- translating_between_OCaml_Scheme_and_Haskell.mdwn | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/translating_between_OCaml_Scheme_and_Haskell.mdwn b/translating_between_OCaml_Scheme_and_Haskell.mdwn index 4b0f7154..e76bab49 100644 --- a/translating_between_OCaml_Scheme_and_Haskell.mdwn +++ b/translating_between_OCaml_Scheme_and_Haskell.mdwn @@ -70,7 +70,7 @@ Additionally, the syntax of OCaml and SML is superficially much closer to Haskel Second, you can create real datatypes and pattern-match on them. There are several tools for doing this. I'll describe the `define-datatype` and `cases` forms developed for the book *Essentials of Programming Languages* (EoPL) by Friedman and Wand. - (Alternatives include the `struct` form in Racket, see . Also `define-record-type` from srfi-9 and srfi-57; see also .) + (Alternatives include [the `struct` form in Racket](http://docs.racket-lang.org/guide/define-struct.html). Also `define-record-type` from srfi-9 and srfi-57; see also [the r6rs libs](http://docs.racket-lang.org/r6rs-lib-std/r6rs-lib-Z-H-7.html).) Here is how the tools from EoPL work. You must begin your file either with `#lang eopl` or with the first two lines below: @@ -91,7 +91,7 @@ Additionally, the syntax of OCaml and SML is superficially much closer to Haskel (free-vars (lam 'x (app (var 'x) (var 'y)))) ; evaluates to '(y) -* Scheme has excellent support for working with implicit or "first-class" **continuations**, using either `call/cc` or any of various delimited continuation operators. See . +* Scheme has excellent support for working with implicit or "first-class" **continuations**, using either `call/cc` or any of various delimited continuation operators. See [the Racket docs](http://docs.racket-lang.org/reference/cont.html?q=shift&q=do#%28part._.Classical_.Control_.Operators%29). In Scheme you can use these forms by default (they're equivalent): -- 2.11.0