These are chat archives for ramda/ramda

9th
Dec 2016
Drew
@dtipson
Dec 09 2016 01:58
@Bradcomp had forgotten about that article! I think I bookmarked it to come back later. One thing hugely lacking when learning about this stuff is exactly that. Some things seem so generic it's hard to imagine what the exceptions are, but that prevents you from really seeing the shape of what you're looking at
Jonah
@jonahx
Dec 09 2016 02:39
@davidchambers thx
general question for everyone: how many here are using purescript, either at work or in peronal projects? what are the pros and cons of using it in production? other thoughts?
Scott Sauyet
@CrossEye
Dec 09 2016 04:22
Never used it beyond "Hello World". But I don't really use any of the compile-to-js languages (except inasmuch as Babel is one.)
James Forbes
@JAForbes
Dec 09 2016 04:43

I'm planning to use it for work, but I just need to graft it to my existing build system.

This is as far as I got

but I plan to circle back at some point and try one view in it, or one endpoint and see how it fares
Jonah
@jonahx
Dec 09 2016 04:52
@CrossEye do you use typescript, flow, or sanctuary?
Brad Compton (he/him)
@Bradcomp
Dec 09 2016 06:20
I've messed around with Purescript and Pux a bit on personal stuff. It took a bit to get set up but once I was there the tooling is good and I like coding in it. I struggle with using a dsl instead of HTML, but that's more of just a familiarity thing.
Galileo Sanchez
@galileopy
Dec 09 2016 13:46
I find myself using this often, R.converge(fn, [R.compose(fn0, R.nthArg(0)), R.compose(fn1, R.nthArg(1))]) is there a ramda function that does that by default?
Matt Ross
@amsross
Dec 09 2016 13:54
@ram-bot
R.useWith
ram-bot
@ram-bot
Dec 09 2016 13:54
[Function: f2]
Matt Ross
@amsross
Dec 09 2016 13:54
not what I was expecting
@ram-bot
R.useWith(Math.pow, [R.identity, R.identity])(3, 4);
ram-bot
@ram-bot
Dec 09 2016 13:55
81
Matt Ross
@amsross
Dec 09 2016 13:55
ie: Math.pow(3, 4)
or @ram-bot
R.useWith(Math.pow, [R.dec, R.inc])(3, 4);
ie Math.pow(R.dec(3), R.inc(4))
Galileo Sanchez
@galileopy
Dec 09 2016 13:56
@amsross thanks, I did use that in the past, but could not remember what it was called
Matt Ross
@amsross
Dec 09 2016 14:53
@ram-bot R.prop
ram-bot
@ram-bot
Dec 09 2016 14:53
[Function: f2]
Matt Ross
@amsross
Dec 09 2016 14:53
R.prop