How to print out every key pair in a .Set?
csujedihy opened this issue · 3 comments
csujedihy commented
How to print out every key pair in a .Set?
ehildenb commented
Could you clarify what you're trying to do? .Set
corresponds to the empty set in K, and there are no keys for a set.
csujedihy commented
Sorry. I made a mistake here. I mean .Map.
Best regards,
Yi Huang
…On 2017年5月1日 -0500 PM9:17, ehildenb ***@***.***>, wrote:
Could you clarify what you're trying to do? .Set corresponds to the empty set in K, and there are no keys for a set.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
ehildenb commented
.Map
is the empty map, so it has no keys. If M
is a variable of sort Map
you can call keys(M)
to get the Set
of keys of the map.