Hello,
This is what I understand from guile. I am no expert, so maybe it is
not 100% accurate!
Le samedi 20 février 2021 à 12:03 +0100, Jérémy Korwin-Zmijowski a
écrit :
>
> Running `guile -L . char-sets-test.scm` in the file location will
> produce the following output :
>
>$ guile -L . ch
Hello,
Le jeudi 18 février 2021 à 20:54 +0100, Jérémy Korwin-Zmijowski a
écrit :
> I happily managed to find some time to write a new chapter for the
> Guile Hacker Handbook !
>
> https://jeko.frama.io/en/char-sets.html
>
> It deals with char-sets, something new to me. The exercise was fun, I
>
Hello,
Le samedi 30 janvier 2021 à 20:43 +0100, Dr. Arne Babenhauserheide a
écrit :
> I think configure-runs should be slimmed down by a first check
> whether
> it’s in a known environment (so 90% of the tests can be skipped). But
> that’s not a general complaint about the approach of autotools.
T
Hello,
Le samedi 30 janvier 2021 à 18:55 +0100, Jérémy Korwin-Zmijowski a
écrit :
> I'm waiting to see support for guile-build-system in Guile-Hall for
> example.
If you use gnu-build-system, you can use a "bootstrap" (or
"autogen.sh") script that will run 'hall dist -x' (with HOME set to a
meani
S objects and foreign pointer types are
classes, maybe the is-a? predicate could work, with the foreign pointer
type as the class?
divoplade
Le dimanche 22 novembre 2020 à 21:24 +0100, Zelphir Kaltstahl a écrit :
> If I had a vector, I could simply go by index backwards or
> forwards without adding any runtime complexity.
So, you would like to sometimes go forward, sometimes go backward? If
it is sequential, the list is what you want.
Hello Zelphir!
Le dimanche 22 novembre 2020 à 19:48 +0100, Zelphir Kaltstahl a écrit :
> However, when I use the list in
> reverse and ever need to output the lines in the list in their
> original
> order, I would first need to `reverse` the list again.
There is a "reverse" function; you could imp
Dear guile hackers,
I would like to use the "new" exception style in guile, i.e. define-
exception-type and friends. However, I don't understand how compound
exceptions work. Do you have an example of using exceptions, showing
what compound exceptions can bring?
Best regards,
divoplade
et idea.
[1] https://www.gnu.org/software/guile/manual/html_node/Status.html
Best regards,
divoplade
ny or both of them, calling the function (still
discarding the result, it does not matter) corrupts some values (=>
assert failure in foreign library code).
I will make further tests...
divoplade
Le mardi 22 septembre 2020 à 08:25 +0200, divoplade a écrit :
> Hello guile,
>
> I am h
t on my side. Could you share your callback
closure example?
divoplade
Please ignore, the fix does not work.
Le lundi 21 septembre 2020 à 22:18 +0200, divoplade a écrit :
> Hello guile users,
>
> I have just found out a non-reproducible bug in my code on a (more
> complex) version of this. Since it is not reproducible anyway, I will
> not put a ful
bug? It seems that the problem does
not happen with guile 2.2.
Best regards,
divoplade
Le dimanche 20 septembre 2020 à 10:29 +0200, to...@tuxteam.de a écrit :
> > I did not recommend using this term. There was a question in the
> source
> > code asking why guile used a different terminology; I put the
> > explanation why, with the relevant citation (because the section is
> > huge).
Le dimanche 20 septembre 2020 à 09:48 +0200, to...@tuxteam.de a écrit :
> Something to keep in mind when talking to "other cultures" --
> they are our neighbours, after all :-)
I did not recommend using this term. There was a question in the source
code asking why guile used a different terminolog
you will have a hard time
deleting them from bash!), and there is nothing special with files
named as a series of dots. That's good, otherwise you would also need
to check for '%' in mingw and whatever stuff microsoft invented to
change the file name experience.
Best regards,
divoplade
Hello guile users,
In the manual, I read:
(define-method (write (file ) port)
(format port "#< ~s ~a>" (name file) (fd file)))
So it is possible to define a write method for foreign objects (and
more generally GOOPS classes).
My question is: why use such a bizarre syntax with # and #:fd ~a #
ur answer, it is exactly what I was looking for.
Best regards,
divoplade
nts to always manipulate utf-8-encoded strings [1],
using bytevectors is impossible or much more difficult (see points
above).
So, why should I ever use bytevectors?
divoplade
[1] https://utf8everywhere.org/
Hello,
Le vendredi 24 juillet 2020 à 03:06 +0300, Dmitry Alexandrov a écrit :
> Jérémy Korwin-Zmijowski wrote:
> > https://jeko.frama.io
> > ## Installation
> > ### On Windows
> >
> > No solution yet.
>
> Is that true? Itʼs true (and a pity) that there no official
> packages, of course, but ‘n
", which makes sure that the distribution can
be built from source (detect missing files, out-of-tree build errors,
and a few other goodies)
https://www.gnu.org/software/automake/manual/html_node/Checking-the-Distribution.html
Best regards
divoplade
>
> Cheers!
>
> Jérémy
>
>
OK, nevermind, I did not understand correctly how it worked.
Le mardi 26 mai 2020 à 00:04 +0200, divoplade a écrit :
> Hello,
>
> How do I use the foreign object type?
>
> When I do:
>
> (use-modules (system foreign-object))
> (use-modules (oop goops))
> (define-fore
ting exact integer): "hello"
I thought it might be some kind of a bug, but it is the same thing for
3.0.2, 2.2.7 and 2.2.4 (guix) and 2.2.4 (debian). 2.2 is the first to
introduce the foreign objects.
How should I do it?
divoplade
23 matches
Mail list logo