[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ignoring comments and/or strings (in source files) by _any_ search f
From: |
Stefan Monnier |
Subject: |
Re: ignoring comments and/or strings (in source files) by _any_ search function? |
Date: |
Fri, 29 Jun 2007 10:34:21 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) |
>> I could simply implement this as a function if I would know how to pass
>> R to FUN? (I know only macro's `,@' -- is there an equivalent
>> for functions?)
> Meanwhile I realized I can use `apply' for this: (apply fun r) works
> fine.
That's the way to do it (either `apply' or `funcall' depending on the
situation).
> Is there another, "better" solution also?
The only better way I can think of is to use another language where
`funcall' can be dropped, but since you'll probably need `apply' instead,
I can't think of any way it could be better, really.
Stefan