diff options
author | Daniil Baturin <daniil@baturin.org> | 2014-09-13 00:36:15 +0700 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2014-09-13 00:36:15 +0700 |
commit | 166fb997a0793067b7aa09091a1c9f76229ea6de (patch) | |
tree | 0c1fc77719b6c22232fd416056cfe1c0d8849c0a /ocaml.html.markdown | |
parent | 2d01fb3c0597cfc692e3edfebcfc81bf2e3e3ee9 (diff) |
Remove the signature explanation by grouping to avoid confusion
with signature syntax for function types.
Diffstat (limited to 'ocaml.html.markdown')
-rw-r--r-- | ocaml.html.markdown | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ocaml.html.markdown b/ocaml.html.markdown index 0107fd35..5be9510b 100644 --- a/ocaml.html.markdown +++ b/ocaml.html.markdown @@ -51,8 +51,7 @@ written in curried form. A function that takes multiple arguments can be represented as a composition of functions that take only one argument. The "f(x,y) = x + y" function from the example above applied to arguments 2 and 3 is equivalent to the "f0(y) = 2 + y" function applied to 3. -Hence the "int -> int -> int" signature, which can be read as -"(int -> int) -> int". +Hence the "int -> int -> int" signature. ```ocaml |