These are chat archives for ramda/ramda

15th
Mar 2016
Raine Virta
@raine
Mar 15 2016 00:27
!type signatures
ram-bot
@ram-bot
Mar 15 2016 00:27
Not a factoid
Roman Pominov
@rpominov
Mar 15 2016 00:30
@raine What do you mean?
!map
ram-bot
@ram-bot
Mar 15 2016 00:31
Not a factoid
Roman Pominov
@rpominov
Mar 15 2016 00:32
Hm, what is factoid?
Raine Virta
@raine
Mar 15 2016 00:37
ram-bot
@ram-bot
Mar 15 2016 00:37
Raine Virta
@raine
Mar 15 2016 00:37
!type signatures
Sebastien Daniel
@SebastienDaniel
Mar 15 2016 01:15
awesome
gotta love the Mostly Adequate Guide :)
Roman Pominov
@rpominov
Mar 15 2016 09:07
Thanks, @raine !
Matthew Steedman
@knubie
Mar 15 2016 16:16
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
Sanctuary now has a website: sanctuary.js.org.
Raine Virta
@raine
Mar 15 2016 16:21
nice
Keith Alexander
@kwijibo
Mar 15 2016 19:30
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
R.intersection
Keith Alexander
@kwijibo
Mar 15 2016 19:34
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
We really need to enable multiple categories.
Scott Sauyet
@CrossEye
Mar 15 2016 20:29
@knubie: That looks difficult because of the arities.
Michael Silveira
@gravitypersists
Mar 15 2016 23:19
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
R.over(R.lensProp('a'), R.add(1), {a: 0})
Michael Silveira
@gravitypersists
Mar 15 2016 23:20
nice - thanks!
Scott Sauyet
@CrossEye
Mar 15 2016 23:23
@ram-bot: R.over(R.lensPath(['a']), R.add(1), {a: 0})
ram-bot
@ram-bot
Mar 15 2016 23:23
{ a: 1 }
Scott Sauyet
@CrossEye
Mar 15 2016 23:23
(if you really need paths instead of a single prop)