Weird moments in Elixir




Calling Erlang external libraries.

Say you have the huge bunch of erlang libaries goodies from here, how do you call it?  Well, fire up your iex and then run the following command :

:inet.gethostname()

And you get the output.


Map data stucture : creating a map using %{}

map = %{:a => 1, 2 => :b}

Pipe operator |>



Comments

Popular posts from this blog

vllm : Failed to infer device type

android studio kotlin source is null error

gemini cli getting file not defined error