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

I don't think cyclic imports are allowed in Haskell.


Sure they are, and full cross-module inlining too


Since when? I just merged 3 files together because GHC complained of the cyclic imports. I would love to pull them apart again.



Right, .hs-boot files. I was being naive and trusting the compiler warnings.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: