File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 22
22
" tests"
23
23
],
24
24
"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"
27
27
}
28
28
}
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ module Web.Cookies (
6
6
) where
7
7
8
8
import Prelude
9
- import Control.Monad.Eff (Eff )
9
+ import Control.Monad.Eff (Eff , kind Effect )
10
10
import Data.Array (uncons )
11
11
import Data.Maybe (Maybe (Just, Nothing))
12
12
13
- foreign import data COOKIE :: !
13
+ foreign import data COOKIE :: Effect
14
14
15
15
-- | Set cookie with specified name and value. Last argument (opts) is a map of optional arguments such as expiration time
16
16
foreign import setCookie :: forall eff value opts . String -> value -> opts -> Eff (cookie :: COOKIE | eff ) Unit
You can’t perform that action at this time.
0 commit comments