Logo

Programming-Idioms

This language bar is your friend. Select your favorite languages!
  • Haskell
import qualified Data.Map as Map
newM = Map.insert k v m

This creates a new Map
(assoc m k v)

Returns a new map.

New implementation...