diff options
author | Colin Okay <colin@cicadas.surf> | 2022-10-27 13:46:56 -0500 |
---|---|---|
committer | Colin Okay <colin@cicadas.surf> | 2022-10-27 13:46:56 -0500 |
commit | 7ec9075c8a20b4a8f2b1c0de9e5b86e18ad4ae8e (patch) | |
tree | 19930b67e358630a698275ff1dc506020c83d1b6 /utilities.lisp | |
parent | 75926d0ed50473efc106fa83231c862063d0f0c3 (diff) |
Add: auth-pages via a middleware page serving function
Diffstat (limited to 'utilities.lisp')
-rw-r--r-- | utilities.lisp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/utilities.lisp b/utilities.lisp index ce14b7e..1ed13a3 100644 --- a/utilities.lisp +++ b/utilities.lisp @@ -121,3 +121,9 @@ hours mins secs) (format nil "~a:~2,'0d" mins secs)))) + +(defun <?> (pred then else) + (lambda (&rest args) + (if (apply pred args) + (apply then args) + (apply else args)))) |