On Mon, Sep 6, 2021 at 12:41 AM Lukas-Fabian Moser <l...@gmx.de> wrote: > > > >>> Would it be considered okay if we included a scheme function to read a > >>> binary file to a byte array? > >> GUILE already supports this out of the box. Have you seen > >> > >> https://www.gnu.org/software/guile/manual/html_node/Binary-I_002fO.html > >> > >> ? > > Yes, of course GUILE supports this. But the problem is that this does not go > > through Lilypond’s path handling. So I really do not think this would be a > > good thing to use (of course one can use that internally, but I’m talking > > about a Lilypond friendly interface). > > Just from comparing those statements: Would it be reasonable (and maybe > generally useful) to make global_path.find (used in gulp_file_to_string, > lily-guile.cc) available at scheme level?
see ly:find-file. -- Han-Wen Nienhuys - hanw...@gmail.com - http://www.xs4all.nl/~hanwen