IRC channel logs

2022-04-30.log

back to list of logs

<lilyp>apteryx: does it have to be with ice-9? I'm pretty sure sxml could handle that
<lilyp>if so, you might want to split it into (define-public var val) and then close in on val
***chris is now known as Guest8682
<apteryx>I'm not too keen on sxpath, having spent two nights staring at the undocumented foldts* proc without a clue
<apteryx>the requirement is to match the various forms of guix package sources and remove of modify the properties field
<apteryx>I already have something satisfactory to filter the properties (match based), thanks to daviid
<apteryx>to be more concrete, I am looking at a possible improvement over the crude implementation I have here: https://paste.debian.net/1239487/ to match the top level package sexps
<daviid>apteryx: i would use a variable frthe third token, ('package (fields ...) ... and use an inner match, possibly even writing in anoter procedure
<apteryx>interesting diea
<apteryx>idea
<daviid>here, totally untested - you'll fix my mistakes :) .. - https://paste.centos.org/view/cd56d008
<apteryx>thank you! I'll try it out
<stis>Hangover greetings guilers!
***Guest8682 is now known as chrislck
<chrislck>sneek: botsnack
<sneek>:)
<stis>One shot continuations for prolog programs: http://itampe.com/one-shot-prolog.html
<stis>I just love how smooth it is to manage static pages via rsynch via ssh to a public server
<daviid>can we have/write comments in sxml?
<daviid>apparently not
<daviid> ((@@ (sxml simple) check-name) '!--)
<daviid>ice-9/boot-9.scm:1686:16: In procedure raise-exception:
<daviid>Invalid name starting character "!--" !--
<daviid>
<daviid>which is the 1st proc called by element->xml
<sneek>lilyp: Greetings!!