Re: Simple design question for schemers

2024-03-01 Thread Hartmut Goebel
Hi both of you, Am 25.02.24 um 11:05 schrieb Ricardo Wurmus: We have a macro called MODIFY-INPUTS, which you could use, but CONS* is probably enough in your case. Thanks. I'm using cons* now. cons* basically is the same the "extend" I'm used to from Python - sadly the Guile manual is so

Re: Simple design question for schemers

2024-02-25 Thread Ricardo Wurmus
Hartmut Goebel writes: > Using a custom function "extend": > > (native-inputs > (extend %standard-trytond-native-inputs > trytond-account-invoice > trytond-purchase > trytond-sale)) We have a macro called MODIFY-INPUTS, which you could use, but

Re: Simple design question for schemers

2024-02-24 Thread Hilton Chain
Hi Hartmut, On Sat, 24 Feb 2024 21:47:41 +0800, Hartmut Goebel wrote: > > Hi, > > I'm about to refactor the Tryton packages to the (not so) new style. Now the > trytond-xxx modules all share a basic list of native > inputs,like this: > > (native-inputs >

Simple design question for schemers

2024-02-24 Thread Hartmut Goebel
Hi, I'm about to refactor the Tryton packages to the (not so) new style. Now the trytond-xxx modules all share a basic list of native inputs,like this:     (native-inputs `(,@(%standard-trytond-native-inputs)    ("trytond-account-fr"