From: Matthijs Kooijman Date: Mon, 13 Jul 2009 13:50:23 +0000 (+0200) Subject: Remove some unused code. X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=e4e16dc2a7064c8167682ee5d70e4575ef2a9a52;p=matthijs%2Fmaster-project%2Fc%CE%BBash.git Remove some unused code. --- 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