You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What should have happened?
The third match expression above should have worked, whereas the last one should have not.
Discussion
According to the reference, (,@(list abc) ...) should be treated like abc repeats zero or more times, but ... in this pattern is treated like literal ....
The text was updated successfully, but these errors were encountered:
capfredf
changed the title
inconsistent behaviors of ellipsis in quasi-patterns for match
inconsistent/undocumented behaviors of ellipsis in quasi-patterns for match
May 25, 2021
What version of Racket are you using?
8.1.0.5
What program did you run?
What should have happened?
The third match expression above should have worked, whereas the last one should have not.
Discussion
According to the reference,
(,@(list abc) ...)
should be treated likeabc
repeats zero or more times, but...
in this pattern is treated like literal...
.The text was updated successfully, but these errors were encountered: