Skip to content

Commit d0f602a

Browse files
committed
fix for purescript-0.11
1 parent 5fcd569 commit d0f602a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bower.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"tests"
2323
],
2424
"dependencies": {
25-
"purescript-eff": "^2.0.0",
26-
"purescript-maybe": "^2.0.0"
25+
"purescript-eff": "^3.1.0",
26+
"purescript-maybe": "^3.0.0"
2727
}
2828
}

src/Web/Cookies.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ module Web.Cookies (
66
) where
77

88
import Prelude
9-
import Control.Monad.Eff (Eff)
9+
import Control.Monad.Eff (Eff, kind Effect)
1010
import Data.Array (uncons)
1111
import Data.Maybe (Maybe(Just, Nothing))
1212

13-
foreign import data COOKIE :: !
13+
foreign import data COOKIE :: Effect
1414

1515
-- | Set cookie with specified name and value. Last argument (opts) is a map of optional arguments such as expiration time
1616
foreign import setCookie :: forall eff value opts. String -> value -> opts -> Eff (cookie :: COOKIE | eff) Unit

0 commit comments

Comments
 (0)