aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/project.lux
diff options
context:
space:
mode:
authorEduardo Julian2021-09-12 15:39:55 -0400
committerEduardo Julian2021-09-12 15:39:55 -0400
commit2dbbaaec93a53f8dd0b96a0028b9cf125c9066cd (patch)
tree14bc8b5abe09b46ef005c3ff7cf132f1d98ddf0d /stdlib/source/test/aedifex/project.lux
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'stdlib/source/test/aedifex/project.lux')
-rw-r--r--stdlib/source/test/aedifex/project.lux32
1 files changed, 16 insertions, 16 deletions
diff --git a/stdlib/source/test/aedifex/project.lux b/stdlib/source/test/aedifex/project.lux
index aa3d726c3..90686e28e 100644
--- a/stdlib/source/test/aedifex/project.lux
+++ b/stdlib/source/test/aedifex/project.lux
@@ -8,13 +8,13 @@
["$[0]" equivalence]
["$[0]" monoid]]]
[control
- ["[0]" try ("[1]\[0]" functor)]
+ ["[0]" try ("[1]#[0]" functor)]
["[0]" exception]]
[data
["[0]" product]
- ["[0]" text ("[1]\[0]" equivalence)]]
+ ["[0]" text ("[1]#[0]" equivalence)]]
[math
- ["[0]" random {"+" [Random]} ("[1]\[0]" monad)]
+ ["[0]" random {"+" [Random]} ("[1]#[0]" monad)]
[number
["n" nat]]]]]
[//
@@ -27,7 +27,7 @@
(def: profile
(Random [//.Name //.Profile])
(|> @profile.random
- (random\each (with@ //.#parents (list)))
+ (random#each (with@ //.#parents (list)))
(random.and (random.ascii/alpha 1))))
(def: .public random
@@ -48,39 +48,39 @@
(_.cover [/.file]
(|> /.file
- (text\= "")
+ (text#= "")
not))
(do random.monad
[[super_name super_profile] ..profile
- [dummy_name dummy_profile] (random.only (|>> product.left (text\= super_name) not)
+ [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))))
+ (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))))
+ (and (not (text#= super_name name))
+ (not (text#= dummy_name name))
+ (not (text#= sub_name name))))
(random.ascii/alpha 1))
- .let [project ($_ (\ /.monoid composite)
+ .let [project ($_ (# /.monoid composite)
(/.project super_name super_profile)
(/.project dummy_name dummy_profile)
(/.project sub_name (with@ //.#parents (list super_name) sub_profile)))
- circular ($_ (\ /.monoid composite)
+ circular ($_ (# /.monoid composite)
(/.project super_name (with@ //.#parents (list sub_name) super_profile))
(/.project dummy_name dummy_profile)
(/.project sub_name (with@ //.#parents (list super_name) sub_profile)))]]
($_ _.and
(_.cover [/.profile]
(and (|> (/.profile project super_name)
- (try\each (\ //.equivalence = super_profile))
+ (try#each (# //.equivalence = super_profile))
(try.else false))
(|> (/.profile project dummy_name)
- (try\each (\ //.equivalence = dummy_profile))
+ (try#each (# //.equivalence = dummy_profile))
(try.else false))
(|> (/.profile project sub_name)
- (try\each (\ //.equivalence = (\ //.monoid composite sub_profile super_profile)))
+ (try#each (# //.equivalence = (# //.monoid composite sub_profile super_profile)))
(try.else false))))
(_.cover [/.unknown_profile]
(case (/.profile project fake_name)