2021-09-29 17:32:23 +00:00
|
|
|
Path.expand("..", __DIR__)
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-09-29 17:32:23 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ string
|
|
|
|
# ^ punctuation.delimiter
|
|
|
|
# ^ constant.builtin
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
|
|
|
|
func.(1)
|
|
|
|
# ^ variable
|
|
|
|
# ^ operator
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
|
|
|
|
arg |> func
|
|
|
|
# ^ variable
|
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
|
|
|
|
func 1
|
|
|
|
# ^ function
|
|
|
|
# ^ number
|
|
|
|
|
|
|
|
hd([1,2])
|
|
|
|
# <- function
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.delimiter
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
|
|
|
|
Kernel.spawn(fn -> :ok end)
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-09-29 17:32:23 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ keyword
|
|
|
|
# ^ operator
|
|
|
|
# ^ string.special.symbol
|
|
|
|
# ^ keyword
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
|
|
|
|
IO.ANSI.black
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-09-29 17:32:23 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
|
|
|
|
Kernel.-(number)
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-09-29 17:32:23 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ operator
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ variable
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
|
|
|
|
Enum.map([1, 2], fn x ->
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-09-29 17:32:23 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.delimiter
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ punctuation.delimiter
|
|
|
|
# ^ keyword
|
|
|
|
# ^ variable
|
|
|
|
# ^ operator
|
|
|
|
x * 2
|
|
|
|
# <- variable
|
|
|
|
# ^ operator
|
|
|
|
# ^ number
|
|
|
|
end)
|
|
|
|
# <- keyword
|
|
|
|
# ^ punctuation.bracket
|
2021-10-12 21:11:14 +00:00
|
|
|
|
|
|
|
:erlang.abs(-1)
|
2021-12-15 22:29:48 +00:00
|
|
|
# ^ module
|
2021-10-12 21:11:14 +00:00
|
|
|
# ^ operator
|
|
|
|
# ^ function
|
|
|
|
# ^ punctuation.bracket
|
|
|
|
# ^ operator
|
|
|
|
# ^ number
|
|
|
|
# ^ punctuation.bracket
|