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

Have you tried .hs-boot files for separate compilation with circular dependencies? It’s not bad, but it does lead to some extra crapwork when changing interfaces, much like with C++ headers.


I haven't, and it does look pretty cumbersome. So far a couple of Types.hs, i.e. for functionally separate components, have worked out fine, but I'll check it out if that becomes unwieldy.




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

Search: