
Sign up to save your podcasts
Or


Sometimes we want to return a closure from a function, and sometimes that doesn't work the way we might expect. This will lead us on to how we should think of closures: they're not really like functions so much as automatically-generated structs with types we are not allowed to name. And all closures have different types, even if they're identical...?
Read my blog at https://artificialworlds.net/blog
Follow me on mastodon: @[email protected]
By Sometimes we want to return a closure from a function, and sometimes that doesn't work the way we might expect. This will lead us on to how we should think of closures: they're not really like functions so much as automatically-generated structs with types we are not allowed to name. And all closures have different types, even if they're identical...?
Read my blog at https://artificialworlds.net/blog
Follow me on mastodon: @[email protected]