aboutsummaryrefslogtreecommitdiff
path: root/src/Text/Pandoc/Compat/Monoid.hs
blob: 4daceb8e10c81e65a91b22057f959b5ab58ef408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{-# LANGUAGE CPP #-}
module Text.Pandoc.Compat.Monoid ( (<>) )
       where

#if MIN_VERSION_base(4,5,0)
import Data.Monoid ((<>))

#else
import Data.Monoid

infixr 6 <>

--- | An infix synonym for 'mappend'.
(<>) :: Monoid m => m -> m -> m
(<>) = mappend
{-# INLINE (<>) #-}
#endif