summaryrefslogtreecommitdiff
path: root/Main.hs
diff options
context:
space:
mode:
authorFrederick Yin <fkfd@fkfd.me>2023-01-04 20:47:59 +0800
committerFrederick Yin <fkfd@fkfd.me>2023-01-04 20:47:59 +0800
commit01148a563d4739573b08f7a2ee80078a90232fd6 (patch)
treece505b859668b17270cc65d28957e9e9ad95d749 /Main.hs
parent6a8ff0ff2a09e7fe896d5fff3dda047bef6d1ced (diff)
Add showCard
Diffstat (limited to 'Main.hs')
-rw-r--r--Main.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Main.hs b/Main.hs
index b858907..e42a3f0 100644
--- a/Main.hs
+++ b/Main.hs
@@ -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