IRC channel logs

2021-12-30.log

back to list of logs

<dhruvin>lilyp: Thanks for the tips. Yes, I do not own/control the existing srfi record. It's from a third-party module. I just need encode/decode an instance of that record to/from json.
<dhruvin>Follow-up question: There's no record->alist function defined in standard libraries, right? Something that takes an arbitrary record, and using said introspection converts it to a possibly nested alist.
<tohoyn>sneek: botsnack
<sneek>tohoyn, you have 1 message!
<sneek>tohoyn, daviid says: ok, i'll look at it and get back... tx for the exanple to reproduce ...
<sneek>:)
<sneek>ArneBab: Greetings!!
<vldn>hi :) someone proficient with guile-json
<vldn>or maybe could help me a bit with filtering json
<vldn>i'm filtering some json this way: http://ix.io/3K1T like with a specific specification
<vldn>but now i want to filter them also with a specific channel name and i don't know how to do this
<vldn>the channelnames are in checkouts[0]
<lilyp>dhruvin: no there's not. You have to use record introspection for that as well (i.e. get the record type descriptor, get a list of fields, get their values)