diff options
Diffstat (limited to '')
-rw-r--r-- | stdlib/source/library/lux/data/collection/set/multi.lux | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/source/library/lux/data/collection/set/multi.lux b/stdlib/source/library/lux/data/collection/set/multi.lux index df4db9a85..9d746ae52 100644 --- a/stdlib/source/library/lux/data/collection/set/multi.lux +++ b/stdlib/source/library/lux/data/collection/set/multi.lux @@ -1,7 +1,7 @@ ## https://en.wikipedia.org/wiki/Multiset (.module: [library - [lux #* + [lux (#- list) [abstract [equivalence (#+ Equivalence)] [hash (#+ Hash)]] @@ -59,7 +59,7 @@ (All [a] (-> (Set a) a Nat)) (|> set :representation (dictionary.get elem) (maybe.else 0))) - (def: #export to_list + (def: #export list (All [a] (-> (Set a) (List a))) (|>> :representation dictionary.entries @@ -155,7 +155,7 @@ (def: #export (of_set subject) (All [a] (-> (//.Set a) (Set a))) (..of_list (//.member_hash subject) - (//.to_list subject))) + (//.list subject))) (def: #export super? {#.doc (doc "Is 'subject' a super-set of 'reference'?")} |