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
Hope this helps,
>
> - Dave
OK, thanks a lot ... and yes: this does help indeed,
(and I am list replying)
-Andreas
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)
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-
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,
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)
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).
is it just tarballs for the time being?
[1] https://news.ycombinator.com/item?id=7959871
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.xx.vu/>
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/>
> 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
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/
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
ards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
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/>
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/>
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/>
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/>
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
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/>
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
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/>
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/>
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/>
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
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/>
this could bring the versions a good deal closer
together. ]
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
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/>
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/>
current
g-wrap git?
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
f GCC and
glibc did you use?
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
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 @@
/********
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
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/>
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/>
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/>
versions
parallel-installable, you have to use different .pc file names.
Regards, Rotty
--
Andreas Rottmann -- <http://rotty.yi.org/>
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))
>
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
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
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).
>>
[ 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
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
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
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
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
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
__
/viewcvs/gnome-games/aisleriot/
Thanks in advance!
- Andreas
___
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
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
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
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
--
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
; 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
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
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
.
> 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
55 matches
Mail list logo