[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-devel] Re: Feature Request: enhanced .mtn-ignore
From: |
Steven E. Harris |
Subject: |
[Monotone-devel] Re: Feature Request: enhanced .mtn-ignore |
Date: |
Sat, 05 Aug 2006 11:44:54 -0700 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) XEmacs/21.4.13 (cygwin32) |
Chad Walstrom <address@hidden> writes:
> function ignore_file(name)
> if (string.find(name, "%.pyc$")) then return true end
> if (string.find(name, "%.pyo$")) then return true end
Wow, that is really crying out for a macro, or a declarative
specification. It's just a giant short-circuiting OR form.¹
Footnotes:
¹ http://www.lispworks.com/documentation/HyperSpec/Body/m_or.htm
--
Steven E. Harris
- [Monotone-devel] Feature Request: enhanced .mtn-ignore, Jonathan S. Shapiro, 2006/08/04
- Re: [Monotone-devel] Feature Request: enhanced .mtn-ignore, Richard Levitte - VMS Whacker, 2006/08/04
- Re: [Monotone-devel] Feature Request: enhanced .mtn-ignore, Zack Weinberg, 2006/08/04
- Re: [Monotone-devel] Feature Request: enhanced .mtn-ignore, Nathaniel Smith, 2006/08/04
- Re: [Monotone-devel] Feature Request: enhanced .mtn-ignore, Johan Bolmsjö, 2006/08/05
- Re: [Monotone-devel] Feature Request: enhanced .mtn-ignore, Glen Ditchfield, 2006/08/05