1
TIL that scala's mapValues calls the function on retrieval, every time. Which also means, any exceptions will triggered every time you use the map, not when you construct it.
ML and AI expert
2 tweets