packages feed

tilia-0.2.0.0: corpora/vendored/cpp/directive/define-in-a-conditional-around-a-pragma-out'.hs

{-# LANGUAGE CPP #-}
#if __GLASGOW_HASKELL__ >= 710
#define OVERLAPPING_ {-# OVERLAPPING #-}
#else
{-# LANGUAGE OverlappingInstances #-}
#define OVERLAPPING_
#endif

-- | Describing values, more specifically where the compiler lets an
-- instance say that it overlaps.
module Data.Describe where

class Describe a where
    describe :: a -> String

instance Describe a => Describe [a] where
    describe = concatMap describe

instance OVERLAPPING_ Describe [Char] where
    describe = id