<div dir="ltr"><span style="font-family:arial,sans-serif;font-size:13.333333969116211px">  I&#39;m in a position that I would like to use </span><a href="http://docs.racket-lang.org/reference/Module_Names_and_Loading.html#(def._((quote._~23~25kernel)._dynamic-require))" rel="noreferrer" target="_blank" style="font-family:arial,sans-serif;font-size:13.333333969116211px">dynamic-require</a><span style="font-family:arial,sans-serif;font-size:13.333333969116211px"> to gain access to all of the provides in a module.  This is quite straightforward for normal procedures, but I also want this to include syntax.  However, I get this error when trying to dynamically require the blah macro from my test module:</span><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
<br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><div>(dynamic-require &quot;test.rkt&quot; &#39;blah)</div><div>blah: use does not match pattern: (blah body) in: blah</div></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">
<br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">  From the spec, it says that &quot;If the module exports provided as syntax, then a use of the binding is expanded and evaluated in a fresh namespace to which the module is attached&quot; when using dynamic-require.  I don&#39;t understand how it&#39;s being used, though.</div>
<div style="font-family:arial,sans-serif;font-size:13.333333969116211px"><br></div><div style="font-family:arial,sans-serif;font-size:13.333333969116211px">  Is there a way to use dynamic-require how I want?  Is there a better way?</div>
<div class="" style="margin:2px 0px 0px;font-family:arial,sans-serif;font-size:13.333333969116211px"><div id=":64" class="" tabindex="0"><img class="" src="https://mail.google.com/mail/u/0/images/cleardot.gif"></div></div>
<span class="" style="font-family:arial,sans-serif;font-size:13.333333969116211px"><font color="#888888"><div>Cody</div></font></span></div>