mostjs / core

Most.js core event stream
http://mostcore.rtfd.io
MIT License
402 stars 36 forks source link

Is there a reason why `at(time, val)` is not curried? #676

Open semmel opened 6 months ago

semmel commented 6 months ago

Apart from runEffects, at seems to be the only (n>1)-ary function which is not auto-curried.

I find that surprising. Is there a reason for it?

briancavalier commented 6 months ago

Hey, @semmel. I don't think there's a reason--probably just an oversight. Sorry for the surprise. We'd happily accept a PR to curry it 😄

TylorS commented 6 months ago

It may be a good idea to start brainstorming what a 2.0 might look like now that we have something deferred there. Maybe we should create an issue dedicated to it so we can discuss our ideas?

Some off-the-cuff ideas I have:

TylorS commented 6 months ago

I created a discussion so we can have some amount of threading and such for conversation - https://github.com/mostjs/core/discussions/680