Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread David Kastrup
Mike Solomon writes: >> On 24 Sep 2015, at 13:18, David Kastrup wrote: >> >> Han-Wen Nienhuys writes: >> >>> IIRC, it was introduced to compose offset callbacks, >> >> Oh, it's still being used for that as far as I can tell. Just not from >> Scheme. > > I think before lambdas were widely us

Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread Mike Solomon
> On 24 Sep 2015, at 13:18, David Kastrup wrote: > > Han-Wen Nienhuys writes: > >> IIRC, it was introduced to compose offset callbacks, > > Oh, it's still being used for that as far as I can tell. Just not from > Scheme. I think before lambdas were widely used they made lots of sense. I us

Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread David Kastrup
Han-Wen Nienhuys writes: > IIRC, it was introduced to compose offset callbacks, Oh, it's still being used for that as far as I can tell. Just not from Scheme. > but a quick check doesn't reveal any historical uses. The last Scheme use of chain-grob-member-functions was likely removed with co

Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread David Kastrup
Han-Wen Nienhuys writes: > IIRC, it was introduced to compose offset callbacks, but a quick check > doesn't reveal any historical uses. It doesn't strike me especially > inscrutable, but if you can make it go away, it's probably for the > best. Well, it's like some sort of lambda for grob proper

Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread Thomas Morley
2015-09-24 11:10 GMT+02:00 David Kastrup : > > ly:make-simple-closure is a powerful tool that can be used for doing a > lot of things in connection with callbacks. It is also utterly > inscrutable and seriously underdocumented and it does not help that > nobody ever bothered defining a macro prepr

Re: Anybody invested in ly:make-simple-closure?

2015-09-24 Thread Han-Wen Nienhuys
IIRC, it was introduced to compose offset callbacks, but a quick check doesn't reveal any historical uses. It doesn't strike me especially inscrutable, but if you can make it go away, it's probably for the best. On Thu, Sep 24, 2015 at 11:10 AM, David Kastrup wrote: > > ly:make-simple-closure is

Anybody invested in ly:make-simple-closure?

2015-09-24 Thread David Kastrup
ly:make-simple-closure is a powerful tool that can be used for doing a lot of things in connection with callbacks. It is also utterly inscrutable and seriously underdocumented and it does not help that nobody ever bothered defining a macro preprocessing its input which would have obviated the nee