IRC channel logs
2017-08-28.log
back to list of logs
<stratotanker>Guile manual tell me that when catching exception with key 'misc-error, args can be used with simple-format <stratotanker>so, (simple-format args) not valid, how i can pass args to simple-format? <mwette>(lambda (key fmt . args) (apply simple-format #t fmt args)) <davexunit>rekado: no yaml library that I know of. I wrote a really hacky subset of a yaml parser before, but the yaml standard is *terrifying* so I gave up going further. <dustyweb>davexunit: YaML is really the worst of the *ML family of languages ;) <ijp>We should have a bug tool in guile called guilt <rekado>davexunit: I only really need strings and lists, so a small subset of the specs would probably be sufficient for my purposes. <amz3>sneek! oh! sneek come back to our room, it's full of blooming conversation, that needs your presence to be the perfect place to be on the internet <amz3>OrangeShark: how are you doing? <dsmith-work>amz3: Ah fouey! Forgot to check on sneek over the weekend. <manumanumanu>Has anyone tried porting clojures data structures to guile? <arximboldi>these vectors are more powerful than clojure's though, they are based on rrb-trees so they support log-n concat/slicing/insertion at any point <arximboldi>I think wingo has been experimenting with pure scheme implementations though <ijp>Guile uses integer map/set types internally that come from clojure <ijp>my own functional vector library (pfds sequences) is not based on clojure, but on fingertrees, and my (fectors) is a whole different thing that is only semi-persistent <ijp>GSOC Wrap-up sent to guile-user <ijp>fectors doesn't get any love, my code mostly acts as a reference point for when I want to talk about that implementation strategy <manumanumanu>I always managed to squeeze slightly better performance from pairing heaps <ijp>manumanumanu: what's the context for that? <manumanumanu>I haven't tested in guile though, but for most other projects I have found pairing heaps to give slightly better performance <ijp>Ah. At the time I was needing a priority queue, and wasn't focusing too much on speed, so I implemented the one I could do from memory <ijp>pfds has some conflicting goals in mind. Portability really hurts its performance on guile <ijp>If you want to link me the code, or send a pull request, or whatever, I can take a look, but I haven't really been focussing on pfds <manumanumanu>whatever you do, don't look at the other code. much of it is crap <daviid>ijp: congrat for the strong dedication and the good work! <amz3>ijp: what's the option you use to increase stack frame limit? <amz3>ah yes, I was looking for the same thing under firefox <amz3>ijp: great achievement, you succeed where I failed numerous times! very great! <amz3>(and I know javascript :p) <cmaloney>Isn't writing in JavaScript just taking a 1 in 6 chance of returning NaN or undefined? :) <dsmith-work>ijp: Talking to someone forces you to collect your random nebulous thoughts into clear language. That very act often brings solutions.