Re: Guix records

2021-02-09 Thread Taylan Kammer
On 05.02.2021 17:51, Olivier Dion via General Guile related discussions wrote: Hello, In the module (guix records), there's some very nice syntax rule `define-record-type*` that allows very powerfull declarative style of records. For example:

Re: Guix records

2021-02-09 Thread Aleix Conchillo FlaquƩ
Hi Olivier, Unfortunately I don't have an answer, and actually I didn't even know this existed, but I'd love to see a library for it. I added something similar (in terms of syntax) to guile-json (define-json-type) and I'm happy to see that it seems I was not doing something very stupid. For this s

Re: Guix records

2021-02-09 Thread Olivier Dion via General Guile related discussions
On Tue, 09 Feb 2021, Aleix Conchillo FlaquƩ wrote: > Hi Olivier, > > Unfortunately I don't have an answer, and actually I didn't even know this > existed, but I'd love to see a library for it. I added something similar > (in terms of syntax) to guile-json (define-json-type) and I'm happy to see >

Re: Guix records

2021-02-09 Thread Dr. Arne Babenhauserheide
Taylan Kammer writes: > The most feature-rich record system supported by Guile is probably the > R6RS record system, which is available through the modules: > > (rnrs records syntactic (6)) > (rnrs records procedural (6)) > (rnrs records inspection (6)) > Here's a super brief example usage

Re: Guix records

2021-02-09 Thread Taylan Kammer
On 10.02.2021 02:02, Dr. Arne Babenhauserheide wrote: Taylan Kammer writes: The most feature-rich record system supported by Guile is probably the R6RS record system, which is available through the modules: (rnrs records syntactic (6)) (rnrs records procedural (6)) (rnrs records insp