F# check if 2 maps are identical -


is there short way check if 2 maps identical?

for example

map [("a", 10)] map [("a", 10)] 

-> identical

map [("b", 10)] map [("b", 11)] 

-> not identical

the default = appears work

>   map.ofarray [| (1,"a");(2,"b") |] =   map.ofarray [| (1,"a");(2,"b") |];; val : bool = true >   map.ofarray [| (1,"a");(2,"b") |] =   map.ofarray [| (1,"a");(3,"b") |];; val : bool = false 

Comments

Popular posts from this blog

java.util.scanner - How to read and add only numbers to array from a text file -

rewrite - Trouble with Wordpress multiple custom querystrings -