[rust-dev] Swapping elements in a vec

Florian Weimer fw at deneb.enyo.de
Mon Feb 28 11:09:51 PST 2011


* Sebastian Sylvan:

> I think that if Haskell allows it, it's unlikely to be an issue even for
> purists. :-)

Haskell has potential side effects at every pattern match, so it can
hardly be used as a reference point for purity.


More information about the Rust-dev mailing list