<div dir="ltr"><div dir="ltr">Hi Vyzo,</div><div dir="ltr"><br></div><div dir="ltr">The core prelude (<a href="https://github.com/vyzo/gerbil/blob/master/src/gerbil/prelude/core.ss">https://github.com/vyzo/gerbil/blob/master/src/gerbil/prelude/core.ss</a>) defines some extensions to |import| and |export|.</div><div dir="ltr"><br></div><div dir="ltr">Bumped into studying this in proto.ss, which contains (export ... (struct-out !rpc ...) ...).</div><div dir="ltr">struct-out can be understood from its use - it's for exporting a structure with its constructors, accessors, mutators. (struct-out's definition code is totally unreadable to me though.)</div><div dir="ltr"><br></div><div dir="ltr">All of these are undocumented, may you want to comment on what they are for also with a single use example (or add to some documentation section in your guide)?</div><div dir="ltr"><br></div><div dir="ltr">Thanks!<br>Adam</div><div dir="ltr"><br></div><div>defsyntax-for-import-export:s:<br></div><ul><li><div>for-syntax<br></div></li><li><div>for-template</div></li></ul><div dir="ltr"><br></div><div>defsyntax-for-import:s::<br></div><div dir="ltr"><ul><li>only-in<br></li><li>except-in<br></li><li>rename-in<br></li><li>prefix-in<br></li><li>group-in</li></ul></div><div><br></div><div>defsyntax-for-export:s:<br></div><ul><li>except-out<br></li><li>rename-out<br></li><li>prefix-out<br></li><li>struct-out<br></li></ul></div>