- 13 } In Elixir, you can mix
module definitions and
anonymous functions defmodule Hof do def twice(f) do fn(x) -> f.(f.(x)) end end end
plus_three = fn(i)...
- compose-result)))) Message-p****ing with Erlang's light-weight "processes": (
defmodule messenger-back (export (print-result 0) (send-message 2))) (defun print-result...
- of
classes in the
algorithm to
solve the "Towers of Hanoi" problem. (
defmodule hanoi (syntax (syntax-0)
import (level-0)
export (hanoi))...