Talk:Search a list

From Rosetta Code
Revision as of 13:33, 26 November 2008 by Ce (talk | contribs) (Task overspecified?)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Is it really essential that the sequence of strings is in an array? For some languages, other data structures may be more suitable. Indeed, the Common Lisp example uses a list instead of an array, and therefore doesn't conform to the current task description. Also note that the task's title speaks of a list, but the task description speaks of an array, which is sort of a contradiction. I think it would be better to allow the examples for each language to use any data structure for the sequence, as long as it's directly provided by the language or standard library. --Ce 13:33, 26 November 2008 (UTC)