These are chat archives for ramda/ramda

9th
Sep 2015
David Chambers
@davidchambers
Sep 09 2015 01:34
Cool GitHub feature: Protected branches and required status checks. I’ve made master a protected branch.
Scott Sauyet
@CrossEye
Sep 09 2015 02:25
Nice. Was considering it, but thought it mostly had to do with Travis et al, and wasn't sure I wanted that. Definitely like this config.
Raine Virta
@raine
Sep 09 2015 12:25
any favorite libs for making assertions on objects, to ensure data is correct?
Ludwig Magnusson
@TheLudd
Sep 09 2015 12:38
@raine do you mean format or values?
Raine Virta
@raine
Sep 09 2015 12:39
I suppose combination of both
this key should exist, that key can have these values etc.
Aldwin Vlasblom
@Avaq
Sep 09 2015 12:45
There are a lot of implementations of http://json-schema.org/. There seems to be some kind of race going where people are finding ways to get it to perform better and better. When I did my research a few weeks ago ajv came out fastest. But that may have already changed again. :P
The only one I ever actually used was revalidator, but I think that's ancient by now.
Esa-Matti Suuronen
@epeli
Sep 09 2015 15:47
Could some explain why this doesn't work: http://bit.ly/1QoczOt ?
Scott Sauyet
@CrossEye
Sep 09 2015 15:58
See #1318. I'm having a hard time writing up my proposal to fix this. I think I'm going to have to do a revert first and full fix later. Note that this worked in v0.15: http://bit.ly/1EOD3Yr
Denis Stoyanov
@xgrommx
Sep 09 2015 16:00
@epeli Why you don't use something like this http://bit.ly/1hXxKer?
Scott Sauyet
@CrossEye
Sep 09 2015 16:06
@xgrommx: the code from @epeli is more generally useful. find(3)(list) . find(42)(anotherList), etc.
OTOH, this is exactly what useWith is for: http://bit.ly/1hXzN2c
Denis Stoyanov
@xgrommx
Sep 09 2015 16:15
@CrossEye probably R.identity isn't necessary I think
Scott Sauyet
@CrossEye
Sep 09 2015 16:43
It's not essential, but it gives the resulting function the correct arity.
David Chase
@davidchase
Sep 09 2015 21:36
hey guys, so i have been using ramda/sanctuary a lot recently at work!! so i cloned the repl re-skinned and added sanctuary and ramda-fantasy to play around with… thought i would share it :stuck_out_tongue: http://davidchase.github.io/ramtuary/
David Chambers
@davidchambers
Sep 09 2015 21:37
@davidchase, I :heart: the R.toString-derived output!
David Chase
@davidchase
Sep 09 2015 22:39
@davidchambers thanks, but i dont think I did anything special :smirk:
David Chambers
@davidchambers
Sep 09 2015 22:47
It's nice to see Just(42) displayed as Just(42) rather than {value: 42}, and Nothing() as Nothing() rather than {}.
David Chase
@davidchase
Sep 09 2015 22:50
yeah definetely!
David Chambers
@davidchambers
Sep 09 2015 22:51
By that way, I'm planning to release Sanctuary v0.7.0 in the near future. There are lots of changes.
David Chase
@davidchase
Sep 09 2015 23:02
looking forward to that, i also considering adding a dropdown to allow version selection, since some people still use ramda 0.15 because of the famous #1318 debate :P