Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: On list! inconsistency [was Re: WYSIWYG programming]

From: rishi:picostar at: 1-Nov-2000 10:30

Speaking of lists, I was wondering why it is even considered a series datatype. About half of the series functions (such as 'reverse, etc..) either don't work, or work differently than other series datatypes. I would think since lists are different from other series datatypes, it makes more sense for it to be it's own datatype with it's own special functions such as: list-insert (instead of insert) list-remove etc.. While I'm on the subject of series functions - anyone know how to over-ride the default behaivor of 'insert function as follows: insert: func [item][insert list item] also tried: insert-item: :insert insert: func[item] [insert-item list item] and some other stuff with no success. Rishi Previously, you (Joel Neely) wrote: