emacs/var/elfeed/db/data/d2/d29725a87cadbbbc44a5705e0ab579e12f607a00
2022-01-03 12:49:32 -06:00

1 line
1.1 KiB
Plaintext

<!-- SC_OFF --><div class="md"><p>Why is it neccissary to define the variable %standard-phases as a list of dotted pairs</p> <p><code>&#39;((symbol . procedure) ... )</code></p> <p>as shown in the documentation?</p> <p><code> (define %standard-phases ;; The list of standard phases (quite a few are omitted ;; for brevity). Each element is a symbol/procedure pair. (list (cons &#39;unpack unpack) (cons &#39;configure configure) (cons &#39;build build) (cons &#39;check check) (cons &#39;install install))) </code></p> <p>Don&#39;t the previous <code>(define* (symbol arguments) body)</code> already create a binding between symbol and procedure? And if so why can&#39;t a list of just the symbols suffice?</p> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/PetriciaKerman"> /u/PetriciaKerman </a> <br/> <span><a href="https://www.reddit.com/r/GUIX/comments/pff8fm/question_about_guix_build_phases/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/GUIX/comments/pff8fm/question_about_guix_build_phases/">[comments]</a></span>