> (service+ OS SERVICE [CONF])
> (service- OS SERVICE)
> (modify-service OS SERVICE UPDATE)


what would the benefit of generating multiple macros for each service compared 
to the above functional API (with 3-4 elements altogether)?

i could be missing something here, but it seems to be precious little to me 
while it costs some extra complexity.

if i were to add a syntactic abstraction for this, i'd generate a full DSL in 
the form of a (modify-operating-system OS [fictional DSL to describe desired 
changes]).

but i don't think the extra complexity justifies any macrology here.

-- 
• attila lendvai
• PGP: 963F 5D5F 45C7 DFCD 0A39
--
By the time a man realises that his father was right, he has a son who thinks 
he’s wrong.


  • Syntactic Diabete... Edouard Klein
    • Re: Syntacti... Liliana Marie Prikler
      • Re: Synt... Attila Lendvai
        • Re: ... Edouard Klein
          • ... Liliana Marie Prikler
            • ... Edouard Klein
              • ... Liliana Marie Prikler
                • ... Attila Lendvai
                • ... Development of GNU Guix and the GNU System distribution.
                • ... Attila Lendvai
                • ... Michal Atlas
                • ... Development of GNU Guix and the GNU System distribution.
                • ... Liliana Marie Prikler

Reply via email to