[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ice-9 match penalty depending on pattern?
From: |
Carlo Zancanaro |
Subject: |
Re: ice-9 match penalty depending on pattern? |
Date: |
Wed, 07 Feb 2024 10:41:38 +1100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
> ./guix/docker.scm:261: (((head ...) (tail ...) id)
This one is not like the others. However, looking at the context I think
the pattern could just be (head tail id).
> Why not? Do I miss something in the implementation of ’match’?
The only reason I can think of would be if these matches are sometimes
provided improper lists, which need to fail these match conditions. That
seems unlikely to me, but it should be clear from looking at the other
match clauses in each case.
Carlo