Fraser Wilson <[EMAIL PROTECTED]> writes:

>                Isn't there a potential for confusion with function
>      composition (f . g)?

> Perhaps, but I always have spaces on either side when it's function
> composition.

Good for you.  Syntax that changes depending on spacing is my number
one gripe with the Haskell syntax.  And too many infix operators and
symbolic elements are on the list as well.

How about a pair of (magical, if necessary) functions called set and
get?  Letting you do something like

      x `set` first 4 `set` second "foo"
?

-k
-- 
If I haven't seen further, it is by standing in the footprints of giants

_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to