Taking Control of Map Sort Order in Elixir Intro to Protocols

Get previous values in IEx

To access previous values in IEx (and save some typing) use the v/1 helper:

  • v() gets the last value
  • v(n) gets the nth expression
  • v(-n) gets the previous nth expression

See it in action! 👉 https://youtube.com/shorts/6Jaj0sOAnVk 👀