Please see purescript-signal/src/Signal/Channel.js, lines 12-14:
exports.sendP =
function sendP(chan, v) {
return function(v) {
sendP accepts two parameters (chan and v), and v in sendP is redefined (and thus -- ignored) in further anonymous function. It looks like the signature should be just function sendP(chan).
Please see purescript-signal/src/Signal/Channel.js, lines 12-14:
exports.sendP = function sendP(chan, v) { return function(v) {
sendP accepts two parameters (chan and v), and v in sendP is redefined (and thus -- ignored) in further anonymous function. It looks like the signature should be just function sendP(chan).