Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-20 Thread denker
> On 20 Mar 2017, at 16:34, denker wrote: > > Hi, > > Here is a slice that implements the #argsAsArray option: > > https://pharo.fogbugz.com/f/cases/19857/add-option-argsAsArray > > from a speed perspective, the question is if a dictionary makes sense… as it > would > need to be creat

Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-20 Thread denker
Hi, Here is a slice that implements the #argsAsArray option: https://pharo.fogbugz.com/f/cases/19857/add-option-argsAsArray from a speed perspective, the question is if a dictionary makes sense… as it would need to be created at runtime. Marcus > On 15 Mar 2017, at 11:25, de

Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread denker
> On 15 Mar 2017, at 11:09, Peter Uhnak wrote: > > On Wed, Mar 15, 2017 at 10:49:51AM +0100, denker wrote: >> >>> On 15 Mar 2017, at 10:35, Peter Uhnak wrote: >>> >>> Hi, >>> >>> is it possible to create a metalink on arbitrary amount of arguments? >>> >>> Right now the metaObject and selec

Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread Peter Uhnak
On Wed, Mar 15, 2017 at 10:49:51AM +0100, denker wrote: > > > On 15 Mar 2017, at 10:35, Peter Uhnak wrote: > > > > Hi, > > > > is it possible to create a metalink on arbitrary amount of arguments? > > > > Right now the metaObject and selector must have the same number of > > arguments, e.g. >

Re: [Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread denker
> On 15 Mar 2017, at 10:35, Peter Uhnak wrote: > > Hi, > > is it possible to create a metalink on arbitrary amount of arguments? > > Right now the metaObject and selector must have the same number of arguments, > e.g. > > MetaLink new > metaObject: [ :object :selector :args | ... ]; >

[Pharo-users] MetaLinks with arbitrary number of arguments

2017-03-15 Thread Peter Uhnak
Hi, is it possible to create a metalink on arbitrary amount of arguments? Right now the metaObject and selector must have the same number of arguments, e.g. MetaLink new metaObject: [ :object :selector :args | ... ]; selector: #value:value:value; arguments: #(object sele