Skip to content

Comment on Function Arguments Are Not Function Colors

Comments

Is `const`-ness (in the rust function keyword sense) a function color?

If you're using it diligently enough to where some functions can be statically proven "pure", then yes. You can't call an impure function from a pure one.

AboutSource Built by g1lg1l

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