Re: LOOP blows!



Den Thu, 07 Feb 2008 16:13:34 -0800 skrev Kaz Kylheku:

Okay, Kenny, you old SOB, here is my final submission to your obfuscated
LOOP contest:

(LOOP FOR WITH =
'(LOOP FOR WITH = '(LOOP FOR WITH) FOR AND IN WITH FOR = = AND FOR
FINALLY =
AND COLLECT FINALLY INTO IF FINALLY
(RETURN
(LOOP FOR IN IN IF WHEN (EQUAL IN ''(LOOP FOR WITH)) COLLECT
(LIST 'QUOTE WITH) ELSE COLLECT IN)))
FOR AND IN WITH FOR = = AND FOR FINALLY = AND COLLECT FINALLY INTO IF
FINALLY
(RETURN
(LOOP FOR IN IN IF WHEN (EQUAL IN ''(LOOP FOR WITH)) COLLECT
(LIST 'QUOTE WITH) ELSE COLLECT IN)))

That is an impressive way to say NIL, but I'm somewhat disappointed that
it's not a quine. Can we expect version Final.1 to fix that bug?

Cheers,
Maciej
.



Relevant Pages

  • Re: best way to enumerate List<> & remove unwanted elements?
    ... Saying that the loop will blow up is an incorrect statement. ... were you actually maintaining that you believe there *is* a bug in ... without giving any evidence, and by making ad hominem attacks, you've ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Using regular expressions
    ... [Please do not quote the whole message you are responding to, ... what's needed to give context. ... >> using a for loop will read the whole file into a list in memory. ...
    (perl.beginners)
  • Re: How to do "continue" in VB?
    ... Quote from Bruce McKinney ... "One minor hole in the Visual Basic looping structure is the lack of a ... Other languages offer a way to jump from the middle ... of a loop to continue with the next iteration. ...
    (microsoft.public.vb.general.discussion)
  • Re: Using DBI, better option than importing into @array
    ... constructing a different SQL statement each time (because you hard- ... method (outside of the loop) and then an execute. ... But your intent seems to be just to do an array slice. ... When I didn't use quote(), ...
    (comp.lang.perl.misc)
  • Re: [opensuse] awk/bash for password generation
    ... On Tuesday 14 November 2006 16:18, Randall R Schulz wrote: ... I'm trying to do is loop through each user, ... The outer-most double quote on this line is unclosed. ...
    (SuSE)