These are chat archives for ramda/ramda

20th
Apr 2015
Ludwig Magnusson
@TheLudd
Apr 20 2015 12:17
is there a complement function to tail in ramda? I.e. get all elements from an array except the last one?
Brandon Wilhite
@JediMindtrick
Apr 20 2015 12:43
Hey, just wanted to drop by and say thanks for the great library. I really like it. Will be lurking in the room just to see if I can learn something. :)
Ludwig Magnusson
@TheLudd
Apr 20 2015 12:44
@JediMindtrick nice :)
Raine Virta
@raine
Apr 20 2015 13:43
TheLudd: init
Ludwig Magnusson
@TheLudd
Apr 20 2015 13:51
@raine thanks
Scott Sauyet
@CrossEye
Apr 20 2015 15:49
@JediMindtrick: Welcome! And we're all learning from one another... well @joneshf might just be slumming: he seems smarter than the rest of us put together. :smile:
Ludwig Magnusson
@TheLudd
Apr 20 2015 18:41
Question about Futures compared to Promises/A+:
Calling then on a resolved promise twice will give you the same value twice, it will not have any other effect. This is not really the same with Futures. Calling fork twice will do the exact same thing twice, for example make a http request. Has anyone else encountered this and has it been a problem? I am intending to transition from promises to futures and I try to catch all these gotchas before I go too deep.
Brandon Wilhite
@JediMindtrick
Apr 20 2015 19:22
@TheLudd not wanting to sidetrack on futures here...but do you know a good implementation?
Ludwig Magnusson
@TheLudd
Apr 20 2015 19:29
Well... ramda-fantasy is on its way. It works but is porlly documented. Folktale has one as well. That one is well documented. But ramdas has the additional benefit of running apin parallel
This is folktales: https://github.com/folktale/data.task
They call it "task"
Ludwig Magnusson
@TheLudd
Apr 20 2015 19:38
There is also this one by puffnfresh but it looks like it is missing the ap function. https://github.com/fantasyland/fantasy-promises
Brandon Wilhite
@JediMindtrick
Apr 20 2015 19:53
ty
Ludwig Magnusson
@TheLudd
Apr 20 2015 19:53
yw
Hardy Jones
@joneshf
Apr 20 2015 20:00
@CrossEye definitely not smarter. But I assure you I'm learning as much as everyone else :) Just different things.
Scott Sauyet
@CrossEye
Apr 20 2015 20:51
And he's modest too! All joking aside, though, @joneshf, it has been great to have you contributing here. I think most of the regulars are JS folks with somewhat limited exposure to the ML / Haskell world. You've brought a refreshingly different perspective to the conversation. Thanks.