RosettaCodeData/Task/Playing-cards/Scheme/playing-cards-2.ss
Ingy döt Net b83f433714 tasks a-s
2013-04-10 23:57:08 -07:00

14 lines
176 B
Scheme

(define deck
(shuffle new-deck))
(define hand
(list))
(deal! deck hand)
(deal! deck hand)
(deal! deck hand)
(deal! deck hand)
(deal! deck hand)
(display hand)
(newline)