inlining and haddocks