RE: Prototype of 'docase' notation

2011-08-26 Thread Tomas Petricek
docase (a,b,c) of ? Sebastian On Thu, Aug 25, 2011 at 9:48 PM, Tomas Petricek wrote: > Hello,! > at the Cambridge Hackathon, I started implementing an extension for > GHC that adds the 'docase' notation. The notation is a syntactic sugar > that can makes it easier to w

Prototype of 'docase' notation

2011-08-25 Thread Tomas Petricek
Hello,! at the Cambridge Hackathon, I started implementing an extension for GHC that adds the 'docase' notation. The notation is a syntactic sugar that can makes it easier to write code that works with monads that have three additional operations (parallel composition, choice and aliasing). Such mo