bug-guix
[Top][All Lists]
Advanced

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

Re: [PATCH] Add 'guix hash'.


From: Ludovic Courtès
Subject: Re: [PATCH] Add 'guix hash'.
Date: Wed, 10 Apr 2013 19:30:47 +0200
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.3 (gnu/linux)

Nikita Karetnikov <address@hidden> skribis:

>>> I guess that "wrong number of arguments" can be handled by
>>> (lambda args ...).  Still, the above feels much safer.
>
>> Not sure what you mean, but the above snippet is OK.
>
> I thought that it's possible to remove 'match' and get the "wrong number
> of arguments" from (strerror ...).  But now I'm not sure.  "wrong number
> of arguments" should be handled by 'wrong-number-of-args', not
> 'system-error'.  So I'll use the proposed version.

Exactly.  ‘strerror’ is equivalent to the same-named C function–that
is, it returns the error string corresponding to the given errno value.

Ludo’.



reply via email to

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