Skip to content

Commit

Permalink
purs: update for purescript 0.15.8
Browse files Browse the repository at this point in the history
  • Loading branch information
asarhaddon committed Aug 7, 2024
1 parent c05d376 commit 1717a2c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
3 changes: 2 additions & 1 deletion impls/purs/packages.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ in upstream
-------------------------------
-}
let upstream =
https://github.com/purescript/package-sets/releases/download/psc-0.14.2-20210713/packages.dhall sha256:654c3148cb995f642c73b4508d987d9896e2ad3ea1d325a1e826c034c0d3cd7b
https://github.com/purescript/package-sets/releases/download/psc-0.15.8-20230420/packages.dhall
sha256:01f6ef030637be27a334e8f0977d563f9699543f596d60e8fb067e4f60d2e571

in upstream
1 change: 0 additions & 1 deletion impls/purs/spago.dhall
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ to generate this file without the comments in this block.
, "ordered-collections"
, "parsing"
, "prelude"
, "psci-support"
, "refs"
, "strings"
, "tailrec"
Expand Down
9 changes: 5 additions & 4 deletions impls/purs/src/Reader.purs
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ import Data.List (List(..), many, (:))
import Data.Maybe (Maybe(..), fromMaybe)
import Effect (Effect)
import Effect.Exception (throw)
import Parsing (Parser, fail, runParser)
import Parsing.Combinators (endBy, skipMany, skipMany1, try)
import Parsing.String (char, string)
import Parsing.String.Basic (noneOf, oneOf)
import Parsing.Token (digit, letter)
import Printer (keyValuePairs)
import Text.Parsing.Parser (Parser, fail, runParser)
import Text.Parsing.Parser.Combinators (endBy, skipMany, skipMany1, try)
import Text.Parsing.Parser.String (char, noneOf, oneOf, string)
import Text.Parsing.Parser.Token (digit, letter)
import Types (MalExpr(..), charListToString, listToMap, toHashMap, toList, toVector)


Expand Down
6 changes: 3 additions & 3 deletions impls/purs/src/Readline.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
"use strict";

var readlineSync = require('readline-sync')
import readlineSync from 'readline-sync'

exports.readLine = function (x) {
export const readLine = function (x) {
return function () {
const result = readlineSync.question(x);

Expand All @@ -14,4 +14,4 @@ exports.readLine = function (x) {
}


exports.argv = process.argv;
export const argv = process.argv;

0 comments on commit 1717a2c

Please sign in to comment.