Ludovic Courtès (2016-01-23 20:13 +0300) wrote:
> Alex Kost skribis:
>
>> * emacs/guix-main.scm (license-names, license-name->license)
>> (license-name->uri): New procedures.
>> * emacs/guix-read.el (guix-license-names, guix-read-license-name): New
>> procedures.
>> * emacs/guix-license.el: N
Alex Kost skribis:
> Ludovic Courtès (2016-01-23 20:18 +0300) wrote:
>
>> Alex Kost 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
Ludovic Courtès (2016-01-23 20:18 +0300) wrote:
> Alex Kost 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=> (
Alex Kost skribis:
> +(define license-name->license
I just realized that I’d rather call it ‘lookup-license’ for
consistency, because it’s not a conversion.
Ludo’.
Alex Kost skribis:
> * emacs/guix-main.scm (license-names, license-name->license)
> (license-name->uri): New procedures.
> * emacs/guix-read.el (guix-license-names, guix-read-license-name): New
> procedures.
> * emacs/guix-license.el: New file.
> * emacs.am (ELFILES): Add it.
[...]
> +;;; L