IRC channel logs

2023-05-07.log

back to list of logs

<daviid> https://paste.debian.net/1279546/
<RhodiumToad>(string-drop str (or (and=> (string-index str #\:) 1+) 0))
<daviid>string-index will retur #f if no sep ...
<RhodiumToad>hence the or
<daviid>from a design pov, i prefer my version, which does not call string-drop if there is no need to ... but as you wish of course
<daviid>maybe it's also possible to use cut instead of lambda (index) ...)
<daviid>but i'm not a cut guy :):)
<daviid>and from a reader persec, my approach makes it lisible that you return the original str if no prefix ... not 'as clear' in the other solution, imo
<RhodiumToad>true
<daviid>i thought doing this (cut string-drop str (1+ <>)), but we can't (?)
<avp>Hello Guilers! Guile-PNG 0.4.1 with grayscale image filter and bugfixes is out: https://mail.gnu.org/archive/html/guile-user/2023-05/msg00007.html
<wingo>avp: nice :)
<wingo>ACTION looks at https://mail.gnu.org/archive/html/bug-guile/2023-05/msg00001.html
<avp>wingo: Thanks for Guile-Fibers, by the way! I'm currently learning Fibers by applying it to one of my projects.
<ArneBab>avp: good luck! the tries I did worked out pretty well, but I did need some time to get it right.