Re: Exporting a nonexistent variable

2024-11-13 Thread Attila Lendvai
> program.scm:6:3: In procedure main: > Unbound variable: myproc there are two `myproc` symbols at play here, and you're trying to dereference the one that has no value bound to. you've been warned prior to this. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- You cannot wake up someone who is only pretending to be asleep. — Indian proverb

Re: Lexically bound macro, with lexically bound transformer

2024-07-24 Thread Attila Lendvai
> I guess the right answer is to use functions instead of macros? if you're not sure about the answer, then it's most probably yes. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “The only way to deal with an unfree world is to become so absolutely free that your very ex

Re: [PATCH] The Guile junk drawer and a C plea

2024-07-22 Thread Attila Lendvai
and solve the decentralized financing of scientists. (pseudonymity may also be needed in certain fields, but lasting pseuconimity is a much harder nut to crack) and let me finish with a hand-picked quote this time: -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “It is dangerous to be right in matters on which the established authorities are wrong.” — Voltaire (1694–1778), 'The Age of Louis XIV'

Re: Name of the standard library

2024-07-21 Thread Attila Lendvai
debugging facilities than what guile provides. it was so far from my expectations that i considered it easier to port guix to another scheme. (there's no need to educate me, though. since then i learned the differences between the CL and scheme worlds, and understood the effort it would tak

Re: [PATCH] The Guile junk drawer and a C plea

2024-07-21 Thread Attila Lendvai
og in this fight. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “He that would make his own liberty secure, must guard even his enemy from oppression; for if he violates this duty, he establishes a precedent that will reach to himself.” — Thomas Paine (1737–1809)

RE: The Guile junk drawer and a C plea

2024-07-20 Thread Attila Lendvai
falls into the kludge category, i.e. it's ok if it's clearly marked as a kludge, and if it incurrs little extra maintenance costs. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “He alone is great and happy who fills his own station of independence, and has neither to command

Re: The Guile junk drawer and a C plea

2024-07-18 Thread Attila Lendvai
> > IOW, if you don't want changes in your dependencies, then just don't > update them. > > This does not work. > > You often have to update dependencies for security reasons. Got a new > gnutls or openssl or openssh with new cyphers you need to have a working > program — will Guile 3 get

Re: The Guile junk drawer and a C plea

2024-07-17 Thread Attila Lendvai
ent against retaining an ice-9 alias. and if it can be done without much of a maintenance burden, then possibly even indefinitely.) -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “In your journey to healing, you will learn to appreciate the many faceted qualities of others. Your early impre

Re: Define works different when Compile and Eval

2024-06-22 Thread Attila Lendvai
ation of DEFINE (wrongly) evaluates the value in the newly updated environment (as opposed to the "parent" environment, i.e. the one before the definition has been added/set). i briefly tired to find the place where DEFINE is compiled to check this hypothesis in the code, but i couldn

RE: exception from inside false-if-exception?

2024-06-19 Thread Attila Lendvai
unwound prior to handling the error. i even suspect that a continuation barrier may somehow hide, or neutralize my w-e-h higher up on the stack, and the exception from DISPLAY-BACKTRACE ends up at the fibers scheduler instead of my w-e-h due to the above. but with that i'm again at the fron

Re: Define works different when Compile and Eval

2024-06-19 Thread Attila Lendvai
uile/manual/guile.html#Eval-When compile does not evaluate (aka load) the definitions, it only compiles them. alternatively, you yourself can explicitly call the lambda returned by compile. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “A politician is someone asking you to trust them more with

RE: exception from inside false-if-exception?

2024-06-17 Thread Attila Lendvai
7;ve attached a new test.scm that contains the output of two runs, one with 3.0.9, and one with guile HEAD (more specifically, guile-next in guix, which is almost guile HEAD). HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Life becomes easier when you learn to accept the apol

RE: exception from inside false-if-exception?

2024-06-17 Thread Attila Lendvai
by guile. if someone wants to investigate further, then i'm also attaching a new version of my test.scm that behaves in an unexpected way on 3.0.9, but not on HEAD (more specifically on guile-next in guix, which is a rather recent commit). HTH, -- • attila lendvai • PGP: 963F 5D5F 45C7

RE: exception from inside false-if-exception?

2024-06-12 Thread Attila Lendvai
corators are in CL.) this is user code, sorry. it's something we added to be able to decorate backtraces with domain-specific data. -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- information we gather and create overflows our means of managing it our ppl r only happenstancely synergistic

RE: exception from inside false-if-exception?

2024-06-12 Thread Attila Lendvai
d some message -- any message -- to this short-circuit code. please extend the doc of WITH-EXCEPTION-HANDLER with a warning that explains the dynamic extent of the binding of the handler at the time the handler is called, and any possible short circuits installed in guile against that. -- • at

Re: RFC: Changing the initial value of %default-port-conversion-strategy

2024-05-30 Thread Attila Lendvai
times over in time *not* spent on debugging. and there's really no excuse in a language that has some form of exceptions. just some 0.02, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Death is not the greatest loss in life. The greatest loss is what dies inside us while we live.” — Norman Cousins

Re: exception from inside false-if-exception?

2024-04-29 Thread Attila Lendvai
valent, to be colored bright red in emacs. and it doesn't even have the pre/post-unwind-hook baggage. thank you both for the quick feedback! -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “A society that puts equality — in the sense of equality of outcome — ahead of freedom will end

exception from inside false-if-exception?

2024-04-29 Thread Attila Lendvai
s being called with a non-string? i didn't notice anything obviously wrong around SCM_VALIDATE_STRING. any hint is appreciated, -- • attila lendvai • PGP: 963F 5D5F 45C7 DFCD 0A39 -- “Watch your thoughts; they become words. Watch your words; they become actions. Watch your actions; they become habit.