[racket] Rosetta: Bulls and Cows / Player Implementation

From: Gustavo Massaccesi (gustavo at oma.org.ar)
Date: Fri Jul 5 22:09:53 EDT 2013

I've just added the Racket implementation of Bulls and Cows / Player.

Any comments and improvements are welcome.

Some comments:

I wrote a function to generate all the permutations. I couldn't find
an equivalent in the standard libraries.

The program does a minimal error checking on the user input. Parsing "
2,  5    " to (2 5) is more difficult than what I expected.


Posted on the users mailing list.