Hi all,I tried to decipher the sudoku solver code given at nsl.com (http://nsl.com/k/sudoku/aw3.k) and I failed in the first executed statement:k):9:!81q)9 vs til 81Can someone explain this line? Can anyone give a different pair ofintegers for which this line won’t signal 'nyi?Is this some kind of Easter egg inside?Thanks in advance for your answers.Best regards,bartiosze
To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1084)
> k):9:!81
> q)9 vs til 81
>
> Can someone explain this line? Can anyone give a different pair of =
integers for which this line won’t signal 'nyi?
> Is this some kind of Easter egg inside?
it implements
k),/‘+:\9#’!9
q)raze each flip scan 9#'til 9
and yes it’s basically an easter egg :)
i think it may be some kind of holdover from k3, and only in q for these =
particular values for sudoku purposes?=
To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1084)
yes, it is a partial carryover from k2/k3 to shorten the sudoku code.