scalaz/scalaz — pull request #688 by ceedubs (2014-04-03 19:57:47+00:00)
Title: Add getOrAdd to Map

This seemed useful when using a State with a Map for memoization. It's possible there's a more elegant solution that I wasn't aware of.

If there's interest, I could also add this to `==>>` and/or `InsertionMap`.