These are chat archives for ramda/ramda

25th
Feb 2019
Zephilim
@Zephilim
Feb 25 13:59
Anyone here using ramda with Typescript? There seems to be caveats (that I wasn't expecting). Is it practical to use ramda with typescript, or is it simply error prone?
Perhaps split my app into 2 parts, the part which uses ramda: just a regular js project, then import this into a typescript client app. Any thoughts?
Kurt Milam
@kurtmilam
Feb 25 16:19
@Zephilim If you scroll back a few days in the gitter history, you'll see a discussion about the intersection of TypeScript and Ramda.
Zephilim
@Zephilim
Feb 25 16:20
Ooh thanks, @kurtmilam , just taking a look ...
Ah damn it. That's not what I wanted to read. I love ramda, but I also love typescript
Since I can do functional programming with rxjs, I'll have to ditch ramda for now, and use it on another project instead
Kurt Milam
@kurtmilam
Feb 25 16:24
:(
Zephilim
@Zephilim
Feb 25 16:25
But I'm glad I found out about that now, rather than waste time and lose hair trying to get those 2 working together
Still love ramda tho, its the best fp lib out there :)
Kurt Milam
@kurtmilam
Feb 25 16:29
@Zephilim fp-ts might be worth a look. I've avoided TS for the most part, so far, so I don't have much more to add.
Zephilim
@Zephilim
Feb 25 16:32
Hey @evdama, what do you mean by opting into ts gradually? Do you mean you can have parts of the same project TS and the rest using javascript? If so that would be great
Thanks @kurtmilam, just looking at fp-ts
Zephilim
@Zephilim
Feb 25 16:37
I suppose, you could configure webpack to compile ts code from a source tree let's call, that ts-src, and then bundle its output with the rest of the application js source. Would that be a goer? If so, I might take this route