Kernel

Kernel

Provides the default macros and functions Elixir imports into your environment.

These macros and functions can be skipped or cherry-picked via the import/2 macro. For instance, if you want to tell Elixir not to import the if/2 macro, you can do:

import Kernel, except: [if: 2]

Elixir also has special forms that are always imported and cannot be skipped. These are described in Kernel.SpecialForms.

Some of the functions described in this module are inlined by the Elixir compiler into their Erlang counterparts in the :erlang module. Those functions are called BIFs (built-in internal functions) in Erlang-land and they exhibit interesting properties, as some of them are allowed in guar