diff options
author | Chris Marusich <cmmarusich@gmail.com> | 2016-03-07 01:55:07 -0800 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2016-03-15 15:54:02 +0100 |
commit | 4d343a141b4d30a04b239fd3070fb7c12ba8b4a0 (patch) | |
tree | 85c01badb5e8a93d18e3cbaa06ce4875235489a5 /gnu/services.scm | |
parent | e3009f6000aba83d69d000151157b0b921efae41 (diff) | |
download | guix-4d343a141b4d30a04b239fd3070fb7c12ba8b4a0.tar guix-4d343a141b4d30a04b239fd3070fb7c12ba8b4a0.tar.gz |
doc: Clarify and consolidate modify-services documentation.
* doc/guix.texi ("Using the Configuration System"): Move the example...
("Service Reference"): ...to here, and clarify more.
* gnu/services.scm (modify-services): Update docstring to mention the
return type.
Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services.scm')
-rw-r--r-- | gnu/services.scm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/services.scm b/gnu/services.scm index cff6ed3a43..9268c51dd8 100644 --- a/gnu/services.scm +++ b/gnu/services.scm @@ -1,5 +1,6 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2015, 2016 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2016 Chris Marusich <cmmarusich@gmail.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -153,8 +154,8 @@ (define-syntax modify-services (syntax-rules () - "Modify the services listed in SERVICES according to CLAUSES. Each clause -must have the form: + "Modify the services listed in SERVICES according to CLAUSES and return +the resulting list of services. Each clause must have the form: (TYPE VARIABLE => BODY) |