guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#30657] Add support for file-like objects to the Prosody configurati


From: Clément Lassieur
Subject: [bug#30657] Add support for file-like objects to the Prosody configuration
Date: Wed, 28 Feb 2018 23:25:25 +0100
User-agent: mu4e 1.0; emacs 25.3.1

Hello,

These patches add support for file-like objects to the Prosody service
configuration.  The idea is to replace this mechanism (which is used
very often):

    (plain-file
      (with-output-to-string
         ...
         (format #t ...)
         ...))

with this one:

    (mixed-text-file
      (flatten
        (with-tokens-to-list
           ...
           (push-tokens ...)
           ...))

The point is that tokens don't have to be strings.

Comments are welcome!
Clément





reply via email to

[Prev in Thread] Current Thread [Next in Thread]