Re: syntax-case identifier name predicate in guard expression

2019-08-05 Thread Zelphir Kaltstahl
Hi Mark! Thank you for your help! I must have been blind from moving code back and forth and the (display ...) was still from when the output of the macro was simply a symbol, for checking whether the guard expression in the (syntax-case ...) cases works. Also I was confused because the error mes

Re: syntax-case identifier name predicate in guard expression

2019-08-05 Thread Mark H Weaver
Hi Zelphir, Zelphir Kaltstahl writes: > Hi Guile Users! > > I made some progress in writing a procedure defining macro for creating > procedures which talk to an API. > > I now have working code, which checks the name of an identifier in a > guard expression: > > 8<8<8< > (use-mo

Re: syntax-case identifier name predicate in guard expression

2019-08-04 Thread Zelphir Kaltstahl
Hi Guile Users! I made some progress in writing a procedure defining macro for creating procedures which talk to an API. I now have working code, which checks the name of an identifier in a guard expression: 8<8<8< (use-modules (web uri) (web client) (js

syntax-case identifier name predicate in guard expression

2019-07-22 Thread Zelphir Kaltstahl
Hi Guile Users! In previous e-mails I inquired about macros defining procedures. Afterwards I noticed, that I need my macro to check whether some regular expression is inside the name of an identifier. For example I have an two identifiers (not strings and no values bound to them yet):