Re: string is read-only

2022-08-03 Thread Thomas Morley
Am Mi., 3. Aug. 2022 um 11:13 Uhr schrieb Damien Mattei : > > GNU Guile 3.0.1 > Copyright (C) 1995-2020 Free Software Foundation, Inc. > > Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'. > This program is free software, and you are welcome to redistribute it > under certain con

Re: State of lilypond with Guile 2?

2019-11-16 Thread Thomas Morley
Am Do., 14. Nov. 2019 um 22:15 Uhr schrieb Arne Babenhauserheide : > So with your patches Lilypond works with Guile 2.0.14. Well, the mentioned zip contains several patches from several people. Including some of your suggestions. ;) My own are sometimes more (rude) workarounds than fixes. > Is t

Re: State of lilypond with Guile 2?

2019-11-08 Thread Thomas Morley
Hi Arne, Am Fr., 8. Nov. 2019 um 21:04 Uhr schrieb Arne Babenhauserheide : > > Hi, > > I had the recollection that lilypond nowadays can work with Guile 2, but > when I checked right now in the docs, I saw them saying "Version 2.x of > Guile is not currently supported" > http://git.savannah.gnu.or

Re: guile-user Digest, Vol 201, Issue 5

2019-08-10 Thread Thomas Morley
gt; > Message: 1 > > Date: Thu, 8 Aug 2019 22:19:50 +0200 > > From: Thomas Morley > > To: guile-user@gnu.org > > Subject: Problem installing the intended version > > Message-ID: > > > > Content-Type: text/plain; charset="UTF-8" >

Re: Problem installing the intended version

2019-08-10 Thread Thomas Morley
Hi Mark, Am Fr., 9. Aug. 2019 um 19:51 Uhr schrieb Mark H Weaver : > > Hi Thomas, > > Thomas Morley writes: > > > recently I tested building LilyPond against guile-2.2.6 without > > success[*] and tried to investigate whether the problem is on the > > guile-si

Re: Problem installing the intended version

2019-08-08 Thread Thomas Morley
Am Do., 8. Aug. 2019 um 22:19 Uhr schrieb Thomas Morley : > > Hi, > > recently I tested building LilyPond against guile-2.2.6 without > success[*] and tried to investigate whether the problem is on the > guile-side or at LilyPond (there are some patches which may or may not &

Problem installing the intended version

2019-08-08 Thread Thomas Morley
Hi, recently I tested building LilyPond against guile-2.2.6 without success[*] and tried to investigate whether the problem is on the guile-side or at LilyPond (there are some patches which may or may not cause the problem). Though I stumbled across a problem which may be caused by guile or my na

Re: Self-evaluating function and closure

2019-06-16 Thread Thomas Morley
Hi Mark, Am So., 16. Juni 2019 um 12:35 Uhr schrieb Mark H Weaver : > > Did I something wrong or is it a bug? > > Neither. This is a case of unspecified behavior, and the behavior of > our compiler differs from that of our interpreter. You will notice > similar discrepancies when comparing two

Re: Self-evaluating function and closure

2019-06-16 Thread Thomas Morley
Am So., 16. Juni 2019 um 11:49 Uhr schrieb Mark H Weaver : > > Hello again Vladimir, > > Vladimir Zhbanov writes: > > - Is there a way to work around this (either using the above 'let' > > construct or anything else)? > > I'm not quite sure how to answer this question because I don't know what >

Re: http-request procedure missing or not exported from web client

2018-11-13 Thread Thomas Morley
Am Di., 13. Nov. 2018 um 22:50 Uhr schrieb Zelphir Kaltstahl : > > Hi! > > I recently noticed, that the procedure ~http-request~ > (https://www.gnu.org/software/guile/manual/html_node/Web-Client.html) > does not seem to be available when I do: > > ~~~ > > (use-modules (web client)) > (http-request

Re: What's up with 'current-load-port'

2018-11-05 Thread Thomas Morley
Am Mo., 5. Nov. 2018 um 11:38 Uhr schrieb Ludovic Courtès : > > Hi Thomas, > > Thomas Morley skribis: > > > Recently a user wrote a large scm-file and put it into lilypond using > > '(load file.scm)'. > > No problem with guilev1, but with guilev2 'f

Re: What's up with 'current-load-port'

2018-11-05 Thread Thomas Morley
Am Mo., 5. Nov. 2018 um 09:25 Uhr schrieb Thomas Morley : > > Am Mo., 5. Nov. 2018 um 02:43 Uhr schrieb Mark H Weaver : > > > > Thomas Morley writes: > > > > > what's up with 'current-load-port'? > > > > > > Simply check

Re: What's up with 'current-load-port'

2018-11-05 Thread Thomas Morley
Am Mo., 5. Nov. 2018 um 02:43 Uhr schrieb Mark H Weaver : > > Thomas Morley writes: > > > what's up with 'current-load-port'? > > > > Simply checking in a guile-prompt I get: > > guile-1.8: # > > guile-2.0.14: # > > guile-2.2.4 a

Re: What's up with 'current-load-port'

2018-11-04 Thread Thomas Morley
Am So., 4. Nov. 2018 um 13:50 Uhr schrieb Alex Vong : > > Hello, > > Thomas Morley writes: > > > Hi, > > > > what's up with 'current-load-port'? > > > > Simply checking in a guile-prompt I get: > > guile-1.8: # > > guil

What's up with 'current-load-port'

2018-11-04 Thread Thomas Morley
Hi, what's up with 'current-load-port'? Simply checking in a guile-prompt I get: guile-1.8: # guile-2.0.14: # guile-2.2.4 and guile-2.9.1: ;;; : warning: possibly unbound variable `current-load-port' ERROR: In procedure module-lookup: Unbound variable: current-load-port It's in the manual, thoug

Re: A value for "nothing"

2018-08-26 Thread Thomas Morley
2018-08-26 12:13 GMT+02:00 HiPhish : > Hello Schemers, > > I am writing an implementation of MessagePack [1] for Guile and a part of the > spec is the presence of a "nil" data type. What would be a good value to > express "nothing" in Guile? I cannot use '() because that would be > indistinguishabl

Re: help : call function with args

2018-04-05 Thread Thomas Morley
2018-04-05 10:16 GMT+02:00 calcium : >> I think you'll find it easier to reason first about an f >> which takes as many args as your conditionals produce, so >> you won't be struggling to splice your "bunch of values" >> into a bigger argument list. > > yes, thank you tomas, > i stopped trying to r

Re: installing older guile version

2017-11-13 Thread Thomas Morley
2017-11-13 8:48 GMT+01:00 Christian Alpen : > Hi everybody, > > I have a problem installing an older guile-version. > > I wanted to install a development-version of lilypond, which quits with > following error: > > *WARNING: Please consider installing optional programs or files: guile-2.0 > < 1.9.

Re: Performance issue with guile-2.2

2017-04-11 Thread Thomas Morley
2017-04-11 12:28 GMT+02:00 Vijay Pratap Chaurasia : > Hi, > I have a tool which compares live data between two sources. I found > that the program runs more than 3 times slower than the same with > guile-2.0.11 . I have done profiling but there was nothing special to point > out. All most all

Re: lilypond progress

2017-03-13 Thread Thomas Morley
2017-03-12 22:58 GMT+01:00 Arne Babenhauserheide : > Whether being slower actually gives Lilypond a bad reputation is mostly > unclear. For the professional engravers among our users speed _is_ a critical criterion. Cheers, Harm

Re: lilypond progress

2017-03-13 Thread Thomas Morley
2017-03-13 9:52 GMT+01:00 David Kastrup : > Thomas Morley writes: >> 2017-03-12 18:37 GMT+01:00 Arne Babenhauserheide : >>> In the past 6 years Guile 2.x for Lilypond changed from "it does not >>> work at all and Lilypond might be purged from distros" to &quo

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-12 Thread Thomas Morley
Hi, 2017-03-09 13:13 GMT+01:00 Ludovic Courtès : > Hello, > > Thomas Morley skribis: > >> Btw, I've improved my local setup to be able to test lilypond more >> quickly with different guile versions. Though I wasn't able to compile >> 1.8.8, neither

Re: lilypond progress

2017-03-12 Thread Thomas Morley
Hi Arne, I really apreciate your interest and the energy you've put on LilyPond. Though I beg to differ in some regards. Please excuse if my wordings are a little rough, I'm a non-native speaker.. 2017-03-12 18:37 GMT+01:00 Arne Babenhauserheide : > Hi, > > > With all this focus on problems, I’d

Re: Lilypond speed (was Re: How to make GNU Guile more successful)

2017-03-08 Thread Thomas Morley
2017-03-06 21:41 GMT+01:00 Andy Wingo : > On Sun 05 Mar 2017 15:01, Thomas Morley writes: > >> Here some timing values >> >> (1) >> lilypond-2.19.52 using guile 1.8.7 >> (I would have prefered to build lilypond with a guile-1.8.8 build from >> the guile-

Re: GNU Guile 2.1.7 released (beta)

2017-03-05 Thread Thomas Morley
Hi Andy, sorry for the late reply. My regular job eats too much time 2017-02-28 9:31 GMT+01:00 Andy Wingo : > On Tue 28 Feb 2017 00:00, Thomas Morley writes: > >> The main problems/TODOs are listed here (same for guile-2.0.13 and 2.1.7): >> https://ao2.it/tmp/lilypond-guil

Re: How to make GNU Guile more successful

2017-03-05 Thread Thomas Morley
2017-03-05 15:01 GMT+01:00 Thomas Morley : > The above is already in, see > $ git log -p 91ff9563ebe1c1cd720ad1a44890e7375fd83da8 [...} > See: > git log -p d15c38c0ddd4c04edcf82cda50ca30f6dc4941fa Aargh, those are from my local _rebased_ branch.

Re: How to make GNU Guile more successful

2017-03-05 Thread Thomas Morley
2017-03-05 15:09 GMT+01:00 David Kastrup : > Thomas Morley writes: > >> Here some timing values >> >> (1) >> lilypond-2.19.52 using guile 1.8.7 >> (I would have prefered to build lilypond with a guile-1.8.8 build from >> the guile-repository. Though my tr

Re: How to make GNU Guile more successful

2017-03-05 Thread Thomas Morley
le used for testing can be found at http://lists.gnu.org/archive/html/lilypond-user/2016-11/msg00948.html As the author says, this file was not finished, so several errors and warnings because of suboptimal user-input happen. Quite typical for ongoing work and good for testings. Compiling the file

Re: How to make GNU Guile more successful

2017-03-04 Thread Thomas Morley
2017-03-05 0:44 GMT+01:00 Arne Babenhauserheide : > > David Kastrup writes: > >> Nala Ginrut writes: >> >>> I think we have to elaborate the question clearer. >>> >>> 1. How to make guile-scheme more successful? >>> I think this is similar to ask "how to make scheme more successful". >>> This is

Re: Using '-1' in a method named '*'

2017-03-01 Thread Thomas Morley
2017-03-02 0:46 GMT+01:00 Alejandro Sanchez : > >> On 01 Mar 2017, at 18:25, Andy Wingo wrote: >> >> 2.2.0 should come soon (a couple weeks hopefully), but I don't know >> about 2.0.14. In the meantime if defining an implementation for "-" >> works for you to handle negation, that's an OK workaro

Re: GNU Guile 2.1.7 released (beta)

2017-02-27 Thread Thomas Morley
2017-02-26 18:57 GMT+01:00 Andy Wingo : > On Fri 24 Feb 2017 18:46, Arne Babenhauserheide writes: > >> The main strategical question I see for that is: Does anything make it >> harder to complete or improve the lilypond transition to Guile 2? >> >> Is there something which would need to be done be

Re: guile can't find a chinese named file

2016-11-28 Thread Thomas Morley
2016-11-27 13:16 GMT+01:00 Chaos Eternal : > Seems that UTF-8 encoded string has been converted to unicode before calling > `open', > but on filesystem the filename is utf8 string Your analysis is surely correct, but what to do? I expected guile filename_名字.scm to work out of the box. Am I missin

guile can't find a chinese named file

2016-11-27 Thread Thomas Morley
Hi all, a chinese user came up with a weird problem. He wants to process the string retrieved by (command-line) further, in his file-name he used some chinese characters. I tracked it down to the attached minimal example. With guile-2.0.13 I get: guile filename_名字.scm ;;; Stat of /home/hermann/D

Re: failed make: "'aclocal-1.14' is missing on your system"

2016-05-21 Thread Thomas Morley
2016-05-21 22:13 GMT+02:00 : > ---- Thomas Morley wrote: >> Hi all, >> >> I cloned the guile-git-repository in my home-directory and tried to >> compile a local branch called `my-v2-second-try` (derived from >> `remotes/origin/stable-2.0`). >> >>

failed make: "'aclocal-1.14' is missing on your system"

2016-05-21 Thread Thomas Morley
Hi all, I cloned the guile-git-repository in my home-directory and tried to compile a local branch called `my-v2-second-try` (derived from `remotes/origin/stable-2.0`). Following the steps listed in INSTALL I did ./configure without problems, then make which returned: ~/guile (my-v2-second-try)$