Haskell Quiz/The Solitaire Cipher
The first puzzle of the rubyquizz series was to implement the Solitaire cipher [1] Bruce Schneier made for Neil Stephenson's Cryptonomicon [2]. The twist is that it's designed to be done by a Spy in a containment camp with no other tools than a deck of bridge cards.
The problem:
Solutions:
(incomplete, but stream generation works)