These are chat archives for ramda/ramda

15th
Mar 2016
Raine Virta
@raine
Mar 15 2016 00:27 UTC
!type signatures
ram-bot
@ram-bot
Mar 15 2016 00:27 UTC
Not a factoid
Roman Pominov
@rpominov
Mar 15 2016 00:30 UTC
@raine What do you mean?
!map
ram-bot
@ram-bot
Mar 15 2016 00:31 UTC
Not a factoid
Roman Pominov
@rpominov
Mar 15 2016 00:32 UTC
Hm, what is factoid?
Raine Virta
@raine
Mar 15 2016 00:37 UTC
Raine Virta
@raine
Mar 15 2016 00:37 UTC
!type signatures
Sebastien Daniel
@SebastienDaniel
Mar 15 2016 01:15 UTC
awesome
gotta love the Mostly Adequate Guide :)
Roman Pominov
@rpominov
Mar 15 2016 09:07 UTC
Thanks, @raine !
Matthew Steedman
@knubie
Mar 15 2016 16:16 UTC
Is there some way to make R.converge(R.call, [R.add, R.identity])(1) behave like R.call(R.add(1), R.identity(1))?
David Chambers
@davidchambers
Mar 15 2016 16:20 UTC
Sanctuary now has a website: sanctuary.js.org.
Raine Virta
@raine
Mar 15 2016 16:21 UTC
nice
Keith Alexander
@kwijibo
Mar 15 2016 19:30 UTC
is there a Ramda function for finding if one list is a subset of another? or intersections of lists?
Raine Virta
@raine
Mar 15 2016 19:31 UTC
R.intersection
Keith Alexander
@kwijibo
Mar 15 2016 19:34 UTC
thanks @raine, sorry don't know how i missed that
ah, because I was looking under List and intersection is under Relation
Scott Sauyet
@CrossEye
Mar 15 2016 20:20 UTC
We really need to enable multiple categories.
Scott Sauyet
@CrossEye
Mar 15 2016 20:29 UTC
@knubie: That looks difficult because of the arities.
Michael Silveira
@gravitypersists
Mar 15 2016 23:19 UTC
is there a way to assocPath to apply a function on the result? R.assocPath(['a'], add(1), { a: 0 }) => { a: 1 }
Jakub Korzeniowski
@kujon
Mar 15 2016 23:20 UTC
R.over(R.lensProp('a'), R.add(1), {a: 0})
Michael Silveira
@gravitypersists
Mar 15 2016 23:20 UTC
nice - thanks!
Scott Sauyet
@CrossEye
Mar 15 2016 23:23 UTC
@ram-bot: R.over(R.lensPath(['a']), R.add(1), {a: 0})
ram-bot
@ram-bot
Mar 15 2016 23:23 UTC
{ a: 1 }
Scott Sauyet
@CrossEye
Mar 15 2016 23:23 UTC
(if you really need paths instead of a single prop)