Re: [Strasheela-devel] [patch] bug in Pattern
Status: Beta
Brought to you by:
t-anders
From: Torsten A. <tor...@pl...> - 2008-01-10 12:13:27
|
On Jan 10, 2008, at 5:14 AM, Graham Percival wrote: > Thanks for the pointer to Pattern! I've been searching through > List and LUtils looks for useful functions, but Pattern had most > of the things I was looking for. (I vaguely recall skimming > through it about a month ago, but I didn't understand anything > back then) You certainly found out that LUtils is just my private extension of the standard Mozart List functor. The stuff in Pattern which has nothing to do with constraint programming (e.g., higher-order functions/procedures like MapNeighbours and frieds, MapCartesianProduct, MapTail etc.) could be in LUtils. Its not quite consistent, I know... > I think I've discovered a bug in Pattern.someTrue. The attached > .oz file illustrates a bug (I think) in this -- someTrue appears > to act as "not all true", instead of "not all false". Thanks for pointing that you. You are right of course, I submitted the fix meanwhile. Best Torsten > I also attached a patch. > > Cheers, > - Graham > <patternsome.oz> > <somefix.diff> > <ATT00001> > <ATT00002> -- Torsten Anders Interdisciplinary Centre for Computer Music Research University of Plymouth Office: +44-1752-233667 Private: +44-1752-558917 http://strasheela.sourceforge.net http://www.torsten-anders.de |