bodil / purescript-signal

Elm style FRP library for PureScript
Apache License 2.0
258 stars 44 forks source link

Wrong extra parameter #52

Closed dbushenko closed 8 years ago

dbushenko commented 8 years ago

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).