IRC channel logs
2017-03-19.log
back to list of logs
<amz3>my product proc is obviously wrong <thomassgn>Hi guile; is there something along the lines of https://robotgame.net/ - basicly a game world where one can plug in bots (ai) and turn by turn compete in some way. <thomassgn>Started learning c++ this way, and would to get into guile with something like it too. <amz3>so gnu texmacs use guile <amz3>that's what I've been wondering <amz3>that said my context free grammar parser is incomplete <amz3>I stumbled upon a nice procedure that allows to create a lset out of a regular list <amz3> (apply lset-adjoin equal? '() lst)) <amz3>it makes the content of 'lst' appear once in the output according to 'equal?' <amz3>basically it construct a lset according to 'equal?' <amz3>erf, I just discovered that 5 years ago (actually) I solved a non trivial problem regarding earley parser <amz3>apparently only the recognize part of the algorithm works bullet proof <amz3>it's unlikely that will guess the correct algorithm myself, even it seems i did find something 5 years ago... <amz3>so I need to read some papers about the subject <amz3>meh... they use the same name for the parse result construction procedure in the paper as in my python implementation <wferi>Hi! When I (display) an argument passed to my function, it gives something like <wferi>(#<procedure x (l p a)> ((#<procedure y (l p a)>))) <wferi>the procedure? predicate says #f <artyom-poptsov>wferi: Could you please provide the context, e.g. the procedure source and code that calls it? IMO, It's hard to guess what the problem you experiencing w/o seeing the code. <wferi>artyom-poptsov: well, not easily. I'm no scheme coder, I'm just trying to add some scheme code to Lilypond. I create this object by some higher level means, and just trying to handle it somehow... <wferi>do you happen to know what Lilypond is? <jmd>wferi: It is a system for rendereing music scores. <wferi>yes, jmd, and it embeds guile, it's partly written in scheme <jmd>I think that is correct. <wferi>but it has its own input syntax, a user like me does not meet scheme most of the time <wferi>and now I created an object by Lilypond's syntax, and have to handle it from scheme <wferi>but I don't know the Lilypond internals <jmd>CharlieBrown: Not that I recall. In fact I think lilypond has existed longer than Python. <wferi>so I don't know what the heck this scheme object is <wferi>its full representation is longer, though <wferi>so, could you please identify the type of this object based on its written representation? <wferi>so that I know what to read up on... <wferi>CharlieBrown: Lilypond never met Python, as far as I know <wferi>ok, it turned out to be a pair <spk121>civodul: in i18n, a bug because proc 'locale-monetary-grouping' is sometimes called 'locale-monetary-digit-grouping' <spk121>civodul: if you pick one or the other, I'll fix it. <spk121>civodul: Exported at 'locale-monetary-grouping'. Documented as 'locale-monetary-grouping'. Coded as 'locale-monetary-digit-grouping'. <MoronicAcid>paroneayea: Yeah, doing a quick Google search doesn't turn up anything.