While running code example one of expression’s result is unused. It is easy to fix. Just use “_” variable. That structure inform the compiler that it is Ok ignoring expression’s result.
For example:
_ = [maps:get(K, M) || {K, _V} <- KV],
While running code example one of expression’s result is unused. It is easy to fix. Just use “_” variable. That structure inform the compiler that it is Ok ignoring expression’s result.
For example:
_ = [maps:get(K, M) || {K, _V} <- KV],