classy-prelude-yesod-0.12.5/0000755000000000000000000000000012614717545014056 5ustar0000000000000000classy-prelude-yesod-0.12.5/LICENSE0000644000000000000000000000207512614717545015067 0ustar0000000000000000Copyright (c) 2013 Michael Snoyman, http://www.yesodweb.com/ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. classy-prelude-yesod-0.12.5/Setup.hs0000644000000000000000000000005612614717545015513 0ustar0000000000000000import Distribution.Simple main = defaultMain classy-prelude-yesod-0.12.5/classy-prelude-yesod.cabal0000644000000000000000000000205612614717545021122 0ustar0000000000000000name: classy-prelude-yesod version: 0.12.5 synopsis: Provide a classy prelude including common Yesod functionality. description: This is an extension of classy-prelude-conduit, adding in commonly used functions and data types from Yesod. homepage: https://github.com/snoyberg/classy-prelude license: MIT license-file: LICENSE author: Michael Snoyman maintainer: michael@snoyman.com category: Control build-type: Simple cabal-version: >=1.8 library exposed-modules: ClassyPrelude.Yesod build-depends: base >= 4 && < 5 , classy-prelude >= 0.12.5 && < 0.12.6 , classy-prelude-conduit >= 0.12.5 && < 0.12.6 , yesod >= 1.2 , yesod-newsfeed , yesod-static , http-types , http-conduit , persistent >= 1.1 , aeson , data-default classy-prelude-yesod-0.12.5/ClassyPrelude/0000755000000000000000000000000012614717545016635 5ustar0000000000000000classy-prelude-yesod-0.12.5/ClassyPrelude/Yesod.hs0000644000000000000000000000101612614717545020252 0ustar0000000000000000{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module ClassyPrelude.Yesod ( module X ) where import ClassyPrelude.Conduit as X import Yesod as X hiding (Header, parseTime) import qualified Yesod import Yesod.Static as X import Yesod.Feed as X import Network.HTTP.Client.Conduit as X import Network.HTTP.Types as X import Database.Persist.Sql as X (SqlBackend, SqlPersistT) import Database.Persist.Sql as X (runMigration) import Data.Default as X (Default (..))