I have a {H,VV} pair and I want to compare this pair against the rest of the Map to find other key that has the same value.

I tried this:

```
check(H,Map)->
  VV=maps:get(H,Map),
  Fun = fun(K,V) when H =/= K, V=:=VV->
  io:format("~p~p~n",[H,K])
  end,
  maps:map(Fun,Map).

```

it compiles but raise error "function\_clause"

Any ideas how to implement this?