guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.


From: Alex Kost
Subject: Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command.
Date: Sun, 24 Jan 2016 01:49:58 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Ludovic Courtès (2016-01-23 20:18 +0300) wrote:

> Alex Kost <address@hidden> skribis:
>
>> +(define license-name->license
>
> I just realized that I’d rather call it ‘lookup-license’ for
> consistency, because it’s not a conversion.

OK, I'll rename it, and what about:

(define (license-name->uri name)
  (and=> (license-name->license name)
         license-uri))

Should it be called ‘lookup-license-uri’ maybe?

-- 
Alex



reply via email to

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