Skip to content

Commit ec282d7

Browse files
authored
Update text format for encoding 2
After merging #10, I neglected to update the overview to reflect the updated text syntax.
1 parent bebcdef commit ec282d7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

proposals/compact-import-section/Overview.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,9 @@ Two new forms of the `import` declaration are added, in addition to the existing
4646
```
4747
(import "mod" "foo" ...) ;; existing
4848
(import "mod" (item "foo" ...) (item "bar" ...)) ;; compact encoding 1 (new)
49-
(import "mod" (type ... (item "foo") (item "bar"))) ;; compact encoding 2 (new)
49+
(import "mod" (item "foo") (item "bar") ...) ;; compact encoding 2 (new)
5050
```
5151

52-
The `(item)` syntax is used for encoding 2, rather than bare strings, in order to provide room for an identifier, e.g. `(import "mod" (type ... (item $foo "foo")))`.
53-
5452
### Syntax, Validation, Execution
5553

5654
No changes are made to the syntax, validation, or execution sections.

0 commit comments

Comments
 (0)