erl_expand_records(3erl)
π erl_expand_records π
okay so bestie, welcome to the erl_expand_records(3erl) page β manual name folded in right at the top like a little name tag π«Ά. This is the Erlang module definition for erl_expand_records.
πΈ NAME πΈ
erl_expand_records β Expands records in a module.
β¨ DESCRIPTION β¨
This module expands records in a module. That's the whole vibe: records go in, expansion happens. no cap π
π EXPORTS π
module(AbsForms, CompileOptions) -> AbsForms2β the one export, and she's iconic.
Types:
AbsForms = AbsForms2 = [erl_parse:abstract_form()]CompileOptions = [compile:option()]
Okay so what does it actually do? It expands all records in a module to use explicit tuple operations and adds explicit module names to calls to BIFs and imported functions. The returned module has no references to records, attributes, or code. literally all of that π«Ά
π¦ SEE ALSO π¦
Section The Abstract Format in ERTS User's Guide.
Cute sign-off: that's the whole page, bestie β the source/version footer says Ericsson AB, stdlib 4.3.1.3, erl_expand_records(3erl) πβ¨
π¦ where this page comes from
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4 Β· Apache-2.0
- ubuntu noble: erlang-manpages 1:25.3.2.8+dfsg-1ubuntu4.8 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms