guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH 1/1] Factor out a common pattern into a procedure.


From: Ludovic Courtès
Subject: Re: [PATCH 1/1] Factor out a common pattern into a procedure.
Date: Sun, 19 Oct 2014 19:45:47 +0200
User-agent: Gnus/5.130011 (Ma Gnus v0.11) Emacs/24.3 (gnu/linux)

Mark H Weaver <address@hidden> skribis:

> address@hidden (Ludovic Courtès) writes:
>
>> John Darrington <address@hidden> skribis:
>>
>>> How about something like (string-take-fields "1.22.3.04.5" 3) which would 
>>> return "1.22.3"
>>
>> Agreed.  What ‘version-prefix’, with the optional argument defaulting
>> to 2?
>
> I also like 'version-prefix', although I'd favor making it a required
> argument.  The improved code clarity is well worth two extra characters.

OK, let’s do that.

Ian: could you post an updated patch?

Thanks,
Ludo’.



reply via email to

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