Anonymous user
Best shuffle: Difference between revisions
→{{header|Groovy}}: added error template
No edit summary |
(→{{header|Groovy}}: added error template) |
||
Line 1,238:
=={{header|Groovy}}==
{{incorrect|Groovy|It does not produce best shuffles as defined by task: abracadabra should score zero.}}
<lang groovy>def shuffle(text) {
def list = (text as List)
Line 1,279 ⟶ 1,280:
a, a, (1)
</pre>
=={{header|Haskell}}==
|