Re: #:printer filed in language specification.

2021-09-20 Thread Zelphir Kaltstahl
Hi Maxim! Thank you for your reply! I do not know how to create such a vtable, what it means to have a vtalbe which is `` or how to set it for a struct, but I should have a look at the manual and see, what comes up when searching for vtable. Regards, Zelphir On 9/19/21 2:24 PM, Maxime Devos wro

Re: #:printer filed in language specification.

2021-09-19 Thread Maxime Devos
Zelphir Kaltstahl schreef op zo 19-09-2021 om 12:11 [+]: > Hi Maxim! > > Do you know of any simple example anywhere for applicable structs? I might > have > another use for them. From NEWS in the Guile source code: ** Applicable struct support One may now make structs from Scheme that

Re: #:printer filed in language specification.

2021-09-19 Thread Zelphir Kaltstahl
Hi Maxim! Do you know of any simple example anywhere for applicable structs? I might have another use for them. Regards, Zelphir On 9/18/21 4:47 PM, Maxime Devos wrote: > Justin Veilleux schreef op vr 17-09-2021 om 18:50 [-0400]: >> It works relatively well. However, I also wanted it to print a

Re: #:printer filed in language specification.

2021-09-18 Thread Justin Veilleux
Thanks a lot. On September 18, 2021 10:47:56 a.m. EDT, Maxime Devos wrote: >Justin Veilleux schreef op vr 17-09-2021 om 18:50 [-0400]: >> It works relatively well. However, I also wanted it to print a human >> readable version of the procedures created. (It is hard to tell whether >> # is a co

Re: #:printer filed in language specification.

2021-09-18 Thread Maxime Devos
Justin Veilleux schreef op vr 17-09-2021 om 18:50 [-0400]: > It works relatively well. However, I also wanted it to print a human > readable version of the procedures created. (It is hard to tell whether > # is a correct church encoding of the number 3) > With a lot of fiddling, I managed to wri

#:printer filed in language specification.

2021-09-17 Thread Justin Veilleux
Hello, everyone. To familiarize myself with guile's compiler tower, I implemented a lambda calculus interpreter using guile. It works relatively well. However, I also wanted it to print a human readable version of the procedures created. (It is hard to tell whether # is a correct church enco