- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: State monad & withFilter
Mon, 2011-03-14, 16:22
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