From e5a53957b3c91510d1f06ed54121231e3c94a86b Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Fri, 14 Feb 2025 17:24:35 +0000 Subject: Some serialisers to make pretty outputs I can now use this package for a console application since we can pretty print cards. --- packages.lisp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'packages.lisp') diff --git a/packages.lisp b/packages.lisp index 14b4706..3ea9ba7 100644 --- a/packages.lisp +++ b/packages.lisp @@ -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) -- cgit v1.2.3-13-gbd6f