soegaard2
2022-3-7 11:16:24

Is this supposed to work? (match '(11 22 33 44) [(quasiquote (,@(list x y) ___)) x])


soegaard2
2022-3-7 11:18:41

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


soegaard2
2022-3-7 11:20:02

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])))


soegaard2
2022-3-7 11:20:29

This expression works as expected: (match '(11 11 11) [(quasiquote (,x ___)) x])


soegaard2
2022-3-7 11:21:01

I am wondering whether an ,@(list ) followed by ___ works?


soegaard2
2022-3-7 11:21:09

@samth ^


spdegabrielle
2022-3-7 18:38:39

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


spdegabrielle
2022-3-7 18:40:21

Put comments here in thread


laurent.orseau
2022-3-7 19:26:23

Can we vote for multiple dates?


spdegabrielle
2022-3-7 19:26:41

Yes


ptcoakley
2022-3-8 02:40:14

@ptcoakley has joined the channel