Re: ? 1={}, is there really any other interpretation?
- Posted by Juergen Luethje <j.lue at ?mx?de> Jul 18, 2007
- 608 views
Rob wrote: <snip> > There was a built-in function in APL that did this. > It was used a great deal. This would add value to > relational and logical sequence ops, something people here > were complaining they rarely used. Maybe someone should write > a fast "filter" built-in routine in C code (assuming a majority want it). > In many cases it might still be faster to use atomic ops in a loop > for this, but this would probably be quite handy. I agree. In another post, you wrote about several other built-in functions in APL, and how useful they had been. A long time ago, I tried to use built-in sequence operations in Euphoria whenever possible, because at that time I had assumed that they are aƶways faster than loops. In most cases I ended up with 'for' or 'while' loops instead, just because what I wanted to do was not possible with built-in sequence operations. So if built-in sequence operations should really become an important feature of Euphoria (like it had been in APL), Euphoria actually should provide more support for it (like there had been in APL). Besides a filter() routine, functions such as sum(s), min(s), max(s) spontaneously come to my mind. Regards, Juergen