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>
This commit is contained in:
		
							parent
							
								
									4ec840917c
								
							
						
					
					
						commit
						7d8b59139a
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -38,6 +38,8 @@
 | 
			
		|||
  #:use-module (ice-9 match)
 | 
			
		||||
  #:export (service-extension
 | 
			
		||||
            service-extension?
 | 
			
		||||
            service-extension-target
 | 
			
		||||
            service-extension-compute
 | 
			
		||||
 | 
			
		||||
            service-type
 | 
			
		||||
            service-type?
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue