Hacker News new | past | comments | ask | show | jobs | submit login

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.



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




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: