Interesting or unique types encountered?
- by user318904
What is the most strange or unique type you have seen in a programming language?
I was thinking the other day about a "random variable", ie whenever it is evaluated it yields a random value from some domain. It would require some runtime trickery.
Also I bet there can be some interesting mapping of regular expressions into a type system.
It…