Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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.
- Map.insert 5 600 $Map.insert 4 200 $Map.insert 3 100 Map.empty
- Map.insert 5 600 . Map.insert 4 200 . Map.insert 3 100 Map.empty
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement