translating tweaks
authorJim Pryor <profjim@jimpryor.net>
Sat, 4 Dec 2010 14:33:10 +0000 (09:33 -0500)
committerJim Pryor <profjim@jimpryor.net>
Sat, 4 Dec 2010 14:33:10 +0000 (09:33 -0500)
Signed-off-by: Jim Pryor <profjim@jimpryor.net>
translating_between_OCaml_Scheme_and_Haskell.mdwn

index 2300069..20e10b5 100644 (file)
@@ -299,7 +299,7 @@ So we have:
 
                List.map (fun x -> x * x) (List.filter odd [1..10]);;
 
-*      In Haskell, the expressions "abc" and ['a','b','c'] are equivalent. (Strings are just lists of chars.) In OCaml, these expressions have two different types.
+*      In Haskell, the expressions `"abc"` and `['a','b','c']` are equivalent. (Strings are just lists of chars.) In OCaml, these expressions have two different types.
 
        Haskell uses the operator `++` for appending both strings and lists (since Haskell strings are just one kind of list). OCaml uses different operators: