From d7a9edb3a2c94c0f1b953efe49f8b125ae95784f Mon Sep 17 00:00:00 2001 From: Konstantine Rybnikov Date: Wed, 4 Mar 2015 11:34:04 +0200 Subject: [PATCH] Add section on code and project structiring --- outline/intermediate-haskell.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/outline/intermediate-haskell.md b/outline/intermediate-haskell.md index 743ec97..7ad720f 100644 --- a/outline/intermediate-haskell.md +++ b/outline/intermediate-haskell.md @@ -174,3 +174,10 @@ preludes (in alphabetical order). * Pragmas (UNPACK, INLINE, ...) * Heap profiling * Looking at GHC core + +## Code and project structuring + +As a project grows, there are many "patterns" that might save developer some time by just doing some restructuring work. Some tricks might save development time, while others help to re-compile less. + +* Common `Imports.hs` module +* Multiple executables depending on common library