discovery: Fix typo.
* guix/discovery.scm (fold-module-public-variables*): In the docstring, replace (PROC MODULE SYMBOL VARIABLE) with (PROC MODULE SYMBOL VARIABLE RESULT).
This commit is contained in:
parent
60941b94e2
commit
9e85f652cb
|
@ -153,9 +153,9 @@ SUB-DIRECTORY. Modules are listed in the order they appear on the path."
|
||||||
(reverse (fold-modules cons '() path #:warn warn)))
|
(reverse (fold-modules cons '() path #:warn warn)))
|
||||||
|
|
||||||
(define (fold-module-public-variables* proc init modules)
|
(define (fold-module-public-variables* proc init modules)
|
||||||
"Call (PROC MODULE SYMBOL VARIABLE) for each variable exported by one of MODULES,
|
"Call (PROC MODULE SYMBOL VARIABLE RESULT) for each variable exported by one
|
||||||
using INIT as the initial value of RESULT. It is guaranteed to never traverse
|
of MODULES, using INIT as the initial value of RESULT. It is guaranteed to
|
||||||
the same object twice."
|
never traverse the same object twice."
|
||||||
;; Here SEEN is populated by variables; if two different variables refer to
|
;; Here SEEN is populated by variables; if two different variables refer to
|
||||||
;; the same object, we still let them through.
|
;; the same object, we still let them through.
|
||||||
(identity ;discard second return value
|
(identity ;discard second return value
|
||||||
|
|
Loading…
Reference in New Issue