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

[REBOL] Re: 'compose on 'parse rules

From: al:bri:xtra at: 14-Jan-2002 21:17

Brett wrote:
> It may or may not make sense for your script but if you give the action a
name then you don't need the parens:
> >> my-action: [(print "i'm here!")] > == [(print "i'm here!")] > >> parse [ x ] compose [(to-word "word!") my-action] > i'm here! > == true
That's a very sensible idea, Brett. Thanks! Andrew Martin ICQ: 26227169 http://valley.150m.com/