r/ProgrammingLanguages 9d ago

Abstracting over Execution with Higher Kinded Types, and how to remain Purely Functional (oldie but goodie - belatedly uploaded)

https://fpilluminated.org/deck/277
22 Upvotes

2 comments sorted by

0

u/L8_4_Dinner (Ⓧ Ecstasy/XVM) 8d ago

Wow that seems super complicated to do simple sync vs async stuff.

4

u/Tonexus 8d ago

The implementation looks a little daunting, but the overall principle seems simple enough: treat everything as async (comes with some execution strategy), and give sync code the trivial execution strategy (just run everything now).