Re: unusual let binding (of lp) - in function element->xml from sxml simple

2024-02-04 Thread Andreas Reuleaux
Hi, and thanks to you, too. -Andreas Damien Mattei writes: > Hi Andreas, > a good explanation is here: > https://stackoverflow.com/questions/31909121/how-does-the-named-let-in-the-form-of-a-loop-work > personally i avoid to use it, as i can do the same with internal > definiti

Re: unusual let binding (of lp) - in function element->xml from sxml simple

2024-02-03 Thread Andreas Reuleaux
Hope this helps, > > - Dave OK, thanks a lot ... and yes: this does help indeed, (and I am list replying) -Andreas

unusual let binding (of lp) - in function element->xml from sxml simple

2024-02-03 Thread Andreas Reuleaux
Hi, I have a hard time understanding the let binding lp ... in the function element->xml - from module sxml simple - repeated here for convenience. --8<---cut here---start->8--- (define (element->xml tag attrs body port) (check-name tag) (display #\< port)

Re: hashmark in symbols

2023-01-02 Thread Andreas Reuleaux
ss readable to me: --8<---cut here---start->8--- scheme@(guile-user)> (css `((body :margin 5px :padding 0px :color ,(string->symbol "#444" $84 = "body { margin: 5px; padding: 0px; color: #444; }" --8<---cut here-

Re: hashmark in symbols

2023-01-01 Thread Andreas Reuleaux
Ah, OK, this helps indeed --8<---cut here---start->8--- (read-enable 'r7rs-symbols) --8<---cut here---end--->8--- Many thanks. -A lloda writes: >> On 2 Jan 2023, at 03:27,

hashmark in symbols

2023-01-01 Thread Andreas Reuleaux
Hi, in common lisp I get e.g. --8<---cut here---start->8--- * (format nil "~a" '\#444) "#444" --8<---cut here---end--->8--- (assuming #444 is a css color - that is my use case anyway - and thus likewise for any other color)

Re: Modifying nested dictionary/alist type data

2016-04-15 Thread Andreas Rottmann
9.html http://www.r6rs.org/final/html/r6rs-lib/r6rs-lib-Z-H-14.html Guile 2.0 supports all three of these APIs -- choosing between them is mostly important if you care about portability to different Scheme implementations (which I'd guess is not high priority in the context of lilypond).

Re: [ANN] Sly 0.1 released

2015-11-13 Thread Andreas Rottmann
is it just tarballs for the time being? [1] https://news.ycombinator.com/item?id=7959871 Regards, Rotty -- Andreas Rottmann -- <http://rotty.xx.vu/>

Re: HTTP GET Shakespeare

2015-08-22 Thread Andreas Rottmann
eed the read words into a hash table, instead of using a list and SRFI-1 "delete-duplicates". [0] http://srfi.schemers.org/srfi-1/srfi-1.html#delete-duplicates Regards, Rotty -- Andreas Rottmann -- <http://rotty.xx.vu/>

install fails

2013-03-24 Thread Andreas Röhler
> guile -v guile (GNU Guile) 2.0.7 Being at Suse 12.3, Xfce guile is at /usr/bin/guile $PKG_CONFIG_PATH is empty Any recommendatins? Thanks, Andreas

Hack-Potluck day

2013-02-16 Thread Andreas W
Yay, finally I have a somewhat represent-able contribution. Made it in time! (at least in my timezone) :-) A simple program which displays chosen or random haiku from a list, or all of them if one so choose. The ability to save to file and load from file is there. guile-haiku: https://github.com/

Community service

2012-03-30 Thread andreas
y questions or comments feel free to mail me directly, or if they are of general interest, onlist. But please note it's not a commercial project, so please adjust expectations accordingly. It's just something I found practical and extended it a little so it might be practical for others too. friendly, Andreas

G-Wrap 1.9.14 released

2011-12-04 Thread Andreas Rottmann
ards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: scm_defined_p(sym, env)

2011-08-23 Thread Andreas Rottmann
HTH, Rotty PS: Please consider avoiding top-posts (see for instance <http://www.usenet-replayer.com/faq/alt.games.generals.html> for a rationale). -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: open-pipe deadlocked

2011-08-02 Thread Andreas Rottmann
his sounds like a bug; could you come up with an example program that has a good chance to run into this suspected issue? [1] http://pubs.opengroup.org/onlinepubs/007904975/functions/pthread_atfork.html Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Build System?

2011-06-16 Thread Andreas Rottmann
ould be interesting if you could clarify what exactly you are looking for. [0] http://home.gna.org/dorodango/ -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: error building from "master" checkout

2011-04-07 Thread Andreas Rottmann
t; Is it fine for me to follow the "master" branch to get the "latest > thought to be usable"? > ATM, most work is happening on stable-2.0, and master is only updated sporadically. Unless you want do work on Guile itself that's supposed to go into 2.2 (only) eventually, I'd recommend using the stable-2.0 branch. See also <http://lists.gnu.org/archive/html/guile-devel/2011-03/msg00010.html>. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Guile-Lib 0.2.1 released

2011-04-03 Thread Andreas Rottmann
Updates for Guile 1.8. > > Some of the compatibility hacks from 0.2.0 broke Guile-Lib on Guile > 1.8. Thanks to Andreas Rottmann for the various fixes. > Additionally, there have been fixes to allow Guile-Lib to work on Guile 2.0, even when the latter is compiled with --disable-depreca

Re: syntax-rules problem

2011-04-03 Thread Andreas Rottmann
elements ... identifier) (set! identifier (cons* elements ... identifier) Note that the above relies on R6RS-specified extensions to `syntax-rules' patterns that are not yet available in Guile 1.8. HTH, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
Aidan Gauland writes: > On Wed, Mar 02, 2011 at 03:49:22PM +0100, Andreas Rottmann wrote: >> l...@gnu.org (Ludovic Courtès) writes: >> >> > Hi, >> > >> > Aidan Gauland writes: >> > >> >> I'm trying to use SDL through Guil

Re: FFI nuisance

2011-03-02 Thread Andreas Rottmann
of the library in the Guile program, as to avoid random breakage when the ABI changes (which does imply a SONAME bump on sanely-maintained libraries). Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Problem with define-macro from compiled file (Guile 1.9)

2011-01-07 Thread Andreas Rottmann
ntax' easier: > > [...] It's not only easier, it also not inherently broken (as `define-macro' is). See <http://en.wikipedia.org/wiki/Hygienic_macro> for a discussion of the hygiene issue. For example, the following invocation of `when' will break when implemented with `define-macro' as above: (let ((begin #f)) (when #t (display "Launching missiles!\n"))) Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Modules

2010-12-09 Thread Andreas Rottmann
ade the default; for an installed program implemented in Guile, having "." implicitly in the load path would be unneccessary and even a security issue. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: [r6rs] abusive request for help on "unbound variable" error

2010-11-21 Thread Andreas Rottmann
Andreas Rottmann writes: > Indeed `assert' is missing from Guile ATM, but I've submitted a patch a > while ago that fixes that (among other things): > > <http://lists.gnu.org/archive/html/guile-devel/2010-10/msg00098.html> > Uh, sorry, that one doesn't apply

Re: [r6rs] abusive request for help on "unbound variable" error

2010-11-21 Thread Andreas Rottmann
ementations. > Indeed `assert' is missing from Guile ATM, but I've submitted a patch a while ago that fixes that (among other things): <http://lists.gnu.org/archive/html/guile-devel/2010-10/msg00098.html> I hope that someone gives that patch a review soon (*hint* *hint*)... Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Guile base64

2010-09-02 Thread Andreas Rottmann
this could bring the versions a good deal closer together. ] Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Can't define in (if...) after (use-syntax (ice-9 syncase)) ?

2010-08-27 Thread Andreas Rottmann
ed, and rejects your example code as well: scheme@(guile-user)> (if #t (define foo "bar")) While compiling expression: ERROR: In procedure macroexpand: ERROR: definition in expression context in subform `foo' of `"bar"' What do you want to achieve in your code? Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: What does #-3# mean?

2010-08-24 Thread Andreas Rottmann
hese readable in the main line? > I'd like to implement SRFI-38, and perhaps the best way would be to modify the core reader/writer, instead of adding something like the reference implementation? Would this require a new reader option, or should it be always enabled? Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Failing to build g-wrap for guile 1.9.10

2010-06-03 Thread Andreas Rottmann
current g-wrap git? Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Failing to build g-wrap for guile 1.9.10

2010-06-03 Thread Andreas Rottmann
f GCC and glibc did you use? Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Failing to build g-wrap for guile 1.9.10

2010-06-02 Thread Andreas Rottmann
ndy Wingo, you can also use `--disable-Werror' when running configure. diff --git a/g-wrap/core-runtime.c b/g-wrap/core-runtime.c index cb0f310..66c24a5 100644 --- a/g-wrap/core-runtime.c +++ b/g-wrap/core-runtime.c @@ -1,5 +1,5 @@ /********

Re: Need help to understand a macro

2010-03-22 Thread Andreas Rottmann
Josef Wolf writes: > On Fri, Mar 19, 2010 at 05:15:57PM +0100, Andreas Rottmann wrote: >> defmacros are bound to bite you in the proverbial ass real hard when you >> combine them with modules, so it's best to avoid them like the >> plague. At least that's my exper

Re: Need help to understand a macro

2010-03-19 Thread Andreas Rottmann
so it's best to avoid them like the plague. At least that's my experience, FWIW. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: return-it -> ???

2010-01-12 Thread Andreas Rottmann
I think in Scheme this is more commonly called `begin0', and at least PLT and Gauche provide it. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

G-Wrap 1.9.13 released

2009-10-28 Thread Andreas Rottmann
27;ve migrated the G-Wrap bzr repository to git, see http://www.nongnu.org/g-wrap/development.html Enjoy! Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: Checking for guile from configure -- forward compat.

2009-08-13 Thread Andreas Rottmann
versions parallel-installable, you have to use different .pc file names. Regards, Rotty -- Andreas Rottmann -- <http://rotty.yi.org/>

Re: survey: indentation declaration style

2009-05-11 Thread Andreas Rottmann
Thien-Thi Nguyen writes: > I've tentatively adopted the following indentation declaration style. > Non-coincidentally, it resembles that used for Emacs Lisp code. > The #; represents pan-Scheme (R7RS?) wishful thinking. > > (define-macro (forse precond . corpo) > ;;#;(declare (indent 1)) >

Re: Valgrind warnings with -1.8.6

2009-04-07 Thread Andreas Rottmann
Andrew Gaylard writes: > Hi, > > I'm linking with libguile on Linux, built from source, to extend my > C application with Scheme. I'm seeing a lot of warnings from > valgrind.  The same warnings appear when using Guile standalone. > Should I be worried? > No, this is normal AFAIK. The garbage col

Re: bindings for free identifiers in (ice-9 syncase)

2009-03-19 Thread Andreas Rottmann
Julian Graham writes: > Hi Guilers, > > Alright, I've been banging my head against this for several weeks now > and only just had the time to sit down and research this: If you use a > symbol in an `(ice-9 syncase)' macro definition that's bound in the > lexical closure in which that definition l

Re: Thoughts on g-wrap, guile FFI and guile-gnome

2009-02-23 Thread Andreas Rottmann
Andy Wingo writes: > Hello! > > Your insights in reverse: > > On Sat 21 Feb 2009 03:52, Andreas Rottmann writes: > >> it might make sense to provide a pure-Scheme FFI inside Guile core >> (perhaps just molding the current G-Wrap runtime library into shape). >>

Thoughts on g-wrap, guile FFI and guile-gnome [was: 1.9.11 ffi reference bug]

2009-02-20 Thread Andreas Rottmann
[ Sorry for the crossposting, but I think (a part of) the message is relevant for all mailing lists I'm sending this to ] Greg Troxel writes: [ Regarding the need for a G-Wrap release, due to a bug ] > It is. I've a release tarball ready, will upload this weekend (along > with guile-gnom

Re: Compiling guile on mingw32

2007-06-06 Thread Andreas Røsdal
On Wed, 6 Jun 2007, Andreas Røsdal wrote: On Tue, 5 Jun 2007, Cesar Strauss wrote: I'm trying to compile guile 1.8.1 for the mingw32 platform on Windows. When running configure, I get this error message: I was able to compile guile on mingw32. First, you should use the guile-cor

Re: Compiling guile on mingw32

2007-06-06 Thread Andreas Røsdal
On Tue, 5 Jun 2007, Cesar Strauss wrote: I'm trying to compile guile 1.8.1 for the mingw32 platform on Windows. When running configure, I get this error message: I was able to compile guile on mingw32. First, you should use the guile-core-1.8-20070429.tar.gz snapshot, or use "cvs" to download

Compiling guile on mingw32

2007-06-05 Thread Andreas Røsdal
find the two above error messages. I have also tried guile-core.unstable-20070429, and get the same problems there. Has anyone successfully been able to compile guile on mingw32? - Andreas ___ Guile-user mailing list Guile-user@gnu.org

any news on 1.8 and slib?

2006-10-27 Thread Andreas Köhler
Hi, I wanted to ask for an update regarding these emails: http://lists.gnu.org/archive/html/guile-user/2006-08/msg9.html http://lists.gnu.org/archive/html/guile-devel/2006-08/msg8.html I wonder why it takes so long to find a solution to such a "relatively" small problem. If it is a bigge

Re: Garbage collection bug

2006-07-30 Thread Andreas Røsdal
hence there is an opportunity for them to get garbage collected. guile has some mechanisms for tracking its objects on the C side, but our code doesn't fall into that category (since the objects aren't kept on the stack, they're put in a list). - Andreas __

Garbage collection bug

2006-07-29 Thread Andreas Røsdal
/viewcvs/gnome-games/aisleriot/ Thanks in advance! - Andreas ___ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user

Re: Modified load-path proposal

2005-10-13 Thread Andreas Rottmann
e && sudo make install" of some package would put files under /usr just because guile happens to be installed there. -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint

Re: guile projects list entry for BOKIN

2005-07-10 Thread Andreas Rottmann
ngs, but that doesn't mean it's a clever idea. For instance, Make lacks any type system, which makes programming more complex things in it a major PITA, IMO. Regards, Rotty -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://yi.org/rotty

Re: guile projects list entry for BOKIN

2005-07-09 Thread Andreas Rottmann
installing. > > GNU Make is used not only for the installation but also for the accounting > calculations. GNU Make is useful for batch based systems like BOKIN. > Ew, sounds messy to use make for application logic (IMO it's already messy enough for build systems ;). SCNR, Rotty --

libgwrapguile1: file conflict with libgwrap-runtime0-dev

2005-05-09 Thread Andreas Rottmann
e encountered while processing: > g-wrap > Oops, this is indeed a problem. g-wrap-config should be moved from libgwrapguile1 to libgwrapguile-dev, against which libgwrap-runtime0-dev conflicts (since 1.9.6-1, IIRC). I'll try to do an upload and get it into Sarge ASAP. Regards, Rot

Re: guile-core.unstable-20050414

2005-04-15 Thread Andreas Rottmann
; but the following package is installed: > > [EMAIL PROTECTED]:~ 3 $ dpkg -l | grep gmp > ii libgmp34.1.4-6Multiprecision arithmetic library > You need libgmp3-dev. Rotty -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL P

Re: Urgent need for solution: guile to serve the web (+ python?)

2005-04-02 Thread Andreas Rottmann
plement SCGI[0] for Guile? [0] http://www.mems-exchange.org/software/scgi/ Rotty -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F2

G-Wrap 1.9.5 released

2005-03-02 Thread Andreas Rottmann
been fixed. Regards, Rotty -- Andreas Rottmann | [EMAIL PROTECTED] | [EMAIL PROTECTED] | [EMAIL PROTECTED] http://yi.org/rotty | GnuPG Key: http://yi.org/rotty/gpg.asc Fingerprint | DFB4 4EB4 78A4 5EEE 6219 F228 F92F CFC5 01FD 5B62 The best way to accelerate a

Re: equivalent of "this" in goops?

2005-02-16 Thread Andreas Rottmann
. > My fallback is to initialize the linkset on first use, or after object > createion, or something like that. > Given a GOOPS with this hypothetical extension is far from official release ;), a workaround is probably the only feasibly short-term solution (given my assumtion that this is n