IRC channel logs
2017-11-09.log
back to list of logs
<numerobis>Hi! Does anyone know how to create an array of integers in guile using (make-array-typed ...)? I can't seem to find the how to write the "integer" type in the manual. Thanks! <civodul>numerobis: you could use the SRFI-4 API for that <numerobis>civodul: thank you very much, I think that would work! <manumanumanu>Ober: I'm not always so sure. I think they are a great way to receive feedback and standardise some primitives, but I am not sure about some of them <Ober>but... having had folks thump the clhs as the holy book for ages, it's a great thing to see something written in this millenia <manumanumanu>I am a bit afraid that r7rs-large will include srfi-42. even after using it quite a bit, I am still confused about the syntax, and a bit disappointed that the code it generates is so slow <Ober>"what does it mean 'thall shall not cons!'?" <Ober>yeah. great ideas persist <manumanumanu>even though nr. 2 is the only one I use as an srfi. The others I download directly from ashinn <rekado>I cannot do without srfi 1 and 26. <rekado>115 is great and I wished it were part of Guile. It’s just so very useful. <civodul>so, on that big CPS compilation thing, it's compute-strongly-connected-components on the top-level thunk that's causing the biggest memory growth <civodul>i wonder if this is a case where doing it the purely functional way doesn't cut it, at least not with the usual data structures <amz3>manumanumanu: who is ashinn? <amz3>looking up a new domain name tlds <amz3>those are awefully expensive <amz3>mind that the .space tld is available 40€ for 10 years <amz3>which is not expensive, but it's difficult to come up with a short domain name that is also available <amz3>there is this gnu taler thing, a cryptographic money that is also a gnu project that allows anonymous payment but also taxes <bavier>amz3: gnu taler seems pretty cool to me <amz3>at least one of the maintainer is also a gnunet maintainer or contributor <p4cman>how should i get started with guile <amz3>p4cman: do you mind giving me feedback in a tutorial I amde? <amz3>p4cman: what's your programming knowledge? <amz3>background in programming? <p4cman>amz3: a little bit C, that's all. <amz3>p4cman: then you can start with my tutorial, but only if you plan on giving me feedback :D <amz3>also there are comics :D <amz3>and it's space related somewhat <amz3>p4cman: you keep SICP around :) <p4cman> is elisp different then? or would i be able to write emacs extensions in guile itself <amz3>it doesn't have flying robots <amz3>p4cman: don't hesitate to read the a-guile-mind book and ask questions on the fly, actually it's not a book there are less than 3,000 words <OrangeShark>p4cman: elisp is a different language, but there is a lot of similarities. <p4cman>one question: so is guile a general purpose language and not just an ectension language? considering dmd and guix are written in guile <OrangeShark>guilers are pretty much on the side where an extension language should be a general purpose language <amz3>p4cman: also they are various attempt at building a clone of emacs in guile <amz3>there is also guile emacs, but... the ladder is ver high <amz3>honestly, I never needed to use elisp <amz3>I mostly copy paste, and know enough of it to tweak some variables <amz3>I can read elisp but not write it <manumanumanu>ArneBab_: irregex (the basis of srfi-115) is trivial to install in guile. <manumanumanu>daviid: I just used guile-inotify2 to write a small script to automatically sort my download directory <manumanumanu>it does not handle errors at all, so you need to do some housekeeping yourself (make sure the directory exists, etc). <daviid>manumanumanu: I dod not write this project, you probably want to talk to the author about all this ... chaosethernal iirc <daviid>no it is not my list, i posted it to help Romantic and possibly new comers I don't know to bookmark it, afaict, it i the 'best list' we have, it tracks a lot more then our own web pages ... some are old and there for history of course... <daviid>the author is tantalum, his/her email is sph at posteo dot eu, i emailed a few times to help with some corrections and missing link, i just did it again to mention guile-cv which i just realized was still missing <daviid>i've used inotify2, i did not face any error, for my use case it was fine <daviid>it would be nice to have it as a 'good' binding, proper autotool, tests, doc, license of course .. don't know why the author did not make it so, something to think about i guess ... someone could pick it up (not me though, too busy)