***Raimondii is now known as Raimondi
<mwette>I'm reading throught the manual section on CPS today. <dadinn>quick question about getopt-long. Is there a way to print usage help from the grammar/spec? <dadinn>I mean some builtin function which generates it easily <dadinn>and maybe given some optional defaults map... <dadinn>... yeah, saying this, I would actually rather expect the defaults given at the grammar/spec, instead as an extra arg to option-ref :/ <mwette>getopt-long is deprecated in favor of srfi-37 <mwette>but that does not provide help spec like python argparse does :( <mwette>if that is what you are looking for <dadinn>argh, getopts-long is more declarative, and I prefer that... <dadinn>but why does it have to throw an error for extra properties! :( <dadinn>i could have easily added 'description' and 'default' properties, then use it to generate the usage help... this insanity! <dadinn>I am sure getopt-long was written by a C or ML/Haskell developer :P <dadinn>sunday evening flame war, start! :D <dadinn>but really, why would someone write a library, in a language aimed for extensibility, and make it imposible to extend :'( <rain1>dadinn, it sounds like you have a really good idea for how to improve this library <rain1>I see no reason why guile would not accept this change (making it extensible) <dadinn>rain1: is it the github ice9 repo i should submit a pr to? <rain1>im not really sure, guile contains a copy of ice9 too <rain1>maybe just building a proof of concept and bringing it up on the ML for discussion could be a good start <mwette>or look at .../share/guile/2.2/scripts/compile.scm for example <dadinn>mwette: couldn't find examples how srfi-37 works. how come it doesn't use spec/grammar? <dadinn>this args-fold thing is not for my taste. <dadinn>so i suppose the final conclusion is ice9 won't accept changes, and i can take it as is or leave it. <louishaemmerle>I am writing a unit testing framework, so I would like to have that kind of access <dadinn>how do i enable srfi features? use-modules don't seem to work <dadinn>`fold` is only available in srfi-1 and it is not built-in, but use-modules not work either :( <hugo>dadin: (use-modules (srfi srfi-1))