From: Jacob Sparre Andersen <jacob@jacob-sparre.dk>
Subject: Re: Arrays, slices, case, and ‘in’ strategies
Date: Sat, 30 Dec 2017 09:34:41 +0100
Date: 2017-12-30T09:34:41+01:00 [thread overview]
Message-ID: <87fu7s8vha.fsf@jacob-sparre.dk> (raw)
In-Reply-To: 1c10eec9-040c-4d50-a557-11325883529a@googlegroups.com
Mace Ayres wrote:
[ A problem description which sound very much like a part of a Sudoku
solver. :-) ]
You could make the two dimensional array a container with three
different iterators, one for iterating over a selected column, one for
iterating over a selected row, and one for iterating over a block.
Greetings,
Jacob
--
»Saving keystrokes is the job of the text editor, not the
programming language.« -- Preben Randhol
next prev parent reply other threads:[~2017-12-30 8:34 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-30 0:51 Arrays, slices, case, and ‘in’ strategies Mace Ayres
2017-12-30 8:34 ` Jacob Sparre Andersen [this message]
2017-12-30 17:20 ` Mace Ayres
2017-12-30 17:30 ` Mace Ayres
2017-12-30 9:58 ` Jeffrey R. Carter
2017-12-30 17:32 ` Mace Ayres
2017-12-30 10:55 ` Simon Wright
2017-12-30 17:12 ` Mace Ayres
2017-12-30 17:41 ` Simon Wright
2017-12-30 23:52 ` Mace Ayres
2017-12-31 9:09 ` Simon Wright
2017-12-31 20:14 ` Robert Eachus
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox