Hacker News new | ask | show | jobs
by Joker_vD 1425 days ago
The academic term for such types is "singleton types". They allow for some quite mind-blowing possibilities as you've shown.