summary refs log tree commit diff stats
path: root/tests/benchmarks/quicksort.nim
diff options
context:
space:
mode:
authorZahary Karadjov <zahary@gmail.com>2014-03-15 10:50:14 +0200
committerZahary Karadjov <zahary@gmail.com>2014-03-16 20:42:06 +0200
commit7080d02af47cdc459aa441baa76d06f32af2f1c3 (patch)
tree101b23f4265fa9d1c20d2938b07bc6ee00bc24ad /tests/benchmarks/quicksort.nim
parent63d93ad1ab6d491d8fdf4bdb7f958a21e89c2785 (diff)
downloadNim-7080d02af47cdc459aa441baa76d06f32af2f1c3.tar.gz
allow multi-line expressions using the dot operator
this enables parsing of expressions like:

``` Nimrod
s.items
  .map(proc (x): auto = x * 2)
  .filter do (x) -> auto:
    return x % 2 == 0
  .group_by((x) => x.length)
```
Diffstat (limited to 'tests/benchmarks/quicksort.nim')
0 files changed, 0 insertions, 0 deletions