guix-devel
[Top][All Lists]
Advanced

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

Re: CLI reorganization revisited


From: Amirouche Boubekki
Subject: Re: CLI reorganization revisited
Date: Thu, 8 Nov 2018 23:46:07 +0100

I do not understand how args work. Is this documented somewhere?

Also I do not understand this form:

(define (guix-describe . args)
                   ^
What is the role of the dot?


The dot serve as a separator between 'required' argument and 'rest' arguments which is always a list that might be empty.
In the above case everything passed to the procedure guix-describe is considered part of args.

HTH

reply via email to

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