[erlang-questions] ?DATE and ?TIME MACROs
Tue Oct 7 16:32:16 CEST 2008
I had a dig around in the source in compile, and found some other
But, I wonder, if this is not documented, might it change in the
On Oct 7, 2:31 pm, Mats Cronqvist <mats.cronqv...@REDACTED> wrote:
> harry wrote:
> > Excellent, thanks!
> > I'm struggling to find docs on module_info.
> > I'm guessing erlc inserts it into each module
> > and it uses beam_lib?
> afaik, no. it's just a regular exported function that would look
> something like this in Erlang.
> module_info() -> <list of tagged tuples>.
> module_info(Tag) ->
> try proplists:get_value(Tag,module_info())
> catch _:_ -> exit(badarg)
> where <list of tagged tuples> is a constant term.
> this is just speculation on my part though.
> erlang-questions mailing list
More information about the erlang-questions