[Haskell-cafe] Custom unary operator extension?

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Sun Sep 9 09:22:30 EDT 2007


On Sep 9, 2007, at 9:09 , Peter Verswyvelen wrote:
>> I think that the benefits of prefix or postfix symbolic operators  
>> were not worth dispensing with the comfortable section syntax.
> Well, that's personal I guess, but I would prefer the syntax (? /  
> 100) and (100 / ?), which is just a single extra character to type,  
> and hence allow unary operators, but hey, that's just me, the  
> newbie ;-)

I think I'd prefer _ instead of ? there, because it already has the  
meaning of "placeholder".

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list