diff options
author | Eduardo Julian | 2022-06-01 21:52:34 -0400 |
---|---|---|
committer | Eduardo Julian | 2022-06-01 21:52:34 -0400 |
commit | 5d44577c3849a045052dc1c9f0dd7deddd032120 (patch) | |
tree | b0e00801734720e9f985c7dfa239aaa0bdea7bcd /stdlib/source/library/lux/control/parser/tree.lux | |
parent | 659537b4ec859f1e705cdd1f82da29ab1a662d94 (diff) |
Extensible import syntax: Part 1
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/control/parser/tree.lux | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/stdlib/source/library/lux/control/parser/tree.lux b/stdlib/source/library/lux/control/parser/tree.lux index 2db46e2b5..d6926d6de 100644 --- a/stdlib/source/library/lux/control/parser/tree.lux +++ b/stdlib/source/library/lux/control/parser/tree.lux @@ -1,16 +1,16 @@ (.using - [library - [lux {"-" left right} - [abstract - [monad {"+" do}]] - [control - ["[0]" try {"+" Try}] - ["[0]" exception {"+" exception:}]] - [data - [collection - [tree {"+" Tree} - ["[0]" zipper {"+" Zipper}]]]]]] - ["[0]" //]) + [library + [lux {"-" left right} + [abstract + [monad (.only do)]] + [control + ["[0]" try (.only Try)] + ["[0]" exception (.only exception:)]] + [data + [collection + [tree (.only Tree) + ["[0]" zipper (.only Zipper)]]]]]] + ["[0]" //]) (type: .public (Parser t a) (//.Parser (Zipper t) a)) |