Is this supposed to work? (match '(11 22 33 44)
[(quasiquote (,@(list x y) ___))
x])
The grammar of match patterns say that pat can be (quasiquote _qp_). A qp can be (_qp_ _ooo_ . _qp_) where ooo is an ___. Also a qp can be an ,@(list _lvp_ ...) where the lvps are matched, sliced
The problem is that the above expands to something that contains:
(if (#%app equal? unsafe-car1580 '___)(syntax->datum (expand #'(match '(11 22 33 44) [(quasiquote (,@(list x y) ___)) x])))
This expression works as expected: (match '(11 11 11) [(quasiquote (,x ___)) x])
I am wondering whether an ,@(list ) followed by ___ works?
@samth ^
We had a discussion about RacketCon 12 at the meet-up last Saturday
The current proposal is a two day weekend event, primarily virtual with pre-recorded presentations, with local events at the same time to add an in-person element.
We have some proposed dates, please vote and comment, as we want to make this as accessible as possible.
:large_yellow_square: 24–25 September :large_red_square: 15–16 October :large_orange_square: 8–9 October :large_green_square: 1–2 October :large_purple_square: Other - please comment in thread
Put comments here in thread
Can we vote for multiple dates?
Yes
@ptcoakley has joined the channel