Skip to content
This repository was archived by the owner on Mar 25, 2021. It is now read-only.

Commit 6f391a9

Browse files
committed
Bump deps for compiler/0.12
1 parent d851022 commit 6f391a9

File tree

3 files changed

+12
-13
lines changed

3 files changed

+12
-13
lines changed

bower.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@
1212
"url": "git://github.com/purescript/purescript-generics-rep.git"
1313
},
1414
"dependencies": {
15-
"purescript-enums": "^3.2.1",
16-
"purescript-foldable-traversable": "^3.0.0",
17-
"purescript-monoid": "^3.0.0",
18-
"purescript-prelude": "^3.0.0",
19-
"purescript-symbols": "purescript/purescript-symbols#compiler/0.12"
15+
"purescript-enums": "#compiler/0.12",
16+
"purescript-foldable-traversable": "#compiler/0.12",
17+
"purescript-monoid": "#compiler/0.12",
18+
"purescript-prelude": "#compiler/0.12",
19+
"purescript-symbols": "#compiler/0.12"
2020
},
2121
"devDependencies": {
22-
"purescript-assert": "^3.0.0",
23-
"purescript-console": "^3.0.0"
22+
"purescript-assert": "#compiler/0.12",
23+
"purescript-console": "#compiler/0.12"
2424
}
2525
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"scripts": {
44
"clean": "rimraf output && rimraf .pulp-cache",
55
"build": "eslint src && pulp build -- --censor-lib --strict",
6-
"test": "pulp test"
6+
"test": "pulp test --check-main-type Effect.Effect"
77
},
88
"devDependencies": {
99
"eslint": "^4.19.1",

test/Main.purs

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ module Test.Main where
22

33
import Prelude
44

5-
import Control.Monad.Eff (Eff)
6-
import Control.Monad.Eff.Console (CONSOLE, log, logShow)
5+
import Effect (Effect)
6+
import Effect.Console (log, logShow)
77
import Data.Enum (class BoundedEnum, class Enum, Cardinality(..), cardinality, fromEnum, pred, succ, toEnum, enumFromTo)
88
import Data.Generic.Rep as G
99
import Data.Generic.Rep.Bounded as GBounded
@@ -12,7 +12,7 @@ import Data.Generic.Rep.Eq as GEq
1212
import Data.Generic.Rep.Ord as GOrd
1313
import Data.Generic.Rep.Show as GShow
1414
import Data.Maybe (Maybe(..))
15-
import Test.Assert (ASSERT, assert)
15+
import Test.Assert (assert)
1616

1717
data List a = Nil | Cons { head :: a, tail :: List a }
1818

@@ -105,9 +105,8 @@ instance boundedEnumPair :: (BoundedEnum a, BoundedEnum b) => BoundedEnum (Pair
105105
cardinality = GEnum.genericCardinality
106106
toEnum = GEnum.genericToEnum
107107
fromEnum = GEnum.genericFromEnum
108-
109108

110-
main :: Eff (console :: CONSOLE, assert :: ASSERT) Unit
109+
main :: Effect Unit
111110
main = do
112111
logShow (cons 1 (cons 2 Nil))
113112

0 commit comments

Comments
 (0)