Commit e22282e5 authored by thomie's avatar thomie Committed by Austin Seipp

Remove deprecated libraries/base/include/Typeable.h

Test Plan: I grepped for other references, there were none.

Reviewers: ekmett, hvr, austin

Reviewed By: austin

Subscribers: ekmett, thomie, carter

Differential Revision: https://phabricator.haskell.org/D483
parent 83efb985
......@@ -322,7 +322,6 @@ Library
HsBase.h
WCsubst.h
consUtils.h
Typeable.h
-- OS Specific
if os(windows)
......
{- --------------------------------------------------------------------------
// Macros to help make Typeable instances.
//
// INSTANCE_TYPEABLEn(tc,tcname,"tc") defines
//
// instance Typeable/n/ tc
// instance Typeable a => Typeable/n-1/ (tc a)
// instance (Typeable a, Typeable b) => Typeable/n-2/ (tc a b)
// ...
// instance (Typeable a1, ..., Typeable an) => Typeable (tc a1 ... an)
// --------------------------------------------------------------------------
-}
#ifndef TYPEABLE_H
#define TYPEABLE_H
#warning <Typeable.h> is obsolete and will be removed in GHC 7.10
-- // For GHC, we can use DeriveDataTypeable + StandaloneDeriving to
-- // generate the instances.
#define INSTANCE_TYPEABLE0(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE1(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE2(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE3(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE4(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE5(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE6(tycon,tcname,str) deriving instance Typeable tycon
#define INSTANCE_TYPEABLE7(tycon,tcname,str) deriving instance Typeable tycon
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment