These are chat archives for ramda/ramda

27th
May 2017
Kevin Wallace
@kedashoe
May 27 2017 05:03
v0.24.0 up! ramda/ramda#2183 :tada:
Gabe Johnson
@gabejohnson
May 27 2017 05:06
:tada:
Jason Shin
@JasonShin
May 27 2017 10:50
@i-am-tom I've actually realised Async / Await is already quite declarative
It's just line by line code that results in x => y
@kedashoe SICK!
Tom Harding
@i-am-tom
May 27 2017 12:13
@JasonShin It’s certainly declarative, but it’s inherently stateful sequencing, which is why there’s no pretty way to compose :( there’s certainly nothing wrong with it, though
Jason Shin
@JasonShin
May 27 2017 12:32
yeah I agree.
Denis Stoyanov
@xgrommx
May 27 2017 20:13
@ram-bot
const triangle = scan(add, 0, Array.from({length: 10}, (_, i) => i + 1))
zipWith(add)(tail(triangle))(drop(2, triangle))
Michael Hurley
@buzzdecafe
May 27 2017 23:03
why Array.from({length: 10}, (_, i) => i + 1) and not range(1, 11)?