|
|
Orchid XP v7 <voi### [at] devnull> wrote:
> As posted elsewhere, what Warp *really* means is "arrays with in-place
> update". Which *is* strictly speaking against functional style. (But
> that doesn't stop you using it even in a pure functional language such
> as Haskell...)
Well, modifying an array in-place means it's a side-effect, which
means Haskell is not pure.
OTOH, why would that be a bad thing? Just being "pure functional" for
the sake of being pure is counter-productive. There are many situations
where being able to handle arrays in-place is more or less mandatory
for efficiency. Trying to avoid it would sometimes be more awkward than
would be worth.
--
- Warp
Post a reply to this message
|
|