From dmercer@REDACTED Tue May 1 04:20:51 2012 From: dmercer@REDACTED (David Mercer) Date: Mon, 30 Apr 2012 21:20:51 -0500 Subject: [eeps] EEP XXX: Pattern-test operator In-Reply-To: References: <4F876A82.4030904@gmail.com> <981469D9-DB6E-4C97-B0BA-593E3EFE4B13@cs.otago.ac.nz> <5488AED4-148E-4392-BF18-F9659C88BD6D@cs.otago.ac.nz> <7D4B058C-F121-4E52-895E-FAAE8BCBD109@cs.otago.ac.nz> <36E5BFFC-7F6B-470F-9685-BB3442875E1D@cs.otago.ac.nz> <01AEF755-FC77-409F-A562-108D3C819ACA@gmail.com> <25BFB2CE-0BA1-47E8-AF0F-3DDAA6582059@cs.otago.ac.nz> Message-ID: <013CE192-75FB-4EC5-AB35-AA4216210B8E@gmail.com> On Apr 30, 2012, at 1:52, "Richard O'Keefe" wrote: > > On 30/04/2012, at 1:59 PM, David Mercer wrote: >> You actually answered that quite well, and I understood your answer. I was just trying to understand *why* or *when* binding in guards might be necessary. > > That's described in Erik S?e S?rensen's original proposal. > > Here's an example, adapted from one of his. . . . > Following this example, you will see that it is easy to come > up with examples that take O(n) tokens to write using ?= but > O(n**2) without. Thanks, ROK. Excellent explanation. Cheers, DBM