Let say I do have a record definition:
-record(my, {
a :: atom(),
b :: binary()
}).
Are there any possibility to extract a metadata of record elements
during run-time? E.g call_some_magic_fun that says R#my.a is atom,
R#my.b is binary...
Thanks for any advice!
Best Regards,
Dmitry >-|-|-*>
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions
If you don't want to rely on dialyzer at runtime, you'll need to
copy-paste the code from dialyzer_utils AFAICT. Also the erl_types
module is part of hipe.