Le 10/18, Diego Nicola Barbato a écrit :
> Tanguy Le Carrour <tan...@bioneland.org> writes:
> >            (service slim-service-type
> >              (slim-configuration
> >               (xorg-configuration
> >                (xorg-configuration
> >                 (keyboard-layout keyboard-layout))))))
> >
> >
> > I don't understand the "double" `xorg-configuration`, though! ^_^'
> 
> The outer 'xorg-configuration' is a field of the 'slim-configuration'
> data type.  The inner 'xorg-configuration' is itself a data type
> representing the Xorg configuration (with its 'keyboard-layout' field
> set to the value of 'keyboard-layout').

Thanks for the clarification!
All of this LISP/Scheme/Guile is still a bit magical to me! How does one makes
the difference between field assignment and data type "instanciation"? ^_^'
How does the interpreter know that the same "word" means two different
things?!

Regards,

-- 
Tanguy

Reply via email to