Skip to content

Comment on An Experiment in Purely Functional IO for Clojureparent

Comments

That would be discarding the effect of print, since inputs aren't just ignored, but used to modify the system somehow somewhere. Replace print* by set!, `:=` if that helps.

Yes the relationship between input and output is clearly defined, though. Your point of view raises a good point about precision when talking about purity and functions.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.