---Sherlock, Ric wrote: > ---Raul Miller wrote: > > Variations on this theme include: > > > > [1] providing an adverb where you can pass this verb > > directly, rather than by name. > > > > [2] Pass an optional gerund which represents this verb. > > > > [3] Using a predefined name whose definition can be overridden by > > the user. > > > > [4] Using a predefined name which is used relative to the > > current locale, and whose definition can be overridden by > > the user, using J's locale mechanism. > > I will play with these a bit more but my initial reaction to > these different options are as follows: > > [1] Not so attractive for an optional argument for the > reasons you mention. > > [2] I'm really interested in playing with this one to see how > easy it is to specify and use the gerund. > > [3] That would be relatively easy to implement but I don't > like the idea of the user fiddling with definitions in the > addon locale. Also any change will be global to all instances > of deoptim. > > [4] Addresses issues for [3] but adds complexity, will need > to see how much of a hassle that will be.
After some brief experimentation with [2] I wasn't able to come up with any solution that looked attractive. I then tried to implement [4] and was able to do so with very little effort. I have updated the deoptim addon accordingly and am happy with the improvement. Thanks again for the suggestions! ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
