Beam target is in alpha meaning that breaking changes can happen between minor versions.
Beam (Erlang)
This section is specific to Beam (Erlang) targeting. It will guide you through the process of setting up your project and using Fable to compile F# to Erlang.
Prerequisites
You need Erlang/OTP 25 or higher and rebar3 installed. Verify with:
erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell
rebar3 versionCompile your project to Erlang:
dotnet fable --lang beamFable generates
.erlfiles insrc/subdirectories and automatically creates a rebar3 project scaffold (rebar.config,.app.srcfiles).Compile the generated Erlang files with rebar3:
rebar3 compileRun your code:
erl -noshell -pa _build/default/lib/*/ebin -eval 'program:main(), halt().'Run Fable in watch mode for development:
dotnet fable watch --lang beam
For more details, see Build and Run.