[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New assoc-let package

From: Artur Malabarba
Subject: Re: New assoc-let package
Date: Fri, 5 Dec 2014 00:36:03 +0000

> The way I'd have done it is
>     (cl-macrolet (((a field) `(cdr (assq ,field alist))))
>       (if (and (a title) (a body))
>           (a body)
>         (a site)))

Indeed, I was doing almost the same thing initially (just using cl-flet instead), but eventually even that grew tiresome.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]