Jón Fairbairn-2 wrote: > > jim burton <[EMAIL PROTECTED]> writes: > > In addition to Chris's comments, here are some more: > [snip] >
Thanks for your comments Jon. I thought about making Cards an instance of Enum but didn't realise how helpful it would be in various places. I will use the shorter version of your function - I need to get a chance to think about how it works first to be honest. Haven't noticed divMod before - handy! -- View this message in context: http://www.nabble.com/Solitaire-cipher-tf2500700.html#a6979284 Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com. _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe