Advertisement
Guest User

Untitled

a guest
Apr 26th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. insert takes a key, a value and a map and returns a new map that's just like the old one, only with the key and value inserted.
  2.  
  3. Map.insert 5 600 $Map.insert 4 200 $Map.insert 3 100  Map.empty
  4.  
  5. Map.insert 5 600 . Map.insert 4 200 . Map.insert 3 100 Map.empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement