small extension to `...` notation

Stefan Holdermans stefan at cs.uu.nl
Thu Mar 9 02:16:47 EST 2006


Ben,

>>>  xs `zipWith (+)` ys

> Another problem is that it's not clear how to declare the fixity of  
> these things. Should they always have the default fixity? Should  
> they be required to have the form `<ident> <args>` and use the  
> fixity of `ident`? Neither approach seems very clean.

Following Philippa's suggestion to handle nesting, one could again  
treat `<ident>` and `<non-indent-expr>` differently and always assume  
the latter is given infix 9.

Regards,

   Stefan


More information about the Haskell-prime mailing list