Taylan Kammer writes:
> On 23.06.2023 00:45, Philip McGrath wrote:
>>
>> Thanks, but this is the opposite of what I want to do. The library I'm
>> porting
>> already supports creating tables with custom equality and hashing functions.
>> What I'm trying to do is make the standard `equal?` p
Jun 20, 2023 02:42:34 Damien Mattei :
> what is Sexp Front?
On X front is an idiom - search for "on that front" if you want to see examples.
Sexp refers to symbolic expressions, which is the typical syntax of Lisp.
Robby
"N. Y." writes:
> Hi all,
>
> I was wondering what is the meaning of symbols prefixed with "#$", for
> example "#$version" in Guix package definitions.
G-Expressions in Guix are created using #~, similar to how
S-Expressions are created using ' or ` in Scheme (and
other Lisps). The single quot
Damien Mattei writes:
> i can not make it run i always have something unbound , not reach the var i
> but local-eval is unbound now?
I added this line to the module definition
#:re-export (local-eval the-environment)
Did you also add that? The way the unhygienic macros work, it
essentiall
Hi Damien
The issue you are running into is related to macro hygiene. If you
implement eval-var using the non-hygienic define-macro, it works how you
want.
(define-module (Scheme+)
#:use-module (ice-9 local-eval)
#:re-export (local-eval the-environment)
#:export (eval-var eval-var))
(def
Maxime Devos writes:
> What are you trying to import (ice-9 psyntax) for?
I am trying to write a portable R7RS library which does a relative
include for its implementation. The code can be found here:
https://git.robbyzambito.me/robby/meta-json.git/tree/lib/zambyte/meta/json.sld?id=334e09f3388
Hello,
For some reason I am having trouble importing the (ice-9 psyntax)
module. Whenever I try to import it, I get the following error:
scheme@(guile-user)> (import (ice-9 psyntax))
While compiling expression:
No variable named syntax? in #
I have Guile 3.0.9 installed from Guix, running on x86
Sascha Ziemann writes:
> But quote from R7RS page 29:
>
>> For convenience and ease of use, the
>> global Scheme environment in a REPL must not be empty,
>> but must start out with at least the bindings provided by
>> the base library.
Yes I think it's a bug (or at least misleading) that using
In R7RS, the bytevector constructor is exported by (scheme base) (not (scheme
bytevector)). It seems like the confusion is caused by --r7rs not evaluating in
an environment that provides (scheme base).