From 43a0084358370d0e735fe98b567250d03d983f2a Mon Sep 17 00:00:00 2001 From: Jakob L. Kreuze Date: Sat, 11 May 2019 08:14:48 -0400 Subject: Use more accurate variable names for destructuring --- haunt/custom/tag.scm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'haunt/custom/tag.scm') diff --git a/haunt/custom/tag.scm b/haunt/custom/tag.scm index c8a0337..3821499 100644 --- a/haunt/custom/tag.scm +++ b/haunt/custom/tag.scm @@ -51,9 +51,9 @@ is used." "Return a procedure that transforms a list of posts into pages containing only the posts that have a certain tag." (lambda (site posts) - (map (lambda (alist) - (let* ((tag-name (car alist)) - (posts (posts/reverse-chronological (cdr alist))) + (map (lambda (pair) + (let* ((tag-name (car pair)) + (posts (posts/reverse-chronological (cdr pair))) (title (format #f "Posts tagged as \"~a\"" tag-name)) (file-name (format #f "tag-~a.html" tag-name)) (body `(h1 ,(format #f "Tagged as \"~a\"" tag-name)))) -- cgit v1.3