beam_file 0.3.1

Library for processing Erlang BEAM file
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
defmodule Unicode do
  @moduledoc false

  def string(), do: "string"
  def ascii_atom(), do: :"atom"
  def utf8_atom(), do: :"åtom"

  def add1(n) when is_number(n) do
    n + 1
  end

  def add1(list) when is_list(list) do
    Enum.map(list, &add1/1)
  end
end