From: "Hal E. Fulton" Date: 2002-04-12T16:22:57+09:00 Subject: Re: Idea for a new shorthand ----- Original Message ----- From: "Yukihiro Matsumoto" To: "ruby-talk ML" Sent: Friday, April 12, 2002 2:09 AM Subject: Re: Idea for a new shorthand > |Do you see where I'm going? I propose a special > |name "prior" that will automatically refer to the > |prior definition of any method that is being replaced. > |No aliases will be necessary. > | > | def system_method > | if today == Sunday > | # Do some stuff... > | end > | prior > | end > | > |What do you think? > > I know the problem you want to solve. I'm considering something like > CLOS's method combination, or Emacs's defadvice for the matter. OK, I am glad it is a sensible idea... I know nothing of CLOS or of this defadvice thing, however. If anyone wishes to enlighten me, I would like to learn. Matz, you are perhaps too busy for that... I would prefer you spend time on Rite... and I know you will write Rite rightly, right? Hal