On Mon, Feb 28, 2011 at 7:09 PM, Florian Weimer <[email protected]> wrote:

> * 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.
>

Returning _|_ isn't really a side effect. Total functional programming is a
whole other issue and I'm not sure that it's very common to consider partial
functions impure.

-- 
Sebastian Sylvan
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to