4 ms·
I feel like that comment is a little disingenous or at least needs a caveat after reading this[0]. I know that casts are almost never needed in Haskell code whe
by codygman 11y ago
I feel like that comment is a little disingenous or at least needs a caveat after reading this[0]. I know that casts are almost never needed in Haskell code whereas I needed them in my last Android application (correct me if there's another way).
0: http://stackoverflow.com/questions/12468722/does-haskell-erase-types http://stackoverflow.com/questions/12468722/does-haskell-era...
- the_af 11y agoThat stackoverflow answer explains Haskell does type erasure. No, it doesn't work exactly the same as in Java, but nobody claimed it did. The OP claimed Java's type erasure annoyed him, while also claiming he had used Haskell a lot. I merely pointed out Haskell also erases types. I cannot advise you on your Android application without knowing what you're trying to accomplish.