diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-07-09 21:31:43 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2025-07-10 00:08:23 +0100 |
commit | cd6ac8930db6ad3b866b4b8398a25b49c3767a5b (patch) | |
tree | b7d85e0845f1d0aa1b17ee3a0105823190bba4be /src/model.lisp | |
parent | 062b5f59d74bda9710c3b532648658a4a7910290 (diff) | |
download | cantedraw-master.tar.gz cantedraw-master.tar.bz2 cantedraw-master.zip |
Overhaulmaster
Loads of changes, some which I wasn't sure what I was on when doing
them
Diffstat (limited to 'src/model.lisp')
-rw-r--r-- | src/model.lisp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model.lisp b/src/model.lisp index 6a3cbaf..f60ee98 100644 --- a/src/model.lisp +++ b/src/model.lisp @@ -32,9 +32,9 @@ (deftype int-card () `(integer 0 51)) -(deftype cardset () `(and list (satisfies cardsetp))) +(deftype cardset () `(and list (satisfies cardset-p))) -(fn cardsetp (lst) (-> (list) boolean) +(fn cardset-p (lst) (-> (list) boolean) (every #'card-p lst)) (fn int->suit (n) (-> (fixnum) suit) |