Skip to content

Commit

Permalink
remove old imports.
Browse files Browse the repository at this point in the history
  • Loading branch information
wavewave committed Aug 11, 2023
1 parent bd8647d commit 17975cc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 21 deletions.
18 changes: 1 addition & 17 deletions fficxx/src/FFICXX/Generate/Code/HsImplementation.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import Control.Monad.Reader (Reader)
import FFICXX.Generate.Code.Primitive
( accessorSignature,
cxx2HsType,
functionSignature,
functionSignature',
hsFuncXformer,
)
Expand Down Expand Up @@ -55,23 +54,8 @@ import FFICXX.Generate.Util.GHCExactPrint
mkInstance,
mkVar,
)
import qualified FFICXX.Generate.Util.HaskellSrcExts as O
( cxEmpty,
insDecl,
mkBind1,
mkFun,
mkInstance,
mkVar,
)
import GHC.Hs (GhcPs)
import qualified Language.Haskell.Exts.Build as O (app)
import qualified Language.Haskell.Exts.Syntax as O
( Decl,
)
import Language.Haskell.Syntax
( HsDecl,
ImportDecl,
)
import Language.Haskell.Syntax (HsDecl, ImportDecl)

--
-- import
Expand Down
6 changes: 2 additions & 4 deletions fficxx/src/FFICXX/Generate/ContentMaker.hs
Original file line number Diff line number Diff line change
Expand Up @@ -512,13 +512,11 @@ buildImplementationHs amap m =
f y = concatMap (flip genHsFrontInst y) (y : class_allparents y)
implBody =
concatMap f classes

{- <> runReader (concat <$> mapM genHsFrontInstNew classes) amap
<> runReader (concat <$> mapM genHsFrontInstNew classes) amap
<> concatMap genHsFrontInstNonVirtual classes
<> concatMap genHsFrontInstStatic classes
<> concatMap genHsFrontInstVariables classes
<> genTemplateMemberFunctions (cmCIH m)
-}
-- <> genTemplateMemberFunctions (cmCIH m)

buildProxyHs :: ClassModule -> HsModule GhcPs
buildProxyHs m =
Expand Down

0 comments on commit 17975cc

Please sign in to comment.