Browse Source

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>
wip-git-https
Christopher Baines 5 years ago
committed by Ludovic Courtès
parent
commit
7d8b59139a
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 2
      gnu/services.scm

2
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?

Loading…
Cancel
Save