[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: diaper pattern lurking in ui.scm
From: |
Ludovic Courtès |
Subject: |
Re: diaper pattern lurking in ui.scm |
Date: |
Sun, 31 May 2015 22:05:48 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Christopher Allan Webber <address@hidden> skribis:
> I was working on a new package and found that I was very surprised that
> suddenly guix told me that "guix package" did not exist:
>
> address@hidden:~/devel/guix$ guix package --help
> guix: package: command not found
> Try `guix --help' for more information.
>
> Whaaaa?
Ouch. :-)
[...]
> In other words, (error) considered harmful, use (throw 'specific-key)
> instead :)
Indeed. I’ve modified (guix base32) to throw a custom error condition
instead, so now this case should be gracefully handled–potentially fewer
frustrated users!
Thanks for the report!
Ludo’.