<lispmacs[work]>i seem to recall there was some trick I could do to hook a cleanup action to an objects garbage collection event. Am I remembering correctly? <taylan>lispmacs[work]: I think they're called GC hooks? <lispmacs[work]>a "finalizer" sounds simpler, but I don't know how to make or attach one <mfiano>They're not a trick. Infact, it is usually the developer being tricked, because they aren't reliable; they have a few caveats. <mfiano>Section 5.5.4 explains why they should probably be avoided. <ixmpp>(lambda (f g h x) (if (f x) (g x) h)) does this function or similar exist anywhere? <ixmpp>Dunno if im reinventing the wheel <sneek>dsmith-work was last seen in #guile 13 hours ago, saying: {appropriate time} Greetings, Guilers. <lampilelo>actually using cons instead of append is A LOT faster <lampilelo>yeah, this doesn't do any garbage collection <leoprikler>tohoyn: this looks nice and all, but it computes recursive perms many times <leoprikler>I think one can do faster if one counts from 0 to k instead of the other way round <tohoyn>is it so? AFAIK R6RS defines a "library" form and R7RS a "define-library" form. <tohoyn>wingo: yes, but are the syntaxes compatible as the WWW page says? <tohoyn>wingo: IMHO the syntaxes are not fully compatible, though they are similar <sneek>up 5 weeks, 8 hours, 59 minutes <sneek>This system has been up 5 weeks, 9 hours <sneek>I've been running for 23 seconds <lloda>when i've had to do combinations/permutations, i've just transcribed knuth to C <lloda>a library of 'best known' routines for Guile would be very nice to have <sneek>I've been running for 34 minutes and 41 seconds <chrislck>lloda: isn't it a matter of copying rosettacode.org into (ice-9 algorithms) ? <lloda>that sounds too simple to work, but maybe it's a starting point chrislck <alextee>making an appimage and I noticed that this directory is 30mb: usr/lib/x86_64-linux-gnu/guile/2.2/ccache <alextee>that's precompiled guile stuff right? is it safe to delete? <dsmith-work>Did someone bisect the evaluation problem with Geiser? <wingo>iirc lampilelo fixed it in geiser too <dsmith-work>Hmm. Works with a fresh emacs process. Proabably some old geiser code ***taylan2 is now known as taylan
<lispmacs[work]>is there a convenient debugging procedure in Guile for "print out the return value of this expression and then return that return value"? <lispmacs[work]>after doing a (load file-path) to re-load a module from the interpreter, is there any reason to ",use" the module again? ***jackhill_ is now known as KM4MBG
***KM4MBG is now known as jackhill[m]
***jackhill[m] is now known as jackhill