Skip to content

Commit

Permalink
Upgrade to ps 0.14.7 and string-parsers 7.0.0
Browse files Browse the repository at this point in the history
Due to breaking changes introduced in string-parsers 7.0.0.  Not
possible yet to build with spago because this version of string-parsers
does not yet live in the package-sets.
  • Loading branch information
newlandsvalley committed Mar 11, 2022
1 parent 0dca92d commit 06e524e
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 10 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

### Version 2.5.0 (2022-03-11)

* PS Compiler 0.14.7
* Enforced upgrade because of breaking changes in string-parsers 7.0.0

### Version 2.4.0 (2021-03-02)

* PS Compiler 0.14.0
Expand Down
12 changes: 8 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@
"url": "https://github.com/newlandsvalley/purescript-midi.git"
},
"dependencies": {
"purescript-prelude": "^5.0.0",
"purescript-lists": "^6.0.0",
"purescript-string-parsers": "^6.0.0",
"purescript-prelude": "^5.0.1",
"purescript-lists": "^6.1.0",
"purescript-string-parsers": "^7.0.0",
"purescript-integers": "^5.0.0",
"purescript-signal": "^12.0.1"
"purescript-signal": "^12.0.1",
"purescript-quickcheck": "^7.1.0",
"purescript-test-unit": "^16.0.0",
"purescript-node-buffer": "^7.0.1",
"purescript-node-fs-aff": "^7.0.0"
}
}
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
},
"devDependencies": {
"pulp": "^15.0.0",
"purescript": "^0.14.0",
"purescript": "^0.14.7",
"purescript-psa": "^0.6.0",
"spago": "^0.20.7",
"webpack": "^3.6.0"
}
}
3 changes: 2 additions & 1 deletion packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ in upstream
-------------------------------
-}
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.14.0/packages.dhall sha256:710b53c085a18aa1263474659daa0ae15b7a4f453158c4f60ab448a6b3ed494e
https://github.com/purescript/package-sets/releases/download/psc-0.14.7-20220303/packages.dhall
sha256:d7cbc15ea16768e4a4f99baa58a54559dd2648c6c1362de2469d9e41c23b28c3

in upstream
10 changes: 9 additions & 1 deletion spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,21 @@ You can edit this file as you like.
-}
{ name = "midi"
, dependencies =
[
[ "arrays"
, "control"
, "effect"
, "either"
, "foldable-traversable"
, "integers"
, "lists"
, "maybe"
, "ordered-collections"
, "prelude"
, "signal"
, "string-parsers"
, "strings"
, "tuples"
, "unfoldable"
]
, packages = ./packages.dhall
, sources = [ "src/**/*.purs" ]
Expand Down
6 changes: 3 additions & 3 deletions src/Data/Midi/Parser.purs
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ import Data.String.CodeUnits (fromCharArray, toCharArray)
import Data.Tuple (Tuple(..))
import Data.Unfoldable (replicateA)
import Prelude (Unit, unit, ($), (<$>), (<$), (<*>), (*>), (+), (-), (>), (<), (==), (>=), (<=), (&&), (>>=), (>>>), (<<<), (<>), map, pure, show, void)
import Text.Parsing.StringParser (Parser, runParser, try, fail)
import Text.Parsing.StringParser.Combinators (choice, many, many1Till, (<?>))
import StringParser (Parser, runParser, try, fail)
import StringParser.Combinators (choice, many, many1Till, (<?>))
-- import Text.Parsing.StringParser.String (anyChar, satisfy, string, char, noneOf)
import Text.Parsing.StringParser.CodePoints (anyChar, satisfy, string, char, noneOf)
import StringParser.CodePoints (anyChar, satisfy, string, char, noneOf)

{- debugging utilities
Expand Down

0 comments on commit 06e524e

Please sign in to comment.