aboutsummaryrefslogtreecommitdiff
path: root/stdlib/test
diff options
context:
space:
mode:
authorEduardo Julian2018-05-01 21:32:29 -0400
committerEduardo Julian2018-05-01 21:32:29 -0400
commit677ae72669dabcad59262287aa4d84c5631bbddd (patch)
tree00f17ff36ea9469d09471bdc6d9ab1ba48e3d8bb /stdlib/test
parente978beda66408179585fe271bfec1900f21df8b5 (diff)
- Re-organized set modules.
Diffstat (limited to '')
-rw-r--r--stdlib/test/test/lux/control/interval.lux4
-rw-r--r--stdlib/test/test/lux/data/coll/ordered/dict.lux2
-rw-r--r--stdlib/test/test/lux/data/coll/set/ordered.lux (renamed from stdlib/test/test/lux/data/coll/ordered/set.lux)4
-rw-r--r--stdlib/test/test/lux/data/coll/set/unordered.lux (renamed from stdlib/test/test/lux/data/coll/set.lux)2
-rw-r--r--stdlib/test/test/lux/lang/type/check.lux2
-rw-r--r--stdlib/test/test/lux/math/logic/fuzzy.lux2
-rw-r--r--stdlib/test/test/lux/math/random.lux2
-rw-r--r--stdlib/test/tests.lux6
8 files changed, 12 insertions, 12 deletions
diff --git a/stdlib/test/test/lux/control/interval.lux b/stdlib/test/test/lux/control/interval.lux
index 05566f464..3187c0b7b 100644
--- a/stdlib/test/test/lux/control/interval.lux
+++ b/stdlib/test/test/lux/control/interval.lux
@@ -8,8 +8,8 @@
["r" math/random]
(data text/format
[number]
- ["S" coll/set]
- ["L" coll/list])))
+ (coll ["S" set/unordered]
+ ["L" list]))))
(context: "Equality."
(<| (times +100)
diff --git a/stdlib/test/test/lux/data/coll/ordered/dict.lux b/stdlib/test/test/lux/data/coll/ordered/dict.lux
index 975b26dd2..301e64927 100644
--- a/stdlib/test/test/lux/data/coll/ordered/dict.lux
+++ b/stdlib/test/test/lux/data/coll/ordered/dict.lux
@@ -6,7 +6,7 @@
(data [product]
[number]
(coll (ordered ["&" dict])
- ["s" set]
+ (set ["s" unordered])
["d" dict]
[list "L/" Functor<List>]))
["r" math/random])
diff --git a/stdlib/test/test/lux/data/coll/ordered/set.lux b/stdlib/test/test/lux/data/coll/set/ordered.lux
index 123613972..cb78ad963 100644
--- a/stdlib/test/test/lux/data/coll/ordered/set.lux
+++ b/stdlib/test/test/lux/data/coll/set/ordered.lux
@@ -2,8 +2,8 @@
lux
(lux [io]
(control [monad #+ do Monad])
- (data (coll (ordered ["&" set])
- ["s" set]
+ (data (coll (set ["s" unordered]
+ ["&" ordered])
[list "" Fold<List>])
[number]
text/format)
diff --git a/stdlib/test/test/lux/data/coll/set.lux b/stdlib/test/test/lux/data/coll/set/unordered.lux
index eb43bd0d2..bdb896e8b 100644
--- a/stdlib/test/test/lux/data/coll/set.lux
+++ b/stdlib/test/test/lux/data/coll/set/unordered.lux
@@ -2,7 +2,7 @@
lux
(lux [io]
(control [monad #+ do Monad])
- (data (coll ["&" set]
+ (data (coll (set ["&" unordered #+ Set])
[list "" Fold<List>])
[number])
["r" math/random])
diff --git a/stdlib/test/test/lux/lang/type/check.lux b/stdlib/test/test/lux/lang/type/check.lux
index dd42ceaf4..48a3f35cb 100644
--- a/stdlib/test/test/lux/lang/type/check.lux
+++ b/stdlib/test/test/lux/lang/type/check.lux
@@ -9,7 +9,7 @@
[text "text/" Monoid<Text> Eq<Text>]
text/format
(coll [list "list/" Functor<List>]
- [set]))
+ (set ["set" unordered])))
["r" math/random]
(lang [type "type/" Eq<Type>]
["@" type/check]))
diff --git a/stdlib/test/test/lux/math/logic/fuzzy.lux b/stdlib/test/test/lux/math/logic/fuzzy.lux
index a1c01408c..068e00523 100644
--- a/stdlib/test/test/lux/math/logic/fuzzy.lux
+++ b/stdlib/test/test/lux/math/logic/fuzzy.lux
@@ -3,7 +3,7 @@
(lux [io]
(control [monad #+ do Monad])
(data (coll [list]
- [set])
+ (set ["set" unordered]))
[bool "B/" Eq<Bool>]
[number]
text/format)
diff --git a/stdlib/test/test/lux/math/random.lux b/stdlib/test/test/lux/math/random.lux
index b5e305ff7..eed882ea7 100644
--- a/stdlib/test/test/lux/math/random.lux
+++ b/stdlib/test/test/lux/math/random.lux
@@ -9,7 +9,7 @@
[array]
[queue]
[stack]
- [set]
+ (set ["set" unordered])
[dict]))
(math ["r" random]))
lux/test)
diff --git a/stdlib/test/tests.lux b/stdlib/test/tests.lux
index 05118f921..9739c63e5 100644
--- a/stdlib/test/tests.lux
+++ b/stdlib/test/tests.lux
@@ -46,15 +46,15 @@
["_." dict]
["_." list]
["_." queue]
- ["_." set]
+ ["_." set/unordered]
+ ["_." set/ordered]
["_." stack]
["_." sequence]
["_." priority-queue]
["_." stream]
(tree ["tree_." rose]
["tree_." zipper])
- (ordered ["ordered_." dict]
- ["ordered_." set]))
+ (ordered ["ordered_." dict]))
(text ["_." format]
["_." lexer]
["_." regex]))