> We are pleased to announce GNU Guile release 2.9.9.
When attempting to build on a Debian Jessie 32bit arm system, gcc
(Debian 4.9.2-10+deb8u2) 4.9.2
I'm working on updating this system to Debian Stable, but it might
require wiping it and doing a fresh install.
Maybe sort the vector in the other direction and access with index 0
instead?
-Dale
-From: "Aleix Conchillo
Flaqué"
To: "guile-user"
Cc:
Sent: Sunday December 20 2020 1:59:04AM
Subject: vector-last / vector-ref with negative indices?
Hi,
This
Greetings Matt,
You also must register your nick with nickserv before you can speak in
the channel.
-Dale
From: "adriano"
> (import (ice-9 control))
>
> (define (test x)
> (let/ec return
> (cond
> ((= x 3) (return 7))
> ((= x 2) (return 5)
> What does this return (defined with let/ec) do ?
> In the orevious versions I could see the call to call/cc so I could
> (somewhat) figure out the
From: "Mikael Djurfeldt"
To: "Aleix Conchillo Flaqué"
Cc: "guile-user"
Sent: Sunday February 6 2022 8:15:06AM
Subject: Re: Newbie thoughts on Guile Hall + Guix
> I also think that there is a need for something light-weight and
cross
> platform. I think, e.g., that PyPI is one of the main reasons
> From: "Jérémy Korwin-Zmijowski"
>
> I would like to visualize all the modules a given module depend on.
>
> How do you achieve that ?
>
> Any existing tool ?
Maybe this from the guile sources: module/scripts/use2dot.scm
-Dale
> From: "Blake Shaw"
> Subject: Wiki && Re: [feature request] merge sxml->html from (haunt
html) into guile?
>
> Since getting feedback on my presentation for Guix Days, where I
think a
> lot of good criticism was raised, I've been thinking about ways to
organize
> contributions to the docs. An
> From: "Vivien Kraus"
> To: "guile-user"
> Sent: Wednesday November 2 2022 12:38:05PM
> Subject: Fibers web server: use multiple server sockets
> Fibers is a library that I would very much like to use. It provides
a
> nice web server. However, as I recently discovered, in a standard
> GNU/Linux
> From: "Olivier Dion via General Guile related discussions"
> On Mon, 02 Jan 2023, Olivier Dion via General Guile related
discussions wrote:
> On Mon, 02 Jan 2023, Greg Troxel wrote:
> > Hmm from a description I see on Guix, libev has relative timers. I
> > don't know if it's portable like li
"Ludovic Courtès" wrote:
> Hi,
>
> Thien-Thi Nguyen skribis:
>
> > Guile-GDBM is a Guile module that provides Scheme bindings to the
> > GNU dbm library. It was originally written by Martin Grabmüller
> > and is now released under the GNU General Public License (GPL)
> > version
Klaus Schilling wrote:
> From: Matt Wette
> Subject: Re: [ANN] Guile-WM 0.1/Guile XCB 1.1
> Date: Sat, 24 Aug 2013 16:40:18 -0700
>
> > FYI, there is also "sawfish" : http://sawfish.wikia.com/wiki/Main_Page
> >
> > I used sawfish (aka sawmill?) many years ago
> >
> > On Aug 24, 2013, a
Mark H Weaver wrote:
> Eli Zaretskii writes:
>
> >> From: Mark H Weaver
> >> Cc: godek.mac...@gmail.com, guile-user@gnu.org
> >> Date: Sun, 25 Aug 2013 15:56:53 -0400
> >>
> >> Remember that Guile is a library, not just an executable. So argv[0]
> >> could point to any arbitrary execu
mark.d.wit...@gmail.com wrote:
> Alex Sassmannshausen writes:
>
> When I start guile up, the variable %load-path is the list '("./"
> "/usr/share/guile/2.0" "/usr/share/guile/site/2.0"
> "/usr/share/guile/site" "/usr/share/guile").
Beware! You really should not have "." in your %load-pat
Lovis Suchmann wrote:
> Hello everyone,
>
> I'm working with Guile Scheme (with the LilyPond music engraver
> software, if someone knows this), and atm I have the problem that I
> would like to load an external scheme file in the current environment, like
>
> ; external.scm
> (define x 3
"Ludovic Courtès" wrote:
> Hello Guilers,
>
> I’m happy to announce that Mark H. Weaver has now been officially
> appointed as Guile co-maintainer by the GNU Project overseers, along
> with Andy and myself.
>
> Mark has been doing excellent work on Guile for several years,
> tirelessly lo
"Mark A. Hershberger" wrote:
>
> Is there a piece of standard code or a library that I can use to escape
> a string so it is safe to pass to bash?
>
> Specifically, I have submitted this bit[1] to add deletion of duplicate
> messages to a guile script included with mu (maildir utils) and
David Thompson wrote:
> Hello Guilers,
>
> Following a conversation on #guile about making it easier to generate
> boilerplate for new Guile projects and reduce the need to snarf and/or
> monkey type build system configs from other projects, I would like to
> throw out an idea for a new gu
David Pirotte wrote:
> Hello Guilers,
>
> I would like to work on and submit a GNU eval request for GNU Guile-SQLIte
> but 2 quizz first:
>
> 1]
>
> The current name is Guile-SQLite3 and I would like to drop the 3 from the
> name,
> precisely not to have the API version in the name, rat
David Pirotte wrote:
> Hi Dale,
>
> > > However, Andy Wingo [the original author of Guile-SQLite3 binding]
> > > mentioned on
> > > irc that a guile-sqlite project previously existed maybe? I can't find
> > > it and
> > > would like, if this is accurate, the author or anyone who would b
Lawrence Bottorff wrote:
> With guile (and a few other Schemes/Lisps) you can directly add fractions
> or rational numbers:
>
> (+ 1/2 1/12)
> => 7/12
>
> It's like magic, no? Anyway, I'm trying -- for educational purposes -- to
> reproduce this functionality. But right out of the blocks
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`).
>
> Following the steps listed in INSTALL I did
> ./configure
The INSTALL instruction are
Matthew Keeter wrote:
> Hi Guile-folks,
>
> I wrote a computer-aided design (CAD) tool that you may find interesting.
>
> It’s a solid modeling tool that uses Guile scripts to define objects (and
> constructive solid geometry + functional representations under the hood).
>
> Project page
Mark H Weaver wrote:
> David Kastrup writes:
>
> > Mark H Weaver writes:
> >ument
> >> I'm sorry David, but _everything_ that you wrote below is incorrect.
> >
> > Well, let me try again. It's not all that easy to understand.
>
> You're obviously quite intelligent and knowledgeable, so
Jeremy Korwin-Zmijowski wrote:
> Dears,
>
> I am trying to build Guile from git sources (master branch) but when I
> issue make command, the process is stuck here :
>
> GEN guile-procedures.texi
> make[3]: Leaving directory `/home/jeko/Builds/guile/libguile'
> make[2]: L
Stephen Scheck wrote:
> Per https://www.gnu.org/software/guile/manual/guile.html#Memory-Blocks -
> the scm_gc_malloc() function takes a const char * for the second parameter:
>
> void * scm_gc_malloc (size_t size, const char *what)
>
> However, the docs do not explain what it is for,
Chusslove Illich <[EMAIL PROTECTED]> wrote:
> > [: Ido Yehieli :]
> > return scm_str2string (getenv ("HOSTNAME"));
> > [...]
> > /tmp/ccerLXy4.o: In function `my_hostname':simple-guile.c:(.text+0x16):
> > undefined reference to `scm_str2string'
>
> scm_str2string doesn't seem to exist. If yo
Kevin Ryde <[EMAIL PROTECTED]> wrote:
> "Dave Griffiths" <[EMAIL PROTECTED]> writes:
> >
> > I tried running the example through the C preprocessor, and it seems
> > the docstring is lost anyway:
>
> There's some magic with a "-DSCM_MAGIC_SNARF_DOCS" to get them, then
> the scripts/snarf-che
Kevin Ryde <[EMAIL PROTECTED]> wrote:
> "Dave Griffiths" <[EMAIL PROTECTED]> writes:
> >
> > I tried running the example through the C preprocessor, and it seems
> > the docstring is lost anyway:
>
> There's some magic with a "-DSCM_MAGIC_SNARF_DOCS" to get them, then
> the scripts/snarf-che
Neil Jerram <[EMAIL PROTECTED]> wrote:
> Neil Jerram <[EMAIL PROTECTED]> writes:
>
> > Thanks; I expect to have some draft text for you by end tomorrow.
>
> Draft text is below; please let me know your thoughts on it - most
> importantly, of course, whether it answers your question!
> 5.21
Paul Emsley <[EMAIL PROTECTED]> wrote:
>
> Anyone using mixp and can help out here?
>
>
> $ [configure/make/make install all clean]
> $ cd test
> $ guile-expat test-mixp.scm
> /xxx/guile/1.6/ice-9/syncase.scm:130:16: In procedure scm-error in expression
> (scm-error (quote misc-error) who
David Fang <[EMAIL PROTECTED]> wrote:
> Hi,
> I'm having a bit of trouble using a symbol I defined in C from a
> module:
> What do I need to do to export my scm_c_define_gsubr'd
> functions to the module? Must I wrap them into another module in C, and
> use-module it? (Would I
"Ludovic Courtès" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Greg Troxel <[EMAIL PROTECTED]> writes:
>
> > I have this patch lying around from adding pkgconfig support long ago; I
> > think I sent it and there wasn't much interest then.
>
> FWIW, I'm all in favor of applying such a patch. We c
Kaloian Doganov <[EMAIL PROTECTED]> wrote:
> Is there a way to use fcntl's F_GETLK command from Guile? According
> to the docs [1], only the following commands are available:
>
> F_DUPFD
> F_GETFD
> F_SETFD
> F_GETFL
> F_SETFL
> F_GETOWN
> F_SETOWN
> FD_CLOE
Kevin Ryde <[EMAIL PROTECTED]> wrote:
> Kaloian Doganov <[EMAIL PROTECTED]> writes:
> >
> > Neighter F_GETLK nor F_SETLK is there.
>
> Yep, not there. It'd need something for "struct flock" (and "struct
> flock64" when available), they're not plain integers like the other
> fcntl commands.
Andy Wingo <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Since it's a week later now and no one's answered:
>
> On Mon 17 Sep 2007 23:49, "Luigi Semenzato" <[EMAIL PROTECTED]> writes:
>
> > Is this a reader bug? Hash marks following
> > an integer are interpreted as zeros, and the
> > number is c
Josef Wolf <[EMAIL PROTECTED]> wrote:
> Thanks for the explanation, Ludovic! I'll go and try to read/understand
> srfi-9.
>
> BTW: Why do people teach newbies non-portable things in their tutorials?
In this case, I think that tutorial predates the srfi.
-Dale
__
"Scott N. Walck" <[EMAIL PROTECTED]> wrote:
> Guile folks,
>
> Is there a way to ask for the definition of a procedure or to find the
> source code for a procedure?
Yes.
> For example, "symbol" is a guile procedure. I can see that by typing
> its name.
>
> guile> symbol
> #
>
> But how
Greg Troxel <[EMAIL PROTECTED]> wrote:
> [guile-pg and guile 1.8]
>
> I was hoping his guile-pg would work because it doesn't explicity
> state that a 1.4.x guile is required like some of his other packages
> do.
>
> It works fine under 1.6. What it needs is the feature, deprecate
David Pirotte <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> As the freenode #guile channel talk been removed ? When I connect,
> it's empty, I feel lownly :-)
No problems for me.
-Dale
> if this is of any help, but even a simpler interface would be nice.
Hmm. I have a small wrapper that I have been using in sneek (the #guile
channel bot on freende) for years. It just provides open, close, and exec.
I think it's still at http://users.adelphia.net/~dsmich/guile-sqlite-0.4.tar.gz
-Dale
Andre Kuehne <[EMAIL PROTECTED]> wrote:
> 2) Displaying the signature/parameters of the function around point in the
> message-line of emacs
> would be helpful too.
Yes. There ought to be a way of adding this to gds. I think we just need some
hooks for eldoc-mode, right?
-Dale
Ishan Arora <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Thanks for the reply. I tried system. It calls the code synchronously, and
> returns a number for success or failure of the command. Is there a way such
> that the stdout output of the command is returned as a string? Thanks again.
Try open-i
Clinton Ebadi <[EMAIL PROTECTED]> wrote:
> (define-module (pg whatever)
> #:export (guile-pg symbols ...))
>
> (load-extension "libwhateverpg" "guile_pg_init")
>
> Is roughly what you need. Assuming that there is an init function in
> guile-pg that creates all of bindings for th
"Ludovic Courtès" <[EMAIL PROTECTED]> wrote:
> Sebastian Tennant <[EMAIL PROTECTED]> writes:
> > What exactly happens when you 'define' a symbol?
>
> But, just like "`eval' is evil", run-time symbol definition doesn't
> sound right. Surely, there are other ways that you could use to solve
>
Andy Wingo wrote:
>
> On Wed 24 Dec 2008 22:14, "Julian Graham" writes:
>
> > Evan Prodromou's (net http)
>
> I haven't seen this code, but I want it! :)
If you can't find this anymore (I can't), I have a copy.
-Dale
Neil Jerram wrote:
> scm_init_guile has always been a bit problematic, as it requires lots
> of heuristic and OS-dependent code to try to determine where the base
> of the stack is. It's never been formally deprecated, but we have
> always advised people to use scm_boot_guile or scm_with_gu
Chengqi Song wrote:
> the reference is here:
> http://www.littlewingpinball.com/contents/en/ypsilon_1g.html
>
> just for your reference
>
> lars
>
Why? "System information: Guile 1.8.3 "
Guile 1.8 and earlier is an interpreter. 2.0 (and the current 1.9.x) compiles
to a vm a
Thomas Thiriez wrote:
> Hi Paul,
>
> Here is what you should use for xxx:
>
> SCM FindFunc(const char *funcName)
> {
>SCM funcSymbol = scm_c_lookup(funcName);
>
>if (!funcSymbol)
> // undefined symbol
> return 0;
>
>return scm_variable_ref(funcSymbol);
> }
Oi!
Andy Wingo wrote:
> Hi Steve,
>
> On Wed 09 Jun 2010 06:04, steve tell writes:
>
> > Does guile (1.8.x, or any version) have the integer logical shift
> > operators, like C's << and >> ?
>
> We have ash (arithmetic shift) but not lsh (logical shift). I admit I am
> somewhat ignorant reg
Josef Wolf wrote:
> Hello,
>
> I am trying to write a (simple) function to convert s-expressions to XML.
Guile 1.9/2.x has sxml modules. So
(use-modules (sxml simple))
(define (sexp->xml s)
(sxml->xml s))
Ought to get you pretty close. (untested)
-Dale
Josef Wolf wrote:
> Hello,
>
> I am trying to write a (simple) function to convert s-expressions to XML.
Guile 1.9/2.x has sxml modules. So
(use-modules (sxml simple))
(define (sexp->xml s)
(sxml->xml s))
Ought to get you pretty close. (untested)
-Dale
Mike Gran wrote:
> On Linux (the kernel), to see if this is the case (and I'm going
> from memory here, so forgive me if this isn't perfect) you can
> run guile as
>
> "LD_DEBUG=all LD_DEBUG_OUTPUT=tmp.txt guile"
>
> and then try to load your extension.
>
> Then after your run, it shoul
nalaginrut wrote:
> > I wonder if there is a tool to, say, strip all comments from the
> > "binary", so it could be smaller. I guess such tool would not be that
> > hard to write, but I don't know.
>
> I think it's not a big deal if you just want to get rid of comments.I
> always do it lik
Greetings Guilers,
The other day I happened to run the file command on some .go files, and they
show up as the rather unhelpful "data". So I added some bits to my /etc/magic
file:
0 string GOOF Guile Object
>8 string LE little endian
>8 string BE big endian
>11
"Ludovic Courtès" wrote:
> Neat! What about submitting it upstream? :-)
(smacks head) Great idea!
Done.
-Dale
"Germán Arias" wrote:
> I'm trying to update an old gnustep library that uses guile. But it
> requieres gh.h header.
> As I can see this header don't exist. So, which header should I use
> instead it?
The new interface has a new header, it's libguile.h
The old gh interface was deprecate
Alexei Matveev wrote:
> As a background, Fortran allows you to declare "foreign" functions, for
> example,
> like this:
>
> type, public, bind(c) :: scm_t
>private
>integer(c_intptr_t) :: do_not_ever_use
> end type scm_t
>
> interface
> function scm_symbol_p (obj) result (yes)
msemat...@myopera.com wrote:
> On Thu, Dec 6, 2012, at 08:24 PM, Mark H Weaver wrote:
> > msemat...@myopera.com writes:
> > > Last line of configure output:
> > >
> > > ...
> > > ...
> > > ...
> > > checking for libltdl... no
> > >
> > > and an error is issue
"Andreas Röhler" wrote:
> Hi,
>
> Emacs install from
>
> http://git.hcoop.net/?p=bpt/emacs.git;a=shortlog
>
> fails with
>
> configure: error: Library requirements (guile-2.0) not met; consider
> adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a
> nonstanda
59 matches
Mail list logo