[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.
- New assoc-let package, Artur Malabarba, 2014/12/03
- Re: New assoc-let package, Ted Zlatanov, 2014/12/04
- Re: New assoc-let package, Artur Malabarba, 2014/12/04
- Re: New assoc-let package, Ted Zlatanov, 2014/12/04
- Re: New assoc-let package, Artur Malabarba, 2014/12/05
- Re: New assoc-let package, Artur Malabarba, 2014/12/05
- Re: New assoc-let package, Christopher Schmidt, 2014/12/06
- Re: New assoc-let package, Artur Malabarba, 2014/12/06
- Re: New assoc-let package, Christopher Schmidt, 2014/12/06