On Sun, 18 Jun 2023, Damien Mattei wrote:
hello,
i'm porting the Python slicing (
https://docs.python.org/2/reference/expressions.html#slicings ) to Scheme
Guile and Racket.
examples in Scheme+ :
{#(1 2 3 4 5 6 7)[2 / 5]}
#(3 4 5)
Damien, thank you for your work in this!
Guile will be s
Damien Mattei writes:
> 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 a
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
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
signature.asc
Description: PGP signature
hello,
i'm porting the Python slicing (
https://docs.python.org/2/reference/expressions.html#slicings ) to Scheme
Guile and Racket.
examples in Scheme+ :
{#(1 2 3 4 5 6 7)[2 / 5]}
#(3 4 5)
i'm using / instead of : because : is already used by the SRFI 42 Eager
Comprehension
below are my testin