This page is no longer maintained — Please continue to the home page at www.scala-lang.org

Re: State monad & withFilter

No replies
Viktor Klang
Joined: 2008-12-17,
User offline. Last seen 1 year 27 weeks ago.


On Mon, Mar 14, 2011 at 4:09 PM, Paul Phillips <paulp@improving.org> wrote:
On 3/14/11 7:59 AM, martin odersky wrote:
The logical thing to do would be to make state changes undoable, and
implement withFilter(p) as if (!p) abort().

Either that, or FORK THE UNIVERSE.

STM to the rescue ;-)
 

Unrelatedly, I composed this email with my prehensile tail.

Sent from my Bipplevert



--
Viktor Klang,
Code Connoisseur
Work:   Scalable Solutions
Code:   github.com/viktorklang
Follow: twitter.com/viktorklang
Read:   klangism.tumblr.com

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland