aboutsummaryrefslogtreecommitdiff
path: root/stdlib/source/lux/data/collection/set.lux
diff options
context:
space:
mode:
Diffstat (limited to 'stdlib/source/lux/data/collection/set.lux')
-rw-r--r--stdlib/source/lux/data/collection/set.lux8
1 files changed, 4 insertions, 4 deletions
diff --git a/stdlib/source/lux/data/collection/set.lux b/stdlib/source/lux/data/collection/set.lux
index 7b3e803a3..0a195f4eb 100644
--- a/stdlib/source/lux/data/collection/set.lux
+++ b/stdlib/source/lux/data/collection/set.lux
@@ -7,7 +7,7 @@
[data
[collection
["dict" dictionary (#+ Dictionary)]
- ["." list ("#/." fold)]]]
+ ["." list ("#;." fold)]]]
[type
abstract]])
@@ -46,7 +46,7 @@
(def: #export (difference sub base)
(All [a] (-> (Set a) (Set a) (Set a)))
- (list/fold ..remove base (..to-list sub)))
+ (list;fold ..remove base (..to-list sub)))
(def: #export (intersection filter base)
(All [a] (-> (Set a) (Set a) (Set a)))
@@ -64,7 +64,7 @@
(def: (hash set)
(let [[hash _] (:representation set)]
- (list/fold (function (_ elem acc) (n/+ (:: hash hash elem) acc))
+ (list;fold (function (_ elem acc) (n/+ (:: hash hash elem) acc))
0
(..to-list set)))))
)
@@ -75,7 +75,7 @@
(def: #export (from-list hash elements)
(All [a] (-> (Hash a) (List a) (Set a)))
- (list/fold ..add (..new hash) elements))
+ (list;fold ..add (..new hash) elements))
(def: #export (sub? super sub)
(All [a] (-> (Set a) (Set a) Bit))