These are chat archives for ramda/ramda

14th
Jun 2015
David Chambers
@davidchambers
Jun 14 2015 00:00
Keep fighting the good fight, @CrossEye!
Michael Hurley
@buzzdecafe
Jun 14 2015 00:04
yes, we'll watch
Hardy Jones
@joneshf
Jun 14 2015 02:46
A promise of promises? But that's non-sensical and would never happen in real programming, only in some theoretical fantasy land. Shame that promises-a+ thought that recognizing promises as monadic was ridiculous.
David Chambers
@davidchambers
Jun 14 2015 02:55
I’m starting to see the beauty (and usefulness) of lenses. @joneshf, how much of this (Haskell) stuff is transferrable to JavaScript, do you think?
Getting (ahem) get and set from Const and Identity is so elegant.
David Chambers
@davidchambers
Jun 14 2015 03:18
Thanks! I’ll have a look. :)
Hardy Jones
@joneshf
Jun 14 2015 03:20
well the great thing about it is that you can change Const or Identity for any other data type that models a computational effect, and magically you have some new function.
GÁBOR Áron Zsolt
@ashnur
Jun 14 2015 07:12
Hi, does ramda support any kind of lazy structure out of the box?
David Chambers
@davidchambers
Jun 14 2015 07:30
Ramda doesn’t provide any lazy data structures, but many of its methods dynamically dispatch. R.take(3, seq), for example, is equivalent to seq.take(3) if seq provides a take method.
GÁBOR Áron Zsolt
@ashnur
Jun 14 2015 07:31
Then I just have to find something which gives me such a seq then
David Chambers
@davidchambers
Jun 14 2015 07:32
Indeed. :)
GÁBOR Áron Zsolt
@ashnur
Jun 14 2015 07:32
Thanks!
David Chambers
@davidchambers
Jun 14 2015 07:32
You’re welcome. If you find a good library for working with lazy sequences, let us know.
GÁBOR Áron Zsolt
@ashnur
Jun 14 2015 07:33
Now you scare me, I saw in the github issues mentioned lazy.js, lz.js and highland. None of those are good?
Michael Hurley
@buzzdecafe
Jun 14 2015 12:03
i think they are all pretty good
GÁBOR Áron Zsolt
@ashnur
Jun 14 2015 12:20
the fact that i have to call .toArray on them doesn't make them too good
if at least I had a static function to do it, i mean, i can write one, but the fact that it's missing makes me think what other things they didn't think of
and what bothers me most is this love with.chaining.all.the.words.for.no.reason.at.all.just.because.some.one.likes.it
David Chambers
@davidchambers
Jun 14 2015 18:51
v0.15.0 is available! ramda/ramda#1186
James Forbes
@JAForbes
Jun 14 2015 23:11
Man, I am so behind on all these new ramda functions.