[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [FWP] Love & Hate shenanigans



Ilmari Karonen wrote:
> However, the output of either program isn't particularly interesting,
> since there's a lot of repetition.  The reason for that is 
> that for any Bullean pair ($a, $b), ($a.$c, $b) is also a Bullean
> for any string $c.

Not quite. 'good' & 'bad' is a Bullean pair yielding 'bad', but 'good' &
'bad4' will not yield 'bad' nor 'bad4' -- it gives 'bad$'. For
length($a)>=length($b), your description will hold, I think.

Cheers,
Philip
-- 
Philip Newton <Philip.Newton@datenrevision.de>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.

==== Want to unsubscribe from Fun With Perl?  Well, if you insist...
==== Send email to <fwp-request@technofile.org> with message _body_
====   unsubscribe