From e4e16dc2a7064c8167682ee5d70e4575ef2a9a52 Mon Sep 17 00:00:00 2001 From: Matthijs Kooijman Date: Mon, 13 Jul 2009 15:50:23 +0200 Subject: [PATCH] Remove some unused code. --- CoreTools.hs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/CoreTools.hs b/CoreTools.hs index 3a02819..4677af4 100644 --- a/CoreTools.hs +++ b/CoreTools.hs @@ -51,12 +51,6 @@ eval_tfp_int env ty = let app = SrcLoc.noLoc $ HsExpr.HsApp (from_int_t) (undef) let int_ty = SrcLoc.noLoc $ HsTypes.HsTyVar TysWiredIn.intTyCon_RDR let expr = HsExpr.ExprWithTySig app int_ty - let foo_name = mkRdrName "Types.Data.Num" "foo" - let foo_bind_name = RdrName.mkRdrUnqual $ OccName.mkVarOcc "foo" - let binds = Bag.listToBag [SrcLoc.noLoc $ HsBinds.VarBind foo_bind_name (SrcLoc.noLoc $ HsExpr.HsVar foo_name)] - let letexpr = HsExpr.HsLet - (HsBinds.HsValBinds $ (HsBinds.ValBindsIn binds) []) - (SrcLoc.noLoc expr) core <- toCore expr execCore core -- 2.30.2