1 line
1.1 KiB
Plaintext
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>'((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 'unpack unpack) (cons 'configure configure) (cons 'build build) (cons 'check check) (cons 'install install))) </code></p> <p>Don't the previous <code>(define* (symbol arguments) body)</code> already create a binding between symbol and procedure? And if so why can't a list of just the symbols suffice?</p> </div><!-- SC_ON -->   submitted by   <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>   <span><a href="https://www.reddit.com/r/GUIX/comments/pff8fm/question_about_guix_build_phases/">[comments]</a></span> |