diff --git a/js/Set.js b/js/Set.js index 469b679..2a30e9d 100644 --- a/js/Set.js +++ b/js/Set.js @@ -1,12 +1,10 @@ +import id from UnitJS.Fun; + return { make: make, Int: make({toKey: id, ofKey: parseInt}) }; -function id(x) { - return x; -} - function make(type) { type = type ?? {toKey: id, ofKey: id};