purs-pkg-deps
Version:
Query package dependencies in PureScript package-sets
30 lines (25 loc) • 481 B
JavaScript
;
exports.length = function (list) {
return function () {
return list.length;
};
};
exports.toArray = function (list) {
return function () {
return [].slice.call(list);
};
};
exports._item = function (index) {
return function (list) {
return function () {
return list.item(index);
};
};
};
exports._namedItem = function (name) {
return function (list) {
return function () {
return list.namedItem(name);
};
};
};