exfmt v0.1.0 Exfmt.Context
Link to this section Summary
Functions
Create a new Context
Push a new value onto the stack, signifying another layer in the code
Link to this section Types
Link to this section Functions
Create a new Context.
Push a new value onto the stack, signifying another layer in the code.
iex> new().stack
[]
iex> ctx = new() |> push_stack(:call)
...> ctx.stack
[:call]
iex> ctx = new() |> push_stack(:call) |> push_stack(:list)
...> ctx.stack
[:list, :call]