[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: SLiM graphical login manager and keyboard layout
From: |
Tanguy Le Carrour |
Subject: |
Re: SLiM graphical login manager and keyboard layout |
Date: |
Mon, 21 Oct 2019 09:24:19 +0200 |
User-agent: |
NeoMutt/20180716 |
Le 10/18, Diego Nicola Barbato a écrit :
> Tanguy Le Carrour <address@hidden> 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