Replies: 3 comments 3 replies
-
I have not used Affect yet. I use Task and TaskEither as a bridge to cross the boundaries I met. —— Sent from my baby walker |
Beta Was this translation helpful? Give feedback.
0 replies
-
TaskEither, ReaderTaskEither and StateReaderTaskEither for the win! |
Beta Was this translation helpful? Give feedback.
3 replies
-
I've dropped affect.ts in main. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've built a few cli tools in the past couple of months using fun and whenever I use Affect I find myself bound by the simplified format in interesting ways. I had intended for Affect to be a nicer bridge between non-fp deno libs and fp style tools, but I found that for some patterns it is much nicer to use TaskEither. In fact, I've yet to find a case where I'd rather use Affect over TaskEither.
Another issue is that purescript has Aff (which I realized after making the Affect adt) and it implements cancellation. While Deno does have abort controller, it would make sense for Affect to implement cancellation. Since it doesn't the interface feels lacking to me.
@baoshan @pixeleet What do you guys think? Have you used Affect? Do you think we should keep it?
Beta Was this translation helpful? Give feedback.
All reactions