Re:Rust vs. Haskell
by chongli on Tuesday February 14, 2023 @10:30AM
(#34790698)
That’s really nice. One of my favourite uses for returning closures is to separate a function into ‘configuration’ and ‘execution’ stages. It becomes extremely useful when you have a ton of parameters but only a few change between typical invocations.
[ Parent
| on HN ]
There are no comments on this comment yet.