aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/project.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-07-25 03:12:17 -0400
committerEduardo Julian2021-07-25 03:12:17 -0400
commit62b3abfcc014ca1c19d62aacdd497f6a250b372c (patch)
treec23155ecef6018b78b349f0ba6cd238872b24da7 /stdlib/source/test/aedifex/project.lux
parent0f545b7e57d2564e351d907befd2ce26900c5521 (diff)
Better syntax for "library/lux.^multi".
Diffstat (limited to 'stdlib/source/test/aedifex/project.lux')
-rw-r--r--stdlib/source/test/aedifex/project.lux22
1 files changed, 11 insertions, 11 deletions
diff --git a/stdlib/source/test/aedifex/project.lux b/stdlib/source/test/aedifex/project.lux
index 5b6de5403..d76d4afb3 100644
--- a/stdlib/source/test/aedifex/project.lux
+++ b/stdlib/source/test/aedifex/project.lux
@@ -52,17 +52,17 @@
not))
(do random.monad
[[super_name super_profile] ..profile
- [dummy_name dummy_profile] (random.filter (|>> product.left (text\= super_name) not)
- ..profile)
- [sub_name sub_profile] (random.filter (function (_ [name profile])
- (and (not (text\= super_name name))
- (not (text\= dummy_name name))))
- ..profile)
- fake_name (random.filter (function (_ name)
- (and (not (text\= super_name name))
- (not (text\= dummy_name name))
- (not (text\= sub_name name))))
- (random.ascii/alpha 1))
+ [dummy_name dummy_profile] (random.only (|>> product.left (text\= super_name) not)
+ ..profile)
+ [sub_name sub_profile] (random.only (function (_ [name profile])
+ (and (not (text\= super_name name))
+ (not (text\= dummy_name name))))
+ ..profile)
+ fake_name (random.only (function (_ name)
+ (and (not (text\= super_name name))
+ (not (text\= dummy_name name))
+ (not (text\= sub_name name))))
+ (random.ascii/alpha 1))
#let [project ($_ (\ /.monoid compose)
(/.project super_name super_profile)
(/.project dummy_name dummy_profile)