Hacker News new | ask | show | jobs
by tuetuopay 141 days ago
Ha, yes, I see what you mean now. That's not really the closure's fault but monomorphization of the foo function. The specific thing you want to do would require boxing the value, or do more involved typing.