On Mon, Feb 8, 2016 at 11:03 PM, Matt Wette wrote:
> This is a very annoying "bug". The (sxml xpath) “filter” procedure overrides
> the builtin guile “filter”.
>
> I believe the fix can be implemented with the following changes to (sxml
> xpath):
> 1) (define node-filter filter)
> 2) In the #:e
Hello,
It used to be, in Guile 2.0, that defining a record type would
also, in an unhygienic manner, define the GOOPS class <> for use
with generic methods. However, in Guile 2.1, this does not happen.
Example:
(use-modules (srfi srfi-9)
(oop goops))
(define-record-ty
Hello,
Guile 2.2.3 seems to have lost some of the abilities that Guile 2.2.2
had wrt unboxing floats. Here's a simple procedure to show the
problem. It simply adds the first two elements of an f32vector:
(define (add-two-floats bv)
(+ (f32vector-ref bv 0) (f32vector-ref bv 1)))
Here's
Hello,
On Sun, Jan 7, 2018 at 10:16 PM, Thompson, David
wrote:
> Guile 2.2.3 seems to have lost some of the abilities that Guile 2.2.2
> had wrt unboxing floats.
Ping. This regression is a bummer. :(
- Dave
Hi Mark,
On Mon, May 28, 2018 at 2:21 AM, Mark H Weaver wrote:
> Hi David,
>
> Sorry for the long delay.
No worries!
> I did the moral equivalent of a git bisect, and found the culprit:
>
> commit d4883307ca64a7028b9a6cd072974437306c19d3
> Author: Andy Wingo
> Date: Thu Nov 30 10:41:45
Hi,
When a subclass inherits a slot with a getter, but a previously
defined class creates an accessor with the same name, the inherited
getter is seemingly ignored and an error is thrown when attempting to
use the getter on an instance of the subclass. It's hard to explain
in a clear way, so here
Hi Hannes,
On Thu, Jul 11, 2019 at 12:33 PM Hannes Müller wrote:
>
> Hi,
> I propose the following patch series for current guile 3 development.
> With these patches applied, on i686 and x86_64 I got until
>
> CCLD guile.exe
> GEN guile-procedures.texi
> Backtrace:
>0 (pr
The compute-slots method for does a transformation
of #:allocation #:instance slots to #:allocation #:virtual slots, but
in doing so it discards all slot options besides the standard ones.
This means that a metaclass that inherits from
won't work as expected if it relies upon custom slot options.
In Guile, slot accessor specialization and inheritance do not compose.
For example, you can't specialize an accessor's setter for a parent
class and have it apply to a child class. Every child class defines
new slot accessor methods. which means that the specialized parent
methods will not be call
Hello there,
Guile seems to segfault when trying to print certain backtraces with a
'call-with-values' stack frame. Here's a minimal reproducer program:
(symbol? (call-with-values (lambda () (error 'oh-no)) list))
If you eval this at the REPL and enter ,bt in the debugger, Guile
should segfault
Andy fixed this in commit 6efc0b8159f0fc74c0eafec988fe5434fb4d9f51.
Thank you, Andy!
Closing.
- Dave
Hey Maxim,
On Tue, Dec 12, 2023 at 10:53 AM Maxim Cournoyer
wrote:
>
> Hello,
>
> In our syntax-case implementation, module/ice-9/psyntax.scm, the
> following license text can be found:
>
> --8<---cut here---start->8---
> ;;; Portable implementation of syntax-c
On Fri, Nov 17, 2023 at 3:29 PM Bernhard M. Wiedemann
wrote:
>
> Parallel builds with guile-3.0.9 still introduce non-determinism
I recently learned that the cross-module inlining optimization pass is
a source of nondeterminism. If module A imports module B, inlining of
procedures from B into A m
Hi Artyom,
On Thu, Oct 24, 2024 at 8:47 AM Artyom Bologov wrote:
>
> Hello y'all,
>
> So I'm working on a project with a moderate amount of macros and some
> tangled code paths. Which often means I have non-linear and
> hard-to-figure-out inter-dependencies between pieces of code. One of
> them b
On Wed, Sep 18, 2024 at 10:38 AM Nala Ginrut wrote:
>
> The result is:
> ;;; (before #f)
> ;;; (after #f)
>
> The expected result should be:
> ;; (before #f)
> ;; (after 123)
I don't think this is a bug. Both modules are declarative (the
default). 'global' from module (aaa) is presumably being in
Consider this contrived procedure:
(define (foo x)
(cond
((integer? x) 42)
((and (number? x) (inexact? x)) 69)
(else 138)))
This procedure is kind of silly but it resembles some real world code
I was debugging today. A call of (foo 8.2) should return 69 and
indeed it does so on Guile
Attached is a patch that adds a new (web json) module. Some may
remember that I submitted a patch back in 2015 (time flies, eh?) for
an (ice-9 json) module that never made it in. Well, 10 years is a long
time and Guile still doesn't have a built-in JSON module. Third party
libraries like guile-json
On Sat, Apr 12, 2025 at 12:01 PM Tomas Volf <~@wolfsden.cz> wrote:
>
> > - null is the symbol 'null
>
> Out of curiosity, what are your thoughts about using #nil instead?
My original patch from 10 years ago did this. Mark Weaver then
explained to me that #nil was added specifically for the purpose
Hi Maxim,
Thanks for the review!
On Mon, Apr 14, 2025 at 2:31 AM Maxim Cournoyer
wrote:
>
> > +@example
> > +@verbatim
> > +{
> > + "name": "Eva Luator",
> > + "age": 24,
> > + "schemer": true,
> > + "hobbies": [
> > +"hacking",
> > +"cycling",
> > +"surfing"
> > + ]
> > +}
> >
Hi Arun,
On Sat, Apr 12, 2025 at 9:39 PM Arun Isaac wrote:
>
> Thanks for the patch. I'm just trying to understand: Why do we need a
> JSON module in guile itself? Isn't guile-json, the way it is as an
> external library, good enough?
I mean, Guile doesn't *need* to include anything, but JSON is
20 matches
Mail list logo