Skip to content

Commit

Permalink
Merge pull request #572 from op8867555/master
Browse files Browse the repository at this point in the history
fix type signature of peekSTArray
  • Loading branch information
paf31 committed Aug 24, 2014
2 parents 05b404d + 4f12939 commit 2e0559b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/source/prelude.rst
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ Values

newSTRef :: forall a h r. a -> Eff (st :: ST h | r) (STRef h a)

peekSTArray :: forall a h r. STArray h a -> Eff (st :: ST h | r) a
peekSTArray :: forall a h r. STArray h a -> Number -> Eff (st :: ST h | r) a

pokeSTArray :: forall a h r. STArray h a -> Number -> a -> Eff (st :: ST h | r) a

Expand Down
2 changes: 1 addition & 1 deletion prelude/prelude.purs
Original file line number Diff line number Diff line change
Expand Up @@ -923,7 +923,7 @@ module Control.Monad.ST where
\ return arr[i];\
\ };\
\ };\
\}" :: forall a h r. STArray h a -> Eff (st :: ST h | r) a
\}" :: forall a h r. STArray h a -> Number -> Eff (st :: ST h | r) a

foreign import pokeSTArray "function pokeSTArray(arr) {\
\ return function(i) {\
Expand Down

0 comments on commit 2e0559b

Please sign in to comment.