[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: A bit further toward the flamewar
From: |
Andy Wingo |
Subject: |
Re: A bit further toward the flamewar |
Date: |
Fri, 14 Oct 2011 10:28:42 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) |
On Thu 13 Oct 2011 23:42, Linas Vepstas <address@hidden> writes:
> In the code that I work on, in (func a b), its rarely the case that a
> and b are merely strings or lists; they're usually some fairly complex
> structure, where e.g. 'b' is a list where car and cadr must be
> strings, and caddr may or may not be another list, with certain
> expectations about car, cadr, etc.
In this case, I find `match' to be useful. The structure of the pattern
matches the structure of the input data, so it is much better than
cadaddring down a list.
Andy
--
http://wingolog.org/
- Re: A bit further toward the flamewar, (continued)
- Re: A bit further toward the flamewar, Ludovic Courtès, 2011/10/13
- Re: A bit further toward the flamewar, Andy Wingo, 2011/10/13
- Re: A bit further toward the flamewar, Linas Vepstas, 2011/10/13
- Re: A bit further toward the flamewar, Mike Gran, 2011/10/13
- Re: A bit further toward the flamewar, Linas Vepstas, 2011/10/13
- Re: A bit further toward the flamewar, address@hidden, 2011/10/13
- Re: A bit further toward the flamewar, Ian Price, 2011/10/13
- Re: A bit further toward the flamewar, Andy Wingo, 2011/10/14
- Re: A bit further toward the flamewar, Linas Vepstas, 2011/10/14
- Re: A bit further toward the flamewar, Andy Wingo, 2011/10/17
- Re: A bit further toward the flamewar,
Andy Wingo <=
- Re: A bit further toward the flamewar, Linas Vepstas, 2011/10/14
- Re: A bit further toward the flamewar, Andy Wingo, 2011/10/14
- Re: A bit further toward the flamewar, Hans Aberg, 2011/10/13
- Re: A bit further toward the flamewar, Panicz Maciej Godek, 2011/10/14
- Re: A bit further toward the flamewar, Ludovic Courtès, 2011/10/13
- Re: A bit further toward the flamewar, rixed, 2011/10/13
- Re: A bit further toward the flamewar, Ludovic Courtès, 2011/10/13
- Re: A bit further toward the flamewar, Hans Aberg, 2011/10/13
- Re: A bit further toward the flamewar, Ludovic Courtès, 2011/10/14
- Re: A bit further toward the flamewar, Hans Aberg, 2011/10/14