BloodyShrimp comments on Prisoner's Dilemma (with visible source code) Tournament - Less Wrong
You are viewing a comment permalink. View the original post to see all comments and the full post content.
You are viewing a comment permalink. View the original post to see all comments and the full post content.
Comments (232)
Two questions:
Will you be using
#lang racketor#lang scheme? There are some differences between the two and#lang racketis generally recommended with#lang schemesupported only for backward compatibility. (You stated Racket in the OP but#lang schemein a comment.)When cooperating, should programs return the symbol
C(i.e.,'Cor(quote C)), or should they return the string"C"? (Your example program returns'Cbut the OP also mentions "C" and "D" in double-quotes.) I would've thought that the string is safer, but I haven't touched Racket in over a year so maybe I'm missing some idiom.I said #lang scheme for backwards compatibility because I'm under the impression that more people already know scheme. Do you think that's a bad idea?
Programs should return the symbol 'C. I was using double quotes for their English-language meaning. Sorry about the confusion.
I found it a bit confusing because
#lang schemerefers to the old PLT Scheme (now Racket), not the standard RnRS implementation. For people unfamiliar with Racket—like me—it may be unclear which of the many Scheme implementations#lang schemerefers to. But I think either is fine as long as it is clear to everyone which one will be used.Okay.
I just wanted to clarify these so that scheming minds can't stir up a racket after the tournament, especially since I'm offering BTCs to the winner. Thanks for organizing this!