small extension to `...` notation
Bulat Ziganshin
bulat.ziganshin at gmail.com
Thu Mar 9 02:59:09 EST 2006
Hello Doaitse,
Thursday, March 9, 2006, 12:01:37 AM, you wrote:
DS> xs `zipWith (+)` ys
i had the same desire several times
> Possibly `(<expr>)` ?
it will be non-readable. it is better to just prohibit using of
backquotes inside backquotes. and fixity can be fixed at 0, imho.
at least, my cases was just when i want to use two words inside
backquotes instead of just one. and fixity should be 0 because such
expression with space inside it should have a small priority because
parts of expression "too distant" from each other
(btw, i had (not serious) proposal to raise priority of operations if
there is no spaces around it, so that the following:
x:xs ++ y:ys
translates to
(x:xs)++(y:ys)
in full accordance with natural reading)
--
Best regards,
Bulat mailto:Bulat.Ziganshin at gmail.com
More information about the Haskell-prime
mailing list