translating tweaks
authorJim Pryor <profjim@jimpryor.net>
Sat, 4 Dec 2010 13:59:22 +0000 (08:59 -0500)
committerJim Pryor <profjim@jimpryor.net>
Sat, 4 Dec 2010 13:59:22 +0000 (08:59 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
translating_between_OCaml_Scheme_and_Haskell.mdwn

index f78c1b7..aaefb36 100644 (file)
@@ -8,12 +8,10 @@ In some respects these languages are closer to Scheme than to Haskell: Scheme, O
 
 On both sides, however, the non-default evaluation order can also be had by using special syntax. And in other respects, OCaml and SML are more like Haskell than they are like Scheme. For example, OCaml and SML and Haskell all permit you to declare types and those types are *statically checked*: that is, your program won't even start to be interpreted unless all the types are consistent. In Scheme, on the other hand, type-checking only happens when your program is running, and the language is generally much laxer about what it accepts as well typed. (There's no problem having a list of mixed numbers and booleans, for example... and you don't need to wrap them in any sum type to do so.)
 
 
 On both sides, however, the non-default evaluation order can also be had by using special syntax. And in other respects, OCaml and SML are more like Haskell than they are like Scheme. For example, OCaml and SML and Haskell all permit you to declare types and those types are *statically checked*: that is, your program won't even start to be interpreted unless all the types are consistent. In Scheme, on the other hand, type-checking only happens when your program is running, and the language is generally much laxer about what it accepts as well typed. (There's no problem having a list of mixed numbers and booleans, for example... and you don't need to wrap them in any sum type to do so.)
 
-Additionally, the syntax of OCaml and SML is superficially much close to Haskell's than to Scheme's.
+Additionally, the syntax of OCaml and SML is superficially much closer to Haskell's than to Scheme's.
 
 ##Comments, Whitespace, and Brackets##
 
 
 ##Comments, Whitespace, and Brackets##
 
-*      &nbsp;
-
                -- this is a single line comment in Haskell
 
                {- this
                -- this is a single line comment in Haskell
 
                {- this