We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9a8f00d + b5d4614 commit 43da907Copy full SHA for 43da907
bower.json
@@ -17,6 +17,6 @@
17
"package.json"
18
],
19
"dependencies": {
20
- "purescript-eff": "^1.0.0"
+ "purescript-eff": "^2.0.0"
21
}
22
src/Control/Monad/ST.js
@@ -1,8 +1,5 @@
1
-/* global exports */
2
"use strict";
3
4
-// module Control.Monad.ST
5
-
6
exports.newSTRef = function (val) {
7
return function () {
8
return { value: val };
src/Control/Monad/ST.purs
@@ -1,6 +1,6 @@
module Control.Monad.ST where
-import Control.Monad.Eff (Eff(), runPure)
+import Control.Monad.Eff (Eff, runPure)
-- | The `ST` effect represents _local mutation_, i.e. mutation which does not
-- | "escape" into the surrounding computation.
0 commit comments