Hi, in the services modules, there are configuration types defined like this:
(define-record-type* <nginx-configuration> nginx-configuration make-nginx-configuration nginx-configuration? (nginx nginx-configuration-nginx) ;<package> (log-directory nginx-configuration-log-directory) ;string (run-directory nginx-configuration-run-directory) ;string (vhosts nginx-configuration-vhosts (default '())) ;list of <nginx-vhost-configuration> (file nginx-configuration-file)) ;string | file-like I wonder if it's really necessary to have this prefix "nginx-configuration-" for what I assume is the getter? For me it looks redundant. The getter is only valid for this very type, so why should there be any need to add a prefix? If the reason is, that all these getters are defined globally, them I'm astound, why there is no syntax like my_config->log-directory, which would remove this redundancy. -- Regards Hartmut Goebel | Hartmut Goebel | h.goe...@crazy-compilers.com | | www.crazy-compilers.com | compilers which you thought are impossible |