Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes but if you want to use libs, and they don't do it this way, you're f--ked. This is one of the things I ran into.


Well, no, you're not "f--ked", there's just a pile of boilerplate. Not fun - and likely not worth it for the marginal benefit of being able to reuse + that way - but plenty possible.

And for what it's worth, I certainly agree that the way Num is structured is a wart in Haskell, and I think the previous two commenters agree. It's just that we should be clear about where the blame lies - and that's not the type system.




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

Search: