summaryrefslogtreecommitdiff
path: root/gnu/services.scm
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2017-01-15 09:00:59 +0000
committerLudovic Courtès <ludo@gnu.org>2017-01-16 11:03:26 +0100
commit7d8b59139a5adeaed3f72b4e5e4749a13a77300b (patch)
treebdd145515d1dc55eed1cd4dc89a41df175930d49 /gnu/services.scm
parent4ec840917c781faa4179c79258b91776a4e2444c (diff)
downloadpatches-7d8b59139a5adeaed3f72b4e5e4749a13a77300b.tar
patches-7d8b59139a5adeaed3f72b4e5e4749a13a77300b.tar.gz
services: Export 'service-extension' procedures.
* gnu/services.scm: Export service-extension-target and service-extension-compute. This allows for greater extensiblity of services by enabling service extensions to be wrapped. For example, the parameters passed to the compute function can be modified, or the return value of the compute function can be modified. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/services.scm')
-rw-r--r--gnu/services.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/services.scm b/gnu/services.scm
index 03112f7515..4020fd37e0 100644
--- a/gnu/services.scm
+++ b/gnu/services.scm
@@ -38,6 +38,8 @@
#:use-module (ice-9 match)
#:export (service-extension
service-extension?
+ service-extension-target
+ service-extension-compute
service-type
service-type?