You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I could be wrong, but my impressions from the docs is that they aren't in the language. But given that most modern languages have some kind of closure/lambda, it would probably be good to explicitly state if zig doesn't have them, and why (or maybe there are plans to add them but it hasn't happened yet?). At the very least it seems like you should be able to statically define an anonymous function from a compile time function, similar to what you can do with a struct.
Anonymous functions (lambda functions) seem either to be missing for the docs or the language ;)
The text was updated successfully, but these errors were encountered: