Comment by ozgrakkurt
2 days ago
Really can’t see how it could be made simpler. Function pointer can’t be a closure because it means something different. You can pass pointers different functions without having multiple versions of the function you are calling. Closures have a unique type and they require you to use generics.
No comments yet
Contribute on Hacker News ↗