Usually, when you use ghci
's :reload
or ghc --make
(with -O0
to disable unfoldings which are used for cross-module inlining),
after changing implementation code of functions,
GHC will incrementally recompile only the modules you changed,
making for a fast development experience when iterating on
implementation details.
(When you change API like functions types, export lists, etc.,