File tree 3 files changed +9
-9
lines changed
3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 13
13
" output"
14
14
],
15
15
"dependencies" : {
16
- "purescript-functions" : " ^2 .0.0" ,
17
- "purescript-arraybuffer-types" : " ^0.2 .0" ,
18
- "purescript-maybe" : " ^2 .0.0" ,
19
- "purescript-eff" : " ^2 .0.0" ,
20
- "purescript-uint" : " ^0.3 .0"
16
+ "purescript-functions" : " ^3 .0.0" ,
17
+ "purescript-arraybuffer-types" : " ^1.0 .0" ,
18
+ "purescript-maybe" : " ^3 .0.0" ,
19
+ "purescript-eff" : " ^3 .0.0" ,
20
+ "purescript-uint" : " ^1.0 .0"
21
21
},
22
22
"devDependencies" : {
23
23
"purescript-debug" : " ^2.0.0" ,
24
- "purescript-quickcheck" : " ^3 .0.0" ,
24
+ "purescript-quickcheck" : " ^4 .0.0" ,
25
25
"purescript-partial" : " ^1.2.0"
26
26
}
27
27
}
Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ module Data.ArrayBuffer.ArrayBuffer( ARRAY_BUFFER()
6
6
, fromString
7
7
) where
8
8
9
- import Control.Monad.Eff (Eff )
9
+ import Control.Monad.Eff (kind Effect , Eff )
10
10
import Data.Function.Uncurried (Fn3 , runFn3 )
11
11
import Data.ArrayBuffer.Types (ArrayBuffer , ByteOffset , ByteLength )
12
12
13
- foreign import data ARRAY_BUFFER :: !
13
+ foreign import data ARRAY_BUFFER :: Effect
14
14
15
15
-- | Create an `ArrayBuffer` with the given capacity.
16
16
foreign import create :: forall e . ByteLength -> Eff (arrayBuffer :: ARRAY_BUFFER | e ) ArrayBuffer
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ assertEquals expected actual = quickCheck' 1 $ expected == actual
23
23
main :: forall e
24
24
. Eff ( console :: CONSOLE
25
25
, random :: RANDOM
26
- , err :: EXCEPTION
26
+ , exception :: EXCEPTION
27
27
, arrayBuffer :: AB.ARRAY_BUFFER
28
28
| e )
29
29
Unit
You can’t perform that action at this time.
0 commit comments