Hi David,
The syntax of `dispatch-rules` is that its arguments are dispatch
clauses, not expressions, and it does not implement its own macro
system (like `match` does.)
You should either change `dispatch-rules` to do that by adding
"dispatch-rules-expanders" or make your own macro to expand
I'm trying to build a macro that will generate routing rules for
'dispatch-rules'.
(dispatch-rules) from web-server/dispatch has this form:
(dispatch-rules
(("announce-user") #:method post process-announce-user))
...more routes here...
)
This seems like it should be automatable, so I
2 matches
Mail list logo