Hacker News new | ask | show | jobs
by domlebo70 1015 days ago
I had never heard of inverseMap. I suppose it only works where every variant can only be parsed in the same way it is rendered.
1 comments

This is a formal property of a function, called an injective function: https://en.wikipedia.org/wiki/Injective_function