Re: Lisp refactoring puzzle

2011-07-13 Thread William Clifford
nough to allow expansion, but have enough "obvious" features, that one doesn't have to reinvent the wheel. I recently read somewhere that human languages "differ less in what they allow, and more in what they require" (paraphrase). I have little-to-no computer science expertise, but I sense that in computer languages with Turing equivalency this is exactly true. -- William Clifford -- http://mail.python.org/mailman/listinfo/python-list

inside-out range function

2009-04-27 Thread William Clifford
eld left for right in xrange(step, stop, rstep): yield right -- William Clifford -- http://mail.python.org/mailman/listinfo/python-list

Re: inside-out range function

2009-04-27 Thread William Clifford
On Apr 27, 9:22 pm, Steven D'Aprano wrote: > On Mon, 27 Apr 2009 20:27:07 -0700, William Clifford wrote: > > For some reason I thought I needed this code, but it turns out I don't, > > really. > > I need something weirder. Anyway, maybe someone else could use th

Re: inside-out range function

2009-04-28 Thread William Clifford
On Apr 27, 10:50 pm, Paul Rubin <http://phr...@nospam.invalid> wrote: > William Clifford writes: > > def enrag(start, stop=None, step=1): > >     '''Yield a range of numbers from inside-out, evens on left.''' > >     >>> li

graph edge generators

2009-06-09 Thread William Clifford
als or that sort of thing, I'd like to hear about those too. Thanks! -- William Clifford -- http://mail.python.org/mailman/listinfo/python-list

Exotic Logics

2009-06-16 Thread William Clifford
n computer def __init__(self, rdx, opr): self._computer = Logic.make_computer(rdx, opr) def __call__(self, *args): return self._computer(*args) This seemed to be working for the limited tests I did on it, while I was doing them. The following checked out last time I tried:

Re: Exotic Logics

2009-06-17 Thread William Clifford
On Jun 17, 1:28 am, Steven D'Aprano wrote: > On Tue, 16 Jun 2009 22:46:14 -0700, William Clifford wrote: > > I was staring at a logic table the other day, and I asked myself, "what > > if one wanted to play with exotic logics; how might one do it?" > > Fir

Re: fastest native python database?

2009-06-17 Thread William Clifford
tp://pilcrow.madison.wi.us/#pycdb or Dee (for ideological reasons) http://www.quicksort.co.uk/ -- William Clifford -- http://mail.python.org/mailman/listinfo/python-list