From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCH 3/7] emacs: Add 'guix-browse-license-url' command. Date: Sun, 24 Jan 2016 22:00:09 +0100 Message-ID: <87wpqyk812.fsf@gnu.org> References: <1453450775-594-1-git-send-email-alezost@gmail.com> <1453450775-594-4-git-send-email-alezost@gmail.com> <87d1ssw6wt.fsf@gnu.org> <87wpqzc3mx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:54872) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aNRlf-0004MR-IY for guix-devel@gnu.org; Sun, 24 Jan 2016 16:00:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aNRlc-0006dI-4v for guix-devel@gnu.org; Sun, 24 Jan 2016 16:00:15 -0500 In-Reply-To: <87wpqzc3mx.fsf@gmail.com> (Alex Kost's message of "Sun, 24 Jan 2016 01:49:58 +0300") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Alex Kost Cc: guix-devel@gnu.org Alex Kost skribis: > Ludovic Court=C3=A8s (2016-01-23 20:18 +0300) wrote: > >> Alex Kost skribis: >> >>> +(define license-name->license >> >> I just realized that I=E2=80=99d rather call it =E2=80=98lookup-license= =E2=80=99 for >> consistency, because it=E2=80=99s not a conversion. > > OK, I'll rename it, and what about: > > (define (license-name->uri name) > (and=3D> (license-name->license name) > license-uri)) > > Should it be called =E2=80=98lookup-license-uri=E2=80=99 maybe? Sounds good. Ludo=E2=80=99.