Skip to content

Commit b76f681

Browse files
committed
Whoops, forgot to update FFI code from tuples
1 parent daa1bd8 commit b76f681

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Control/Monad/Eff/Ref.purs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ foreign import modifyRef' """
2828
return function(f) {
2929
return function() {
3030
var t = f(ref.value);
31-
ref.value = t.value0;
32-
return t.value1;
31+
ref.value = t.newState;
32+
return t.retVal;
3333
};
3434
};
3535
}

0 commit comments

Comments
 (0)