Some serialisers to make pretty outputs
I can now use this package for a console application since we can pretty print cards.
This commit is contained in:
@@ -41,7 +41,9 @@
|
||||
:int->suit :int->rank :int->card
|
||||
:suit->int :rank->int :card->int
|
||||
;; Comparators
|
||||
:suit< :rank< :card<))
|
||||
:suit< :rank< :card<
|
||||
;; Serialisers
|
||||
:suit->str :rank->str :card->str :cardset->str))
|
||||
|
||||
(defpackage cantedraw.main
|
||||
(:use :cl :cantedraw.lib.macros :cantedraw.lib.functions)
|
||||
|
||||
Reference in New Issue
Block a user