These are chat archives for ramda/ramda

29th
Mar 2015
Jethro Larson
@jethrolarson
Mar 29 2015 07:07
David Chambers
@davidchambers
Mar 29 2015 07:10
It's loading for me.
Ludwig Magnusson
@TheLudd
Mar 29 2015 11:21
@jethrolarson @davidchambers Is the site hosted by github? Github has been under a long dos attack this weekend. https://status.github.com/messages?latest
Raine Virta
@raine
Mar 29 2015 11:23
does anyone annotate their functions in javascript with type signatures?
wondering if there's any value in that, @drboolean seems to do it
Ludwig Magnusson
@TheLudd
Mar 29 2015 11:25
@raine do you have an example of it?
Michael Hurley
@buzzdecafe
Mar 29 2015 13:06
type signatures are pretty useful when building up a composition IMO
Raine Virta
@raine
Mar 29 2015 13:18
last night I had the weirdest bug from extending global with ramda
through2 stream just didn't emit anything, no error
ate up an hour
Hardy Jones
@joneshf
Mar 29 2015 13:45
@paldepind the api you want for functionize sounds sort of like what real traits are.
There's a really good intro paper into them, lemme see if i can dig it up
Hardy Jones
@joneshf
Mar 29 2015 13:50
The conflict resolution.
Simon Friis Vindum
@paldepind
Mar 29 2015 14:39
@joneshf: Interesting. Can you briefly explain how traits are similar?
Scott Sauyet
@CrossEye
Mar 29 2015 14:52
@joneshf: I've read the Traits paper before; if I understand Simon's goals correctly, then this is not particularly relevant. As I see it, the point is to convert an obj.method(args..) API into a func(args,. obj) one in some convenient manner.
Hardy Jones
@joneshf
Mar 29 2015 15:08
Maybe I misunderstood the api
i just meant the conflict resolution parts of traits
Simon Friis Vindum
@paldepind
Mar 29 2015 15:20
@CrossEye: Yes. That is currently the main goal. Reordering arguments is another one. I've also considered adding copy/clone wrappers to make destructive functions pure.