Skip to content

Commit dbc4c38

Browse files
authored
Upgrade to purs v0.15 (#26)
1 parent 04f2ed8 commit dbc4c38

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
22
"private": true,
3+
"type": "module",
34
"scripts": {
45
"build": "pulp build -- --strict",
56
"test": "pulp test"

packages.dhall

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
let upstream =
2-
https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210409/packages.dhall sha256:e81c2f2ce790c0e0d79869d22f7a37d16caeb5bd81cfda71d46c58f6199fd33f
2+
https://github.com/purescript/package-sets/releases/download/psc-0.15.0-20220507/packages.dhall
3+
sha256:cf54330f3bc1b25a093b69bff8489180c954b43668c81288901a2ec29a08cc64
34
with open-memoize =
4-
{ dependencies =
5-
[ "console"
6-
, "effect"
7-
, "psci-support"
8-
, "strings"
9-
, "lists"
10-
, "either"
11-
, "integers"
12-
, "lazy"
13-
, "maybe"
14-
, "partial"
15-
, "prelude"
16-
, "tuples"
17-
]
18-
, repo =
19-
"https://github.com/purescript-open-community/purescript-open-memoize.git"
20-
, version =
21-
"v6.1.0"
22-
}
5+
{ dependencies =
6+
[ "console"
7+
, "effect"
8+
, "psci-support"
9+
, "strings"
10+
, "lists"
11+
, "either"
12+
, "integers"
13+
, "lazy"
14+
, "maybe"
15+
, "partial"
16+
, "prelude"
17+
, "tuples"
18+
]
19+
, repo =
20+
"https://github.com/purescript-open-community/purescript-open-memoize.git"
21+
, version = "v6.1.0"
22+
}
2323

2424
in upstream

src/Options/Applicative/Builder/Completer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"use strict";
2-
var execSync = require('child_process').execSync;
2+
import execSync from 'child_process';
33

4-
exports.execSyncCommand = function(command) {
4+
export function execSyncCommand (command) {
55
return function() {
66
return execSync(command);
77
};

src/Options/Applicative/Common.purs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,11 @@ module Options.Applicative.Common (
2121
import Prelude
2222

2323
import Control.Alt ((<|>))
24+
import Control.Alternative (guard)
2425
import Control.Monad.Free as Free
2526
import Control.Monad.State.Trans (StateT(..), get, put, runStateT)
2627
import Control.Monad.Trans.Class (lift)
27-
import Control.MonadZero (empty, guard)
28+
import Control.Plus (empty)
2829
import Data.Array as Array
2930
import Data.Exists (mkExists, runExists)
3031
import Data.Foldable (any, elem, oneOf)

src/Options/Applicative/Help/Chunk.purs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ import Prelude
1919

2020
import Control.Alt (class Alt)
2121
import Control.Alternative (class Alternative, class Plus)
22-
import Control.MonadZero (class MonadZero)
2322
import Data.Foldable (fold, foldr)
2423
import Data.Generic.Rep (class Generic)
2524
import Data.Show.Generic (genericShow)
@@ -45,7 +44,6 @@ derive newtype instance chunkPlus :: Plus Chunk
4544
derive newtype instance chunkAlternative :: Alternative Chunk
4645
derive newtype instance chunkBind :: Bind Chunk
4746
derive newtype instance chunkMonad :: Monad Chunk
48-
derive newtype instance chunkMonadZero :: MonadZero Chunk
4947

5048
instance chunkSemigroup :: Semigroup a => Semigroup (Chunk a) where
5149
append = chunked append

src/Options/Applicative/Help/Core.purs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Options.Applicative.Help.Core
1717

1818
import Prelude
1919

20-
import Control.MonadZero (guard)
20+
import Control.Alternative (guard)
2121
import Data.Array (foldr)
2222
import Data.Array as Array
2323
import Data.Array.NonEmpty (NonEmptyArray)

0 commit comments

Comments
 (0)