Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-10-21 11:29:23

"David Bergman" <davidb_at_[hidden]> writes:

> It has to do with purity, that Haskell is a pure language in the sense of an
> expression ALWAYS evaluating to the same value, so that the same exact
> expression can be substituted for that computed value wherever, whenever.

Even I can tell that has no bearing on side-effects, though:

  int z;
  int f(int x) { return z = x; }

f(y) is always y for any y
still, it has side-effects.

Dave Abrahams
Boost Consulting

Boost list run by bdawes at, gregod at, cpdaniel at, john at