From: Charles Hixson Date: 2004-10-14T05:13:11+09:00 Subject: Re: ANN: Free-form-operators patch Yukihiro Matsumoto wrote: >Hi, > >In message "Re: ANN: Free-form-operators patch" > on Mon, 11 Oct 2004 17:38:39 +0900, Yukihiro Matsumoto writes: > >|I haven't settled my opinion about this patch. Surely this is a >|interesting change, but has some concerns. > >One thing to add: > >* This patch makes difficult to add new operators in the language in > the future. For example, I might feel like to add '->' behave as > lambda as in Perl6. > > matz. > One way to handle that (changing the patch a bit) is to require all user defined operators to be of the form \|.*\| e.g., |+|, or |-|. That would allow all user defined operators to be easily distinguished from the built-ins. This would allow any desired builtins to be added later, and also make the user defined operators readily recognizable.