I don't know what the exact specs are, but what should be the return values
for '(a a a b b c) and '(a a b b b c) ?

(I can't test right now but I suspect the match approach might miss one)



On Wed, Dec 4, 2019, 23:56 Matthew Butterick <[email protected]> wrote:

>
> On Dec 4, 2019, at 3:26 PM, 'Joel Dueck' via Racket Users <
> [email protected]> wrote:
>
> I like the trick of using list* to match _ on any number of trailing
> elements. The grammar given in the docs doesn't seem to include it; I'm
> curious by what rule is it "allowed" as a pattern?
>
>
> It's a synonym for the `list-rest` match pattern.
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/racket-users/B5F3E54D-B800-481D-8FE3-A03C6B4F565E%40mbtype.com
> <https://groups.google.com/d/msgid/racket-users/B5F3E54D-B800-481D-8FE3-A03C6B4F565E%40mbtype.com?utm_medium=email&utm_source=footer>
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-users/CABNTSaFDxwS5NBoe5cB76sL%2BwcxX8kxMoGWdkyzpRVEH7u0r%3Dg%40mail.gmail.com.

Reply via email to