aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-10-28 10:44:16 -0500
committerColin Okay <colin@cicadas.surf>2022-10-28 10:44:16 -0500
commit9d6c0c3316de67770738ab55eac88b1eb6a0bc4d (patch)
tree1cbf9f9ab4caed4a8671f2909c1288dcc6fa76f6
parentb3af858518d51532f4dca78d6b93ffa4a4b44f5c (diff)
typo
-rw-r--r--hofs.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/hofs.lisp b/hofs.lisp
index 7eb1d51..71720ec 100644
--- a/hofs.lisp
+++ b/hofs.lisp
@@ -2,7 +2,7 @@
(in-package :lambda-riffs)
-(defun labmda-if (pred then &optional (else (constantly nil)))
+(defun lambda-if (pred then &optional (else (constantly nil)))
"Returns a function that applies PRED and conditionally executes
THEN when PRED returned non-nil or otherwise executes ELSE. Each of
PRED, THEN, and ELSE are assumed to accept the same arguments."