<div class="gmail_quote">On Tue, Jan 20, 2009 at 2:13 AM, Hynek Vychodil <span dir="ltr"><<a href="mailto:vychodil.hynek@gmail.com">vychodil.hynek@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You can use -import() or -include(). .hrl with in-lined functions or its combination and add it in each reia scope/module.<br></blockquote><div><br>I was hoping for a better solution than that.  Specifically I would like to support code change for the "main" module.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">P.S.: How you will deal with GC of objects when implementaed as processes? I have same problem with iterators when try implement as J. A. sugest do it as process.<br>

</blockquote></div><br>Objects aren't automatically garbage collected when they (or rather their pids) go out of scope.  Obviously this is a departure from OO languages most people are used to and will require a bit of a paradigm shift on the user's part.<br>
<br>-- <br>Tony Arcieri<br><a href="http://medioh.com">medioh.com</a><br>