diff options
author | Frederick Yin <fkfd@fkfd.me> | 2023-01-04 20:47:59 +0800 |
---|---|---|
committer | Frederick Yin <fkfd@fkfd.me> | 2023-01-04 20:47:59 +0800 |
commit | 01148a563d4739573b08f7a2ee80078a90232fd6 (patch) | |
tree | ce505b859668b17270cc65d28957e9e9ad95d749 /Main.hs | |
parent | 6a8ff0ff2a09e7fe896d5fff3dda047bef6d1ced (diff) |
Add showCard
Diffstat (limited to 'Main.hs')
-rw-r--r-- | Main.hs | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ import System.Random (getStdGen) -import Card (fullDecks, shuffle) +import Card (fullDecks, showCard, shuffle) main = do gen <- getStdGen - print $ shuffle gen $ fullDecks 1 + print $ map showCard $ shuffle gen $ fullDecks 2 |