aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source
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/source
parente978beda66408179585fe271bfec1900f21df8b5 (diff)
- Re-organized set modules.
Diffstat (limited to 'stdlib/source')
-rw-r--r--stdlib/source/lux/control/predicate.lux2
-rw-r--r--stdlib/source/lux/data/coll/set/ordered.lux (renamed from stdlib/source/lux/data/coll/ordered/set.lux)0
-rw-r--r--stdlib/source/lux/data/coll/set/unordered.lux (renamed from stdlib/source/lux/data/coll/set.lux)0
-rw-r--r--stdlib/source/lux/lang/type/check.lux2
-rw-r--r--stdlib/source/lux/macro/poly/eq.lux2
-rw-r--r--stdlib/source/lux/math/logic/fuzzy.lux4
-rw-r--r--stdlib/source/lux/math/random.lux2
-rw-r--r--stdlib/source/lux/type/object/interface.lux2
-rw-r--r--stdlib/source/lux/type/resource.lux2
9 files changed, 8 insertions, 8 deletions
diff --git a/stdlib/source/lux/control/predicate.lux b/stdlib/source/lux/control/predicate.lux
index 641a90b28..de9d0dab0 100644
--- a/stdlib/source/lux/control/predicate.lux
+++ b/stdlib/source/lux/control/predicate.lux
@@ -1,6 +1,6 @@
(.module:
lux
- (lux (data (coll [set #+ Set]))))
+ (lux (data (coll (set ["set" unordered #+ Set])))))
(type: #export (Pred a)
(-> a Bool))
diff --git a/stdlib/source/lux/data/coll/ordered/set.lux b/stdlib/source/lux/data/coll/set/ordered.lux
index 5d6ba5478..5d6ba5478 100644
--- a/stdlib/source/lux/data/coll/ordered/set.lux
+++ b/stdlib/source/lux/data/coll/set/ordered.lux
diff --git a/stdlib/source/lux/data/coll/set.lux b/stdlib/source/lux/data/coll/set/unordered.lux
index a09300a7a..a09300a7a 100644
--- a/stdlib/source/lux/data/coll/set.lux
+++ b/stdlib/source/lux/data/coll/set/unordered.lux
diff --git a/stdlib/source/lux/lang/type/check.lux b/stdlib/source/lux/lang/type/check.lux
index 7b7c1e3ee..09af682ca 100644
--- a/stdlib/source/lux/lang/type/check.lux
+++ b/stdlib/source/lux/lang/type/check.lux
@@ -9,7 +9,7 @@
[maybe]
[product]
(coll [list]
- [set #+ Set])
+ (set ["set" unordered #+ Set]))
["e" error])
(lang [type "type/" Eq<Type>])
))
diff --git a/stdlib/source/lux/macro/poly/eq.lux b/stdlib/source/lux/macro/poly/eq.lux
index c1566b6d3..a5b312a2d 100644
--- a/stdlib/source/lux/macro/poly/eq.lux
+++ b/stdlib/source/lux/macro/poly/eq.lux
@@ -9,7 +9,7 @@
[sequence]
[array]
[queue]
- [set]
+ (set ["set" unordered])
[dict #+ Dict]
(tree [rose]))
[number "nat/" Codec<Text,Nat>]
diff --git a/stdlib/source/lux/math/logic/fuzzy.lux b/stdlib/source/lux/math/logic/fuzzy.lux
index 58e716c55..7933027c9 100644
--- a/stdlib/source/lux/math/logic/fuzzy.lux
+++ b/stdlib/source/lux/math/logic/fuzzy.lux
@@ -2,7 +2,7 @@
lux
(lux (data [number "Deg/" Interval<Deg>]
(coll [list]
- [set])
+ (set ["set" unordered #+ Set]))
text/format)
[math])
(// ["&" continuous]))
@@ -45,7 +45,7 @@
&.~false)))
(def: #export (from-set set)
- (All [a] (-> (set.Set a) (Fuzzy a)))
+ (All [a] (-> (Set a) (Fuzzy a)))
(from-predicate (set.member? set)))
(do-template [<ascending> <descending> <gradient> <type> <lt> <gt> <lte> <gte> <sub> <div> <post>]
diff --git a/stdlib/source/lux/math/random.lux b/stdlib/source/lux/math/random.lux
index f2f4d2e14..7172309d0 100644
--- a/stdlib/source/lux/math/random.lux
+++ b/stdlib/source/lux/math/random.lux
@@ -15,7 +15,7 @@
[array]
[dict #+ Dict]
[queue #+ Queue]
- [set #+ Set]
+ (set ["set" unordered #+ Set])
[stack #+ Stack]
[sequence #+ Sequence]))
))
diff --git a/stdlib/source/lux/type/object/interface.lux b/stdlib/source/lux/type/object/interface.lux
index 9e723548a..a572985ad 100644
--- a/stdlib/source/lux/type/object/interface.lux
+++ b/stdlib/source/lux/type/object/interface.lux
@@ -8,7 +8,7 @@
[maybe]
[ident #+ "ident/" Eq<Ident>]
(coll [list "list/" Functor<List> Fold<List> Monoid<List>]
- [set #+ Set]))
+ (set ["set" unordered #+ Set])))
[macro #+ Monad<Meta> "macro/" Monad<Meta>]
(macro [code]
["s" syntax #+ syntax:]
diff --git a/stdlib/source/lux/type/resource.lux b/stdlib/source/lux/type/resource.lux
index 526dbecc9..ce792af96 100644
--- a/stdlib/source/lux/type/resource.lux
+++ b/stdlib/source/lux/type/resource.lux
@@ -10,7 +10,7 @@
[number]
text/format
(coll [dict #+ Dict]
- [set]
+ (set ["set" unordered])
[sequence #+ Sequence]
[list "list/" Functor<List> Fold<List>]))
(concurrency [promise #+ Promise])