<div>Dear list members,<br></div><div><br></div><div>This works in DrRacket:</div><div>definitions window</div><div>-------------------------</div><div>#lang racket<br>(module+ server<br> (provide a-from-server)<br> (define a-from-server 'a-from-server))<br>
<br>(module+ client<br> (module server2 racket <br> (provide b-from-server2)<br> (define b-from-server2 'b-from-server2))<br> <br> (require (submod ".." server))<br> (provide (all-from-out (submod ".." server))) <br>
<br> (require 'server2)<br> (provide (all-from-out (submod "." server2))))<br><br>(module+ main<br> (require (submod ".." client))<br> a-from-server<br> b-from-server2)</div><div><br></div><div>
Results in interactions window</div><div>---------------</div><div>></div><div>'a-from-server<br>'b-from-server2</div><div><br></div><div>BUT the following gives me the error: "all-from-out: no corresponding require in: (quote server2)"</div>
<div>Could someone explain why I'm getting this error.</div><div><br></div><div>Definitions window</div><div>------------------</div><div>#lang racket<br>(module+ server<br> (provide a-from-server)<br> (define a-from-server 'a-from-server))<br>
<br>(module+ client<br> (module server2 racket <br> (provide b-from-server2)<br> (define b-from-server2 'b-from-server2))<br> <br> (require (submod ".." server))<br> (provide (all-from-out (submod ".." server))) <br>
<br> (require 'server2)<br> (provide (all-from-out 'server2))) ;;;CHANGED (submod "." server2) TO 'server2<br><br>(module+ main<br> (require (submod ".." client))<br> a-from-server<br>
b-from-server2)</div><div><br></div><div>Thanks,</div><div>Harry Spier</div>