In article <44496AF2.6010602 at lexicon.net>, John Machin <sjmachin at lexicon.net> wrote: >To meet your specifications, the module would need to incorporate a >mini-language: > >if a and (b or c): nasty("blah 1") >if not (a or b or c or d): nasty("blah 2") >if a and c and not d: nasty("blah 3") Prolog-style predicates. :)