Talk:Knuth shuffle: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎F#: new section)
(→‎F#: Bueller?)
Line 19: Line 19:


I just happened to notice the [[Knuth shuffle#F#|F#]] entry starts off with <code>open System</code> twice. Seems a bit odd to me, but I don't know ''anything'' about F# -- it just ''looks'' weird to me. Is this right? -- [[User:Eriksiers|Eriksiers]] 22:18, 24 December 2009 (UTC)
I just happened to notice the [[Knuth shuffle#F#|F#]] entry starts off with <code>open System</code> twice. Seems a bit odd to me, but I don't know ''anything'' about F# -- it just ''looks'' weird to me. Is this right? -- [[User:Eriksiers|Eriksiers]] 22:18, 24 December 2009 (UTC)

: Anybody? Anybody? Bueller? Bueller? -- [[User:Eriksiers|Eriksiers]] 18:59, 15 January 2010 (UTC)

Revision as of 18:59, 15 January 2010

Duplicate

Note: this is a sub-task of Playing Cards. --IanOsgood 01:11, 20 May 2009 (UTC)

Well one motivation for this was to have another task other than Knapsack that began with the letter K, also this task is for integers, whereas the Playing Cards task is for strings (or whatever datatype you choose to implement cards).

But they do overlap...perhaps code from this task could be used in Playing Cards? This task could be made generic I suppose. Whatever everyone else things. *shrugs* --Mbishop 04:42, 20 May 2009 (UTC)

I feel for you over the K task thing!
I had even more trouble over tasks beginning with Y :-) --Paddy3118 06:10, 20 May 2009 (UTC)

It's also effectively a subtask of Bogosort. —Dkf 10:01, 20 May 2009 (UTC)

BASIC Integer Array?

The BASIC example I just entered doesn't do an integer array; instead, it's code I wrote specifically for shuffling cards. (shrug) I would've put it under the Playing Cards page, but it's just too simplistic, and I didn't feel like dumbing it down any further. (I wrote it to show someone else how to shuffle several ago.) -- Eriksiers 01:25, 11 August 2009 (UTC)

Would you try and make the code work with integers? It makes it hard to compare entries otherwise. Thanks.--Paddy3118 06:20, 11 August 2009 (UTC)
Sorry, didn't think of that. Done. -- Eriksiers 14:44, 11 August 2009 (UTC)

F#

I just happened to notice the F# entry starts off with open System twice. Seems a bit odd to me, but I don't know anything about F# -- it just looks weird to me. Is this right? -- Eriksiers 22:18, 24 December 2009 (UTC)

Anybody? Anybody? Bueller? Bueller? -- Eriksiers 18:59, 15 January 2010 (UTC)