IRC channel logs
2022-08-13.log
back to list of logs
<mwette>maybe define (main . args) instead of (main args) <mwette>you know cli.scm needs to be in a directory-called "my-program" and the parent of that needs to be in GUILE_LOAD_PATH ? <mwette>also, the failed exception could be a bug in guile <unmatched-paren>although that my-program.sh is the one generated when you install; the local one in the repo uses ${SRCDIR} instead of ${GSRCDIR}, and ${OUTDIR} instead of ${GOBJDIR} <mwette>so I tried just using guile, and got that exception error. BTW I don't use getopt-long, guile maintainers recommend using srfi-37. <mwette>with it you can do repeated flagged arguments <mwette>Do you need to raise (make-non-continuable-error) ? I'm not wise in the new exceptions <mwette>&non-continuable => #<record-type ...> whereas (make-non-continuable-error) => #<&non-continuable> <unmatched-paren>mwette: It's a stop-gap until i implement something to fill in that `else` <unmatched-paren>what could this possibly mean? Unbound variable: #{\x7f;ELF\x2;\x1;\x1;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x0;\x2;\x0;>\x0;\x1;\x0;\x0;\x0;}# <tohoyn>are guile keywords quaranteed to be disjoint from other base types? <lilyp>if by "keywords" you mean #:this, then yes, they're distinct from strings or symbols <lilyp>I'm pretty sure deep down it's just one bit or something like that, but there you go