r/purescript • u/paldepind • Apr 23 '19
purescript-hareactive v0.1.0 released. A practical, powerful, and simple FRP library.
https://github.com/funkia/purescript-hareactive
15
Upvotes
r/purescript • u/paldepind • Apr 23 '19
View all comments
Show parent comment
6
u/paldepind Apr 23 '19 edited Apr 23 '19
Hi u/sociopath_in_me. Thank you for the great question. Here are my reasons:
I think of an FRP as something that enables a very beautiful form of high-level purely functional programming. But, FRP itself cannot, unfortunately, be implemented practically in a purely functional way (attempts has been made).
I also don't think there are any huge downsides to using TS as long as one is compiling PS to JS. In the future, I've considered compiling the TS to JS and including it directly in the PS package. Then one wouldn't even have to install an npm package.
I hope that answers your question. Let me know if it didn't or if you have further questions?