Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 334 Bytes

File metadata and controls

7 lines (5 loc) · 334 Bytes

Exercise: Protocols-4

In many cases, inspect will return a valid Elixir literal for the value being inspected. Update the inspect function for structs so that it returns valid Elixir code to construct a new struct equal to the value being inspected.

Solution

See the todo.exs file for the full solution.

TODO