Implications of pure and constant functions
Implications of pure and constant functions
Posted Jun 11, 2008 3:00 UTC (Wed) by rriggs (guest, #11598)In reply to: Implications of pure and constant functions by MisterIO
Parent article: Implications of pure and constant functions
Try this for clarity: "but not all pure functions are constant functions."
Posted Jun 11, 2008 6:42 UTC (Wed)
by nix (subscriber, #2304)
[Link]
Implications of pure and constant functions
Or "functions declared 'const' are implicitly 'pure', but not vice versa."