Skip to content

Commit

Permalink
Upgrade to purs v0.15 (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
klntsky authored Jun 8, 2022
1 parent 04f2ed8 commit dbc4c38
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 26 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"private": true,
"type": "module",
"scripts": {
"build": "pulp build -- --strict",
"test": "pulp test"
Expand Down
40 changes: 20 additions & 20 deletions packages.dhall
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.14.0-20210409/packages.dhall sha256:e81c2f2ce790c0e0d79869d22f7a37d16caeb5bd81cfda71d46c58f6199fd33f
https://github.com/purescript/package-sets/releases/download/psc-0.15.0-20220507/packages.dhall
sha256:cf54330f3bc1b25a093b69bff8489180c954b43668c81288901a2ec29a08cc64
with open-memoize =
{ dependencies =
[ "console"
, "effect"
, "psci-support"
, "strings"
, "lists"
, "either"
, "integers"
, "lazy"
, "maybe"
, "partial"
, "prelude"
, "tuples"
]
, repo =
"https://github.com/purescript-open-community/purescript-open-memoize.git"
, version =
"v6.1.0"
}
{ dependencies =
[ "console"
, "effect"
, "psci-support"
, "strings"
, "lists"
, "either"
, "integers"
, "lazy"
, "maybe"
, "partial"
, "prelude"
, "tuples"
]
, repo =
"https://github.com/purescript-open-community/purescript-open-memoize.git"
, version = "v6.1.0"
}

in upstream
4 changes: 2 additions & 2 deletions src/Options/Applicative/Builder/Completer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";
var execSync = require('child_process').execSync;
import execSync from 'child_process';

exports.execSyncCommand = function(command) {
export function execSyncCommand (command) {
return function() {
return execSync(command);
};
Expand Down
3 changes: 2 additions & 1 deletion src/Options/Applicative/Common.purs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ module Options.Applicative.Common (
import Prelude

import Control.Alt ((<|>))
import Control.Alternative (guard)
import Control.Monad.Free as Free
import Control.Monad.State.Trans (StateT(..), get, put, runStateT)
import Control.Monad.Trans.Class (lift)
import Control.MonadZero (empty, guard)
import Control.Plus (empty)
import Data.Array as Array
import Data.Exists (mkExists, runExists)
import Data.Foldable (any, elem, oneOf)
Expand Down
2 changes: 0 additions & 2 deletions src/Options/Applicative/Help/Chunk.purs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import Prelude

import Control.Alt (class Alt)
import Control.Alternative (class Alternative, class Plus)
import Control.MonadZero (class MonadZero)
import Data.Foldable (fold, foldr)
import Data.Generic.Rep (class Generic)
import Data.Show.Generic (genericShow)
Expand All @@ -45,7 +44,6 @@ derive newtype instance chunkPlus :: Plus Chunk
derive newtype instance chunkAlternative :: Alternative Chunk
derive newtype instance chunkBind :: Bind Chunk
derive newtype instance chunkMonad :: Monad Chunk
derive newtype instance chunkMonadZero :: MonadZero Chunk

instance chunkSemigroup :: Semigroup a => Semigroup (Chunk a) where
append = chunked append
Expand Down
2 changes: 1 addition & 1 deletion src/Options/Applicative/Help/Core.purs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Options.Applicative.Help.Core

import Prelude

import Control.MonadZero (guard)
import Control.Alternative (guard)
import Data.Array (foldr)
import Data.Array as Array
import Data.Array.NonEmpty (NonEmptyArray)
Expand Down

0 comments on commit dbc4c38

Please sign in to comment.