Hello Arne, yes it needs SRFI 105 Curly infix to allow full notation. It defines the optional $bracket-apply$ procedure or macro (here a macro) as described in SRFI 105. The code is in attachment (not in my github because there is a lot of work again to have the same powerful and easy affectation between 2 arrays than in Python)
Best regards, Damien On Sun, Jun 18, 2023 at 8:52 PM Dr. Arne Babenhauserheide <arne_...@web.de> wrote: > Hi Damien, > > > {#(1 2 3 4 5 6 7)[2 / 5]} > > #(3 4 5) > > that looks pretty interesting. Is it compatible to curly infix / SRFI-105? > > Best wishes, > Arne > -- > Unpolitisch sein > heißt politisch sein, > ohne es zu merken. > draketo.de >
apply-square-brackets.scm
Description: Binary data