IRC channel logs
2023-04-29.log
back to list of logs
<apteryx>it'd be cool to have a 'timeout' command in guile <apteryx>is it safe to eq? a basic string, or should I use equal? <apteryx>but the type may be a symbol as well <apteryx>that's why I'm looking at the eq family <apteryx>seems equal? would be safest, but I was curious, as eq? seems to work <apteryx>by the way, are string= and string=? the same thing? <apteryx>ah, string=? is 'lexicographic'... not sure how that could be any different? <apteryx>(compared to a simple string=); any example of where they would provide different results? <daviid>apteryx: eq? worked because you probably 'handwrote' twice "syslog", but it will fail if either of the two you compare comes from a string operation ... <daviid>to answer your last quiz - 6.6.5.7 String Comparison <daviid>but i don't know 'the details', i use 'the first set', which comes from R5RS and has names that end in ? [ i don't think there is any diff in results, but i can't prove it :) maybe someone knows better here ... ] <apteryx>thanks; yeah that's what I use as well per others recommendations, but I'm curious to know the details. <old>turns out I had the same leak in guile-paralle as in fibers with dynamic state