Invisible <voi### [at] devnull> wrote:
> > If I'm not mistaken, for example assignment produces a side-effect.
> > Even I/O causes side-effects.
> Assignment and I/O are both side-effects. Accessing an indexed array
> does not. There is absolutely no reason why a pure functional language
> cannot have arrays.
Are you telling me in Haskell you can't modify the contents of an array
in-place? (By "indexable array" I implied that it can be assigned to,
although I should have perhaps stated it more explicitly.)
--
- Warp
Post a reply to this message
|