asoffer / Icarus

An experimental general-purpose programming language
Apache License 2.0
9 stars 2 forks source link

Support closures #32

Open perimosocordiae opened 3 years ago

perimosocordiae commented 3 years ago

No such syntax exists. I'd like a syntax for capturing but I think we first need a solution for lifetime tracking. Or at least start captures with by-value only. If you're interested, feel free to open an issue as a proposal for syntax and semantics.

Originally posted by @asoffer in https://github.com/asoffer/Icarus/issues/30#issuecomment-738553892