Re: Suggestions for improvement in Euphoria
- Posted by Mathew Hounsell <mat.hounsell at EXCITE.COM> Nov 24, 1998
- 461 views
To Gambit and others: I have sent a package to RDS with routines for sequence manipulation (SEQUENCE.E) Negative Length Slicing to Reverse a Sequence: Can't do it in slices but I have a fast reverse function, and a reverse_all function that reverses all sub sequences. Better Way to Slice to End of Sequence: I can't help you except to say I'm in favour of the end keyword. That and the add_section(), replace_section() and del_section() functions in SEQUENCE.E use -1 to stand for the length of the sequence. Multi-Depth Slicing: Add_Value(), Put_Value() and Get_Value() in SEQUENCE.E do this. {1,2,3,4} would reference [1][2][3][4] not atoms and subsequence in the index list are counted as errors. Grabbing More Than One High Level Element at Once: Never thought of that I may change my ?_Value() functions above to support it. -------------------- Sincerely, Mathew Hounsell Mat.Hounsell at MailExcite.Com _______________________________________________________ Get your free, private e-mail at http://mail.excite.com/