on 0.11.1.2 help sign in
typeable/aeson/include/overlapping-compat.h
15 lines 368 B history raw
1#if __GLASGOW_HASKELL__ >= 710
2#define OVERLAPPABLE_ {-# OVERLAPPABLE #-}
3#define OVERLAPPING_ {-# OVERLAPPING #-}
4#ifdef NEEDS_INCOHERENT
5#define INCOHERENT_ {-# INCOHERENT #-}
6#endif
7#else
8{-# LANGUAGE OverlappingInstances #-}
9#define OVERLAPPABLE_
10#define OVERLAPPING_
11#ifdef NEEDS_INCOHERENT
12{-# LANGUAGE IncoherentInstances #-}
13#define INCOHERENT_
14#endif
15#endif