aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Rudolph <johannes.rudolph@gmail.com>2012-10-10 13:48:39 +0300
committerJohannes Rudolph <johannes.rudolph@gmail.com>2012-10-10 13:48:39 +0300
commit33e0ae2de69eef191dbff69709ad5b78628e57ca (patch)
treefd63ac5b7519fdcc171a29911db819b0b4527281
parent6379b2abc34d242d4caf41cfeecea4ab55b79587 (diff)
downloadsbt-boilerplate-33e0ae2de69eef191dbff69709ad5b78628e57ca.tar.gz
sbt-boilerplate-33e0ae2de69eef191dbff69709ad5b78628e57ca.tar.bz2
sbt-boilerplate-33e0ae2de69eef191dbff69709ad5b78628e57ca.zip
Update README.md
-rw-r--r--README.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.md b/README.md
index 3a669b9..900f469 100644
--- a/README.md
+++ b/README.md
@@ -14,10 +14,10 @@ expansion. Expansion follows these rules:
- There's a current number of arguments `i` which is initialized to 22.
- Code embraced in `[#` and `#]` is copied `i` times and the expansion is applied
recursively with `i` being set accordingly. It is possible to define a custom separator
- between the instances by putting the separator text between the `#` and the `]` of the closing
+ between the copied instances by putting the separator text between the `#` and the `]` of the closing
bracket. If no separator is supplied `", "` is assumed.
- - Digit `1` is replaced by `i` and digit `0` is replaced by `i - 1` unless the digit is
- prefixed with `##`
+ - Everywhere digit `1` is replaced by `i` and digit `0` is replaced by `i - 1` unless the digit is
+ prefixed with `##`.
## Examples
@@ -33,7 +33,7 @@ Start by writing out the function for only one argument:
For the function to be copied for each possible number of arguments, enclose it in `[#`
and `#]` (the newline between the closing `#` and `]` defines that instances should be
-separated by newline and not by the default `, `):
+separated by newline and not by the default `", "`):
[#def applyFunc[P1, R](input: Tuple1[P1], func: (P1) => R): R =
func(input._1)#