summaryrefslogtreecommitdiff
path: root/util.lisp
diff options
context:
space:
mode:
Diffstat (limited to 'util.lisp')
-rw-r--r--util.lisp3
1 files changed, 3 insertions, 0 deletions
diff --git a/util.lisp b/util.lisp
index 584f442..180a1e3 100644
--- a/util.lisp
+++ b/util.lisp
@@ -6,3 +6,6 @@
`(let ((it (getf ,options ,opt)))
(when it
,@body)))
+
+(defun max-length (lists)
+ (reduce (lambda (a x) (max a x)) (mapcar #'length lists)))