concept to - do list in category elixir
appears as: to-do list, to-do lists, to-do list

This is an excerpt from Manning's book Elixir in Action.
The basic version of the to-do list will support the following features:
Listing 4.1 Initializing a to-do list (simple_todo.ex)
defmodule TodoList do def new(), do: %{} ... endNext you have to implement the
add_entry/3function. This function expects a to-do list (which you know is a map) and has to add the entry to the list under a given key (date). Of course, it’s possible that no entries for that date exist, so you have to cover that case as well. As it turns out, this can be done with a single call to the functionMap.update/4.