aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/parser
diff options
context:
space:
mode:
authorEduardo Julian2022-06-15 23:13:48 -0400
committerEduardo Julian2022-06-15 23:13:48 -0400
commitf92c806ee8da63f04bbefbf558f6249bacdb47ea (patch)
treef0ff0c93cfcf68bded11c9676b65232f30032628 /stdlib/source/parser
parent24986506e8beb5074f6aca048506389e90e196bd (diff)
Better syntax for the "sharing" and "by_example" macros.
Diffstat (limited to '')
-rw-r--r--stdlib/source/parser/lux/data/binary.lux9
1 files changed, 4 insertions, 5 deletions
diff --git a/stdlib/source/parser/lux/data/binary.lux b/stdlib/source/parser/lux/data/binary.lux
index 1a49d5315..d09eeba86 100644
--- a/stdlib/source/parser/lux/data/binary.lux
+++ b/stdlib/source/parser/lux/data/binary.lux
@@ -223,11 +223,10 @@
<bits>)]
(loop (again [index 0
output (sharing [v]
- (Parser v)
- valueP
-
- (Sequence v)
- sequence.empty)])
+ (is (Parser v)
+ valueP)
+ (is (Sequence v)
+ sequence.empty))])
(if (n.< amount index)
(do //.monad
[value valueP]