<div>hello~</div><div>I was told by mailing list that read the racket guide unit section</div><div>but sorry I still don't understand.</div><div><br></div><div>the following code works very well</div><div>;;content of "a.rkt"</div>
<div>#lang racket</div><div>(provide a) </div><div>(define a 1)</div><div><br></div><div>;;content of "b.rkt"</div><div>#lang racket</div><div>(provide b) </div><div>(define b 2)</div><div><br></div><div>;;content of "ab.rkt"</div>
<div>#lang racket</div><div>(require "a.rkt" "b.rkt")</div><div>a</div><div>b</div><div><br></div><div>but I wonder how to use variable a in b.rkt and use b in a.rkt </div><div>with be able to use both a and b in ab.rkt</div>
<div> </div><div>as like follow</div><div>;;content of "a.rkt"</div><div>#lang racket</div><div>(provide a) </div><div>(define a 1)</div><div>(display b)</div><div><br></div><div>;;content of "b.rkt"</div>
<div>#lang racket</div><div>(provide b) </div><div>(define b 2)</div><div>(display a)</div><div><br></div><div>;;content of "ab.rkt"</div><div>#lang racket</div><div>(require "a.rkt" "b.rkt")</div>
<div>(display a)</div><div>(display b)</div><div><br></div><div><br></div><div>could somebody tell me little bit more specify?</div>