3420 days ago |
One way to make this possible is to have your 'html macro (I'm assuming it's a macro) unhygienically provide a lexical binding for 'pr for its body
(mac html body `(do (pr "<html>") (let pr prnil ,@body) (pr "</html>")))
That way your callers can use 'pr like they're used to, but secretly and subversively you have them calling your own private pr function.
3419 days ago |
That's a clever way to do it. Thanks.