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

Well, the warning from ghc gives you the inferred type, which can be helpful. Copying it in place blindly is not advised - it won't break, but something more specific might be better. And of course the compiler has no way of getting inferring what choice of type aliases will be most (correctly) communicative.


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

Search: