mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-10 14:16:41 +03:00
b0d71e3ccc
Makes the code more declarative, and makes building without cabal easier.
30 lines
1.0 KiB
Haskell
30 lines
1.0 KiB
Haskell
{-# LANGUAGE CPP #-}
|
|
module Import
|
|
( module Import
|
|
) where
|
|
|
|
import Prelude as Import hiding (head, init, last,
|
|
readFile, tail, writeFile)
|
|
import Yesod as Import hiding (Route (..))
|
|
|
|
import Control.Applicative as Import (pure, (<$>), (<*>))
|
|
import Data.Text as Import (Text)
|
|
|
|
import Foundation as Import
|
|
import Settings as Import
|
|
import Settings.Development as Import
|
|
import Settings.StaticFiles as Import
|
|
|
|
#if __GLASGOW_HASKELL__ >= 704
|
|
import Data.Monoid as Import
|
|
(Monoid (mappend, mempty, mconcat),
|
|
(<>))
|
|
#else
|
|
import Data.Monoid as Import
|
|
(Monoid (mappend, mempty, mconcat))
|
|
|
|
infixr 5 <>
|
|
(<>) :: Monoid m => m -> m -> m
|
|
(<>) = mappend
|
|
#endif
|