Hacker News new | ask | show | jobs
by fwouts 748 days ago
Unless I completely misunderstood the post, a function that calls another function with effects will indeed be "infected". That is, unless the effect ends up being local (such as passing a mutable reference to a local variable).