Hash :
1ae6ad0e
Author :
Thomas de Grivel
Date :
2024-07-15T19:59:52
defmodule Empty do end
Empty
defmodule Const do
def a = 1
def b = 10000000000000000000000000000000000000000000000000
end
Const
Const.a
1
Const.b
10000000000000000000000000000000000000000000000000
defmodule Double do
def double = fn (x) { x * 2 }
end
Double
Double.double(21)
42
defmodule Plop do
def a = 1
def b = fn () { a }
end
Plop
Plop.a
1
Plop.b
Plop.fn () { a }
Plop.b()
1