Software Unscripted cover image

Defunctionalization in a Functional Language with Ayaz Hafiz

Software Unscripted

CHAPTER

Depunctionalization in ROC

Every single function you use in ROC has an implicit in its type is information about what that function value does back to you. So that's not visible in the type system. It's like secret metadata that's tracked by the compiler in the like type checking phase, but it's never syntactically visible. And also, that was a really important design constraint in the sense that they have to feel like normal closures in a functional language. You have to be able to do all the normal closure stuff with them or else it's like, what is this language? Yeah. Absolutely.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner