IRC channel logs

2025-07-27.log

back to list of logs

<omentic>anyone happen to know why (define-syntax-rule (define-syntax (id stx) body ...) (define-syntax id (lambda (stx) body ...))) doesn't work?
<omentic>this breaks future invocations of define-syntax with "failed to match any pattern" errors. ik this is doing weird stuff but i'd kinda expect it to work
<omentic>what is the dollar sign syntax i see occasionally used in match?
<omentic>specifically halfway down the page here, in the (define (perform op) ...): https://wingolog.org/archives/2017/06/29/a-new-concurrent-ml
<omentic>i've been searching around but $ is pretty ungooglable. the manual says the ($ marks the start of a record pattern but i do not know why the immediately following $op is prefixed with it, as well
<omentic>also, uh, don't know for sure (re: not understanding $) but i am like pretty sure the (define (perform op) ...) example has mismatched parens. or guile's match specifically does something v unexpected
<graywolf>Is there some way to get list of all modules some file is using? I found module-uses, but that does not take (@ ...) and (@@ ...) into account it seems.
<lechner>Hi, does (rnrs bytevectors) have to be loaded, please, for the #vu8 reader syntax to work in a particular source file?
<identity>lechner: does not look that way to me
<lechner>identity / thanks! it wouldn't really make sense, I suppose, since a reader may be confronted with arbitrary data