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

[REBOL] CHOP mezzanine or REMOVE refinements?

From: pwawood:mango:my at: 15-Dec-2004 20:09

Gregg et al I think that it would be most in keeping with the "Rebol way" if there were two new refinements for REMOVE - REMOVE/BEFORE & REMOVE/AFTER. I think they are relatively self-explanatory and they would be very readable: remove/before mystring find mystring "Peter" remove/after mystring find mystring "Wood" Of course it would be great if the before and after refinements included an implicit find so that you could code : remove/before mystring "Peter" remove/after mystring "Wood" Is there anyway to add refinements to existing Rebol functions as mezzanine code? Regards Peter