Top "Erlang-shell" questions

Erlang comes with an interactive shell where you can try out your Erlang code.

How to create a list of 1000 random numbers in Erlang?

I'm sure that there is a function for that. I just want to make a list of 1000 numbers, each one …

erlang erlang-shell
Erlang case statement

I have the following Erlang code and it is giving the warning as follows, when i try to compile it, …

erlang erlang-shell erl
How to check if a list is empty in Erlang?

Basically I have a structure that includes a Value and a list of Ids. What I want to do is …

erlang erlang-shell
How do you unbind variables in an interactive Erlang session?

In the Erlang interactive shell you can bind variables to values. If I would like to clear everything and start …

erlang erlang-shell
How to run a custom function when starting an Erlang shell / node? (That is, a function within an `.erl` file)

I can start an Erlang file either via the command line or bash script: exec erl file.erl But, I …

bash command-line erlang erlang-shell
In the Erlang shell, how can I automatically read all my record definition headers

This started off as the question: Almost every time when I use the Erlang shell, I'd like to run some …

erlang erlang-shell
no function clause matching erlang

I just picked up Erlang and I ran into a simple problem, but I have not been able to fix …

erlang erlang-shell