(Arne Babenhauserheide)
2014-11-17: rename most instances of bracket to parenthesis. rename most instances of bracket to parenthesis.
diff --git a/docs/srfi.org b/docs/srfi.org --- a/docs/srfi.org +++ b/docs/srfi.org @@ -255,14 +255,14 @@ The syntax shown here is the minimal syn *** Unindented line -*A line without indentation is a function call*, just as if it would start with a bracket. +*A line without indentation is a function call*, just as if it would start with a parenthesis. #+BEGIN_SRC wisp display "Hello World!" ; (display "Hello World!") #+END_SRC *** Sibling line -*A line which is more indented than the previous line is a sibling to that line*: It opens a new bracket. +*A line which is more indented than the previous line is a sibling to that line*: It opens a new parenthesis. #+BEGIN_SRC wisp display ; (display @@ -270,7 +270,7 @@ The syntax shown here is the minimal syn #+END_SRC *** Closing line -*A line which is not more indented than previous line(s) closes the brackets of all previous lines which have higher or equal indentation*. You should only reduce the indentation to indentation levels which were already used by parent lines, else the behaviour is undefined. +*A line which is not more indented than previous line(s) closes the parentheses of all previous lines which have higher or equal indentation*. You should only reduce the indentation to indentation levels which were already used by parent lines, else the behaviour is undefined. #+BEGIN_SRC wisp display ; (display @@ -280,7 +280,7 @@ The syntax shown here is the minimal syn *** Prefixed line -*To add any of ' , ` #' #, #` or #@, to the first bracket on a line, just prefix the line with that symbol* followed by at least one space. Implementations are free to add more prefix symbols. +*To add any of ' , ` #' #, #` or #@, to the first parenthesis on a line, just prefix the line with that symbol* followed by at least one space. Implementations are free to add more prefix symbols. #+BEGIN_SRC wisp ' "Hello World!" ; '("Hello World!") @@ -288,7 +288,7 @@ The syntax shown here is the minimal syn *** Continuing line -*A line whose first non-whitespace characters is a dot followed by a space (". ") does not open a new bracket: it is treated as simple continuation of the first less indented previous line*. In the first line this means that this line does not start with a bracket and does not end with a bracket, just as if you had directly written it in lisp without the leading ". ". +*A line whose first non-whitespace characters is a dot followed by a space (". ") does not open a new parenthesis: it is treated as simple continuation of the first less indented previous line*. In the first line this means that this line does not start with a parenthesis and does not end with a parenthesis, just as if you had directly written it in lisp without the leading ". ". #+BEGIN_SRC wisp string-append "Hello" ; (string-append "Hello" @@ -298,7 +298,7 @@ The syntax shown here is the minimal syn *** Empty indentation level -*A line which contains only whitespace and a colon (":") defines an indentation level at the indentation of the colon*. It opens a bracket which gets closed by the next less-indented line. If you need to use a colon by itself. you can escape it as "\:". +*A line which contains only whitespace and a colon (":") defines an indentation level at the indentation of the colon*. It opens a parenthesis which gets closed by the next less-indented line. If you need to use a colon by itself. you can escape it as "\:". #+BEGIN_SRC wisp let ; (let @@ -309,7 +309,7 @@ The syntax shown here is the minimal syn *** Inline Colon -*A colon sourrounded by whitespace (" : ") starts a bracket which gets closed at the end of the line*. +*A colon sourrounded by whitespace (" : ") starts a parenthesis which gets closed at the end of the line*. #+BEGIN_SRC wisp define : hello who ; (define (hello who) @@ -317,7 +317,7 @@ The syntax shown here is the minimal syn string-append "Hello " who "!" ; (string-append "Hello " who "!"))) #+END_SRC -If the colon starts a line, it starts a bracket which gets closed at the end of the line *and* defines an indentation level at the position of the colon. +If the colon starts a line, it starts a parenthesis which gets closed at the end of the line *and* defines an indentation level at the position of the colon. *** Initial Underscores *You can replace any number of consecutive initial spaces by underscores*, as long as at least one whitespace is left between the underscores and any following character. You can escape initial underscores by prefixing the first one with \ ("\___ a" → "(___ a)"), if you have to use them as function names.