Maybe-unpopular Haskell opinion: hs-boot files are unfairly maligned. Mutually-recursive modules are awesome, especially given how much Haskell relies on its module system for encapsulation. It’s really useful to be able to have two modules that use each other’s opaque types.
-
-
I’ve done this a few times as well. Not as extreme as def in another file, just later on in the module. Helps avoid mutual blocks...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.