Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Commit 3b71af9

Browse files
Merge pull request #37 from Thimoteus/compiler/0.12
updates for compiler version 0.12
2 parents 2ebd0cd + 1c9a894 commit 3b71af9

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

bower.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
"tests"
2424
],
2525
"dependencies": {
26-
"purescript-const": "^3.0.0",
27-
"purescript-distributive": "^3.0.0",
28-
"purescript-profunctor": "^3.0.0"
26+
"purescript-const": "^4.0.0",
27+
"purescript-distributive": "^4.0.0",
28+
"purescript-profunctor": "^4.0.0"
2929
},
3030
"devDependencies": {
31-
"purescript-psci-support": "^3.0.0",
32-
"purescript-console": "^3.0.0"
31+
"purescript-psci-support": "^4.0.0",
32+
"purescript-console": "^4.1.0"
3333
}
3434
}

package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "purescript-lens",
3-
"version": "3.0.0",
3+
"version": "4.0.0",
44
"description": "PureScript implementation of Lens",
55
"license": "MIT",
66
"homepage": "https://github.com/joneshf/purescript-lens",
@@ -23,9 +23,9 @@
2323
"test": "pulp test"
2424
},
2525
"devDependencies": {
26-
"pulp": "^11.0.0",
27-
"purescript": "^0.11.1",
28-
"purescript-psa": "^0.5.0",
29-
"rimraf": "^2.6.1"
26+
"pulp": "^12.3.0",
27+
"purescript": "^0.12.0",
28+
"purescript-psa": "^0.7.2",
29+
"rimraf": "^2.6.2"
3030
}
3131
}

src/Optic/Setter.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module Optic.Setter
2121
import Data.Identity (Identity(..))
2222
import Data.Maybe (Maybe(..))
2323
import Data.Newtype (unwrap)
24-
import Data.Profunctor (lmap, rmap, class Profunctor)
24+
import Data.Profunctor (lcmap, rmap, class Profunctor)
2525

2626
import Optic.Internal.Setter (taintedDot, untaintedDot, class Settable)
2727
import Optic.Types (ASetter(), ASetter'(), Optical(), Setter(), Setting())
@@ -44,7 +44,7 @@ module Optic.Setter
4444
infixr 4 setJust as ?~
4545

4646
argument :: forall p r a b. Profunctor p => Setter (p b r) (p a r) a b
47-
argument = sets lmap
47+
argument = sets lcmap
4848

4949
contramapped :: forall f a b. Contravariant f => Setter (f a) (f b) b a
5050
contramapped = sets (>$<)

test/Main.purs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Test.Main where
22

3-
import Control.Monad.Eff (Eff)
4-
import Control.Monad.Eff.Console (CONSOLE, logShow)
3+
import Effect (Effect)
4+
import Effect.Console (logShow)
55

66
import Optic.Core
77

@@ -43,7 +43,7 @@ module Test.Main where
4343
succ :: Int -> Int
4444
succ x = x + 1
4545

46-
main :: forall r. Eff (console :: CONSOLE | r) Unit
46+
main :: Effect Unit
4747
main = do
4848
logShow obj -- (Foo 0 true)
4949
logShow $ _Foo..baz .~ 10 $ obj -- (Foo 0 10)

0 commit comments

Comments
 (0)