... | ... | @@ -296,12 +296,16 @@ It's helpful to give type signatures inside comments in the export list, but har |
|
|
|
|
|
List imports in the following order:
|
|
|
|
|
|
- Local to this subsystem (or directory) first
|
|
|
- Prelude: Use GHC.Prelude instead of Prelude when possible
|
|
|
- "friends" local to this subsystem (or directory)
|
|
|
- Compiler imports, generally ordered from specific to generic (ie. modules from utils/ and basicTypes/ usually come last)
|
|
|
- Library imports
|
|
|
- Standard Haskell 98 imports last
|
|
|
|
|
|
```haskell
|
|
|
-- Prelude
|
|
|
import GHC.Prelude
|
|
|
|
|
|
-- friends
|
|
|
import SimplMonad
|
|
|
|
... | ... | |