[erlang-questions] Defining a module whose functions are locally available in any scope
Tue Jan 20 10:13:39 CET 2009
You can use -import() or -include(). .hrl with in-lined functions or its
combination and add it in each reia scope/module.
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
2009/1/20 Tony Arcieri <tony@REDACTED>
> I have a slightly nonstandard usage of Erlang (i.e. http://reia-lang.org/where I'm trying to implement a set of "main" functions) and would like to
> define a module whose functions are locally available in any scope, ala the
> "erlang" module.
> Is it possible to do this?
> Tony Arcieri
> erlang-questions mailing list
--Hynek (Pichi) Vychodil
Analyze your data in minutes. Share your insights instantly. Thrill your
boss. Be a data hero!
Try Good Data now for free: www.gooddata.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions