Skip to content

Commit

Permalink
Update for PureScript 0.12. voteliquid#8
Browse files Browse the repository at this point in the history
  • Loading branch information
epost committed Aug 29, 2018
1 parent 064b653 commit 8bb0d86
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions psc-package.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"name": "purescript-xml",
"set": "psc-0.11.6",
"set": "psc-0.12.0-20180819",
"source": "https://github.com/purescript/package-sets.git",
"depends": [
"prelude",
"maps",
"unordered-collections",
"lists",
"parsing",
"integers"
Expand Down
2 changes: 1 addition & 1 deletion src/Data/XML/Parse.purs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import Data.Array (fromFoldable, many, (:))
import Data.Char.Unicode (isAlpha, isAlphaNum)
import Data.Either (Either)
import Data.List (List(..), reverse)
import Data.String (fromCharArray)
import Data.String.CodeUnits (fromCharArray)
import Data.String.Unsafe (char) as Data.String.Unsafe
import Data.Tuple (Tuple(..))
import Data.XML.Types (XML(..), XMLAttribute)
Expand Down
2 changes: 1 addition & 1 deletion src/Data/XML/XPath/Parse.purs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import Control.Alternative ((<|>))
import Data.Array (many, (:))
import Data.Char.Unicode (isAlpha, isAlphaNum)
import Data.Maybe (Maybe(..))
import Data.String (fromCharArray)
import Data.String.CodeUnits (fromCharArray)
import Data.String.Unsafe (char) as Data.String.Unsafe
import Data.XML.Types (Axis(..), LocationStep(..), NodeTest(..), XPath(..))
import Text.Parsing.Parser (Parser)
Expand Down
6 changes: 3 additions & 3 deletions test/Main.purs
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
module Main where

import Prelude
import Control.Monad.Eff (Eff)
import Control.Monad.Eff.Console (CONSOLE, log)
import Effect (Effect)
import Effect.Class.Console (log)
import Data.Either (Either(..))
import Data.Identity (Identity(..))
import Data.Newtype (un)
import Data.XML (parseXML)
import Text.Parsing.Parser (parseErrorMessage, parseErrorPosition, runParserT)

main :: e. Eff (console :: CONSOLE | e) Unit
main :: Effect Unit
main =
case parseXML testXML of
Left err -> do
Expand Down

0 comments on commit 8bb0d86

Please sign in to comment.