refactoring: samples/ghc