Kernel.-

You're seeing just the function -, go back to Kernel module for more information.

Specs

-0 :: 0
-pos_integer() :: neg_integer()
-neg_integer() :: pos_integer()
-float() :: float()

Arithmetic negative unary operator.

Allowed in guard tests. Inlined by the compiler.

Examples

iex> -2
-2

Specs

integer() - integer() :: integer()
float() - float() :: float()
integer() - float() :: float()
float() - integer() :: float()

Arithmetic subtraction operator.

Allowed in guard tests. Inlined by the compiler.

Examples

iex> 1 - 2
-1