diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2019-01-01 17:15:51 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2019-01-01 17:17:23 -0800 |
| commit | 3e89092833a6d407e711fe4ae5f44474ff34cf64 (patch) | |
| tree | 5ffe2df86f648b604347b59999992d74f71a796c /core/collections.nom | |
| parent | e68eb04d690454428216a0f0f1b11399feeb7dc1 (diff) | |
Some changes to the error API, a fix for statement block parsing, and
replacing ((foo 1 baz)'s meaning) with $(foo 1 baz).
Diffstat (limited to 'core/collections.nom')
| -rw-r--r-- | core/collections.nom | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/core/collections.nom b/core/collections.nom index 6aac861..18b1af6 100644 --- a/core/collections.nom +++ b/core/collections.nom @@ -1,4 +1,4 @@ -#!/usr/bin/env nomsu -V6.13.12.8 +#!/usr/bin/env nomsu -V6.14 # This file contains code that supports manipulating and using collections like lists and dictionaries. @@ -60,8 +60,10 @@ externally ($lists flattened) means: test: assume ((entries in {.x = 1}) == [{.key = "x", .value = 1}]) -(entries in $dict) parses as - [: for $k = $v in $dict: add {.key = $k, .value = $v}] +(entries in $dict) parses as [ + : for $k = $v in $dict: + add {.key = $k, .value = $v} +] test: assume ((keys in {.x = 1}) == ["x"]) |
