These are chat archives for pozadi/kefir

6th
Jul 2015
Ulric Wilfred
@shamansir
Jul 06 2015 03:42
It usually happens for me that inside bufferWhileBy/handlePrimaryValue, this._lastSecondary is not Kefir.NOTHING by itself, but rather [ Kefir.NOTHING ]. Is that right?
Roman Pominov
@rpominov
Jul 06 2015 07:43
interesting. Are you sure it's not just Kefir.NOTHING? Because Kefir.NOTHING is an array with a string <nothing> in it https://github.com/rpominov/kefir/blob/master/src/constants.js#L1
Ulric Wilfred
@shamansir
Jul 06 2015 12:49
This message was deleted
Hmm, yes, you are right, I haven't expected it's an array from the start. Sorry.
Roman Pominov
@rpominov
Jul 06 2015 13:05
np) It looks a bit weird, but was the best option i could come up with (stole from Bacon actually :smile: ). We need it to be an object so it would be unique. We could use simple {}, but ['<nothing>'] is better recognizable when debugging.