diff options
| -rw-r--r-- | ocaml.html.markdown | 2 | ||||
| -rw-r--r-- | purescript.html.markdown | 2 | 
2 files changed, 2 insertions, 2 deletions
| diff --git a/ocaml.html.markdown b/ocaml.html.markdown index 8faab297..a346550c 100644 --- a/ocaml.html.markdown +++ b/ocaml.html.markdown @@ -104,7 +104,7 @@ let fact_4 = factorial (5-1) ;;  let sqr2 = sqr (-2) ;;  (* Every function must have at least one argument. -   Since some funcions naturally don't take any arguments, there's +   Since some functions naturally don't take any arguments, there's     "unit" type for it that has the only one value written as "()" *)  let print_hello () = print_endline "hello world" ;; diff --git a/purescript.html.markdown b/purescript.html.markdown index 6d8cfbb9..7dd97a18 100644 --- a/purescript.html.markdown +++ b/purescript.html.markdown @@ -197,7 +197,7 @@ let even x = x `mod` 2 == 0  filter even (1..10) -- [2,4,6,8,10]  map (\x -> x + 11) (1..5) -- [12,13,14,15,16] --- Requires purescript-foldable-traversabe (Data.Foldable) +-- Requires purescript-foldable-traversable (Data.Foldable)  foldr (+) 0 (1..10) -- 55  sum (1..10) -- 55 | 
