Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Get rid of export lists

  • Loading branch information...
commit 74cf1f77be991bf4c5441698ab42c2cd030a13af 1 parent 4736591
@snoyberg snoyberg authored
View
15 yesod/scaffold/Foundation.hs.cg
@@ -1,17 +1,4 @@
-module Foundation
- ( ~sitearg~ (..)
- , Route (..)
- , ~sitearg~Message (..)
- , resources~sitearg~
- , Handler
- , Widget
- , Form
- , maybeAuth
- , requireAuth
- , module Settings
- , module Model
- , getExtra
- ) where
+module Foundation where
import Prelude
import Yesod
View
43 yesod/scaffold/Import.hs.cg
@@ -1,31 +1,28 @@
module Import
- ( module Prelude
- , module Yesod
- , module Foundation
- , module Settings.StaticFiles
- , module Settings.Development
- , module Data.Monoid
- , module Control.Applicative
- , Text
-#if __GLASGOW_HASKELL__ < 704
- , (<>)
-#endif
+ ( module Import
) where
-import Prelude hiding (writeFile, readFile, head, tail, init, last)
-import Yesod hiding (Route(..))
-import Foundation
-#if __GLASGOW_HASKELL__ < 704
-import Data.Monoid (Monoid (mappend, mempty, mconcat))
+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 Model 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 (Monoid (mappend, mempty, mconcat), (<>))
-#endif
-import Control.Applicative ((<$>), (<*>), pure)
-import Data.Text (Text)
-import Settings.StaticFiles
-import Settings.Development
+import Data.Monoid as Import
+ (Monoid (mappend, mempty, mconcat))
-#if __GLASGOW_HASKELL__ < 704
infixr 5 <>
(<>) :: Monoid m => m -> m -> m
(<>) = mappend
View
9 yesod/scaffold/Settings.hs.cg
@@ -3,14 +3,7 @@
-- In addition, you can configure a number of different aspects of Yesod
-- by overriding methods in the Yesod typeclass. That instance is
-- declared in the Foundation.hs file.
-module Settings
- ( widgetFile
- , PersistConfig
- , staticRoot
- , staticDir
- , Extra (..)
- , parseExtra
- ) where
+module Settings where
import Prelude
import Text.Shakespeare.Text (st)
View
1  yesod/scaffold/tests/main.hs.cg
@@ -5,7 +5,6 @@
module Main where
import Import
-import Settings
import Yesod.Default.Config
import Yesod.Test
import Application (makeFoundation)
Please sign in to comment.
Something went wrong with that request. Please try again.