From 57a3758daf38e1ccc57b6cea335d4288be9cd6b1 Mon Sep 17 00:00:00 2001 From: milesfrain Date: Sat, 9 Jan 2021 16:34:37 -0800 Subject: [PATCH 1/2] Minor simplification of foreign arrayExtend Seems like taking the optional array argument in the map callback is unnecessary (unless there's some performance reason for writing it this way). I think this simplified version will make it more obvious what's going on. --- src/Control/Extend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Control/Extend.js b/src/Control/Extend.js index 05c8ecf..17a8983 100644 --- a/src/Control/Extend.js +++ b/src/Control/Extend.js @@ -2,7 +2,7 @@ exports.arrayExtend = function(f) { return function(xs) { - return xs.map(function (_, i, xs) { + return xs.map(function (_, i) { return f(xs.slice(i)); }); }; From e8f8d9206e4a5bfdc7db6d3414807f48ae49b011 Mon Sep 17 00:00:00 2001 From: milesfrain Date: Sun, 10 Jan 2021 13:51:53 -0800 Subject: [PATCH 2/2] Fix CI by updating to 0.14.0-rc5 --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 55efa3d..f4f44e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: - uses: purescript-contrib/setup-purescript@main with: - purescript: "0.14.0-rc3" + purescript: "0.14.0-rc5" - uses: actions/setup-node@v1 with: