Re: RFC: Breaking existing Euphoria functionality
- Posted by Andy Serpa <ac at onehorseshy.com> Feb 22, 2007
- 578 views
Michael J. Sabal wrote: > > Has anybody written a statement like this: > > result = ({'a','b','c'} = {'a','b','f'}) > > and expected result to look like this: > > ? result > {1,1,0}? > > Is there any code in the archives or recent user contributions (say less than > 3 years old) that takes advantage of this functionality? > I don't know about the user contributions, but I use this very Euphorian capability ALL THE TIME. Changing it would break almost a very high percentage of the Eu programs I've written over the years. Doing this kind of thing easily is one of the top reasons I use Euphoria at all. Don't break code, just add a new operator (== or whatever). I for one would like to see a conditional operator for sequence operations...