Exoteric (exoteric v0.1.1)

Link to this section Summary

Functions

Defines a function of the given name with multiple case clauses.

Prints a variable along with a label of the same text using IO.inspect

Link to this section Functions

Link to this macro

defcase(arg, list)

(macro)

Defines a function of the given name with multiple case clauses.

Link to this macro

defcond(arg, block)

(macro)
Link to this macro

defmulti(arg, list)

(macro)
Link to this macro

destructure_map(map, list)

(macro)
Link to this macro

log(val)

(macro)
@spec log(any()) :: any()

Prints a variable along with a label of the same text using IO.inspect

examples

Examples

iex> hello = "Hello, World!"
...> Exoteric.log(hello)
"""
hello: "Hello, World!"
"""
Link to this macro

arg \\ false_

(macro)