aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/test/aedifex/parser.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/parser.lux
parentdda05bca0956af5e5b3875c4cc36e61aa04772e4 (diff)
Re-named \ => # && \\ => ##
Diffstat (limited to 'stdlib/source/test/aedifex/parser.lux')
-rw-r--r--stdlib/source/test/aedifex/parser.lux12
1 files changed, 6 insertions, 6 deletions
diff --git a/stdlib/source/test/aedifex/parser.lux b/stdlib/source/test/aedifex/parser.lux
index fea31184f..183f04b27 100644
--- a/stdlib/source/test/aedifex/parser.lux
+++ b/stdlib/source/test/aedifex/parser.lux
@@ -15,7 +15,7 @@
[collection
["[0]" set {"+" [Set]}]
["[0]" dictionary {"+" [Dictionary]}]
- ["[0]" list ("[1]\[0]" functor)]]]
+ ["[0]" list ("[1]#[0]" functor)]]]
[math
["[0]" random {"+" [Random]}]
[number
@@ -40,12 +40,12 @@
(def: (list_of random)
(All (_ a) (-> (Random a) (Random (List a))))
(do [! random.monad]
- [size (\ ! each (n.% 5) random.nat)]
+ [size (# ! each (n.% 5) random.nat)]
(random.list size random)))
(def: (dictionary_of key_hash key_random value_random)
(All (_ k v) (-> (Hash k) (Random k) (Random v) (Random (Dictionary k v))))
- (\ random.functor each
+ (# random.functor each
(dictionary.of_list key_hash)
(..list_of (random.and key_random value_random))))
@@ -69,7 +69,7 @@
(def: (with_empty_profile project)
(-> Project Project)
(if (dictionary.empty? project)
- (//project.project //.default (\ //.monoid identity))
+ (//project.project //.default (# //.monoid identity))
project))
(def: .public test
@@ -88,12 +88,12 @@
(|> expected
..with_empty_profile
dictionary.entries
- (list\each (function (_ [name profile])
+ (list#each (function (_ [name profile])
[name (|> profile
..with_default_sources
..with_default_repository)]))
(dictionary.of_list text.hash)
- (\ //project.equivalence = actual))
+ (# //project.equivalence = actual))
{try.#Failure error}
false))))))