<OrangeShark>dustyweb: we would need to get an immutable hash table implementation in guile <OrangeShark>immutable ones are generally stored as a tree data structure <rain1>im not sure why you would want an immutable one, what if someone wanted to edited the parsed json <OrangeShark>it might seem inefficient because you think it is copying the entire hash table, but you can actually share parts of the hash table which don't change <daviid>i'm under the impression wingo also wrote some, but if that is correct, then I lost the link (was it fash and fectors...?) <OrangeShark>daviid: I already posted it :) There is some good papers linked in the readme if you want to learn more. <ijp>daviid: wingo's are in guile already <ijp>e.g. (language cps intmap) <ijp>hidden away where no-one else will use them <daviid>ijp: if he uses these in guile, likely they will be there for good and proper maintained .. maybe one day they are part of the API and documented ... don't know <ijp>probably, but intmap and intset are kinda specialised <ijp>I don't see much code that doesn't deal with (language cps) using it <ijp>that is meant to be not in the present tense but the future one <daviid>maybe dustyweb and davexunit could merge their (json) work and use your hamt implementation ... then we can make it part of guile-lib ... <davexunit>guile would need a primitive immutable hash map with read syntax <davexunit>I'm still partial to alists, because once you have the json parsed you almost always convert it into another data type anyway <dustyweb>davexunit: the one advantage to alists IMO is <dustyweb>sometimes it's nice to preserve the ordering as you got it ***ozzloy_ is now known as ozzloy
<pmikkelsen>Hi, are there any good online resources you can recommend for learning guile (or scheme in general)? I already have a strong knowladge of functional programming <MaliRemorker>pmikkelsen: i would recommend reading Guile Reference in info format <MaliRemorker>pmikkelsen: The Scheme, Programming Language by Kent Dybvig is a pretty good Scheme reference/learning book <MaliRemorker>pmikkelsen: and, lastly, if you have loads of time on your hands Structure and Interpretation of Computer Programs by Abelson, Sussman and Sussman <MaliRemorker>pmikkelsen: if you're already a seasoned coder, i'd recommend mixing Guile Reference (texinfo) with Dybvig's book <MaliRemorker>How do i extract information about the current source i'm currently reading with `read'. In subsection 'Reading Scheme Code' there is list of read-options of the Scheme reader. One of them is about recording the source expressions. How do I extract this position information? <MaliRemorker>Also, what does the `copy' read-option actually do? Perhaps read an expression from the file without moving the pointer? <MaliRemorker>subsection above refers to the subsection of Guile Reference ***MaliRemo` is now known as MaliRemorker
<jeko_>Do you know if I can watch FOSDEM conf in live tomorrow? <Labu1>hello, how can I get client addess from an <input-output: socket 6> ? <Labu1>I have nothing in (request-meta request) <Labu1>if I get (request-port request) I get an <input-output: socket 6> so I thought perhaps I could get addr from ths