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>
master
Christopher Baines 2017-01-15 09:00:59 +00:00 committed by Ludovic Courtès
parent 4ec840917c
commit 7d8b59139a
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 2 additions and 0 deletions

View File

@ -38,6 +38,8 @@
#:use-module (ice-9 match)
#:export (service-extension
service-extension?
service-extension-target
service-extension-compute
service-type
service-type?