Chad Walstrom <[EMAIL PROTECTED]> 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 mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to