classy-prelude-yesod-1.2.0/0000755000000000000000000000000013041075636013762 5ustar0000000000000000classy-prelude-yesod-1.2.0/ChangeLog.md0000644000000000000000000000013513041075636016132 0ustar0000000000000000## 1.1.0 * Remove the reexport of `Handler` ## 1.0.0 * Support for mono-traversable-1.0.0 classy-prelude-yesod-1.2.0/classy-prelude-yesod.cabal0000644000000000000000000000227413041075636021030 0ustar0000000000000000name: classy-prelude-yesod version: 1.2.0 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/mono-traversable license: MIT license-file: LICENSE author: Michael Snoyman maintainer: michael@snoyman.com category: Control build-type: Simple cabal-version: >=1.8 extra-source-files: README.md ChangeLog.md library exposed-modules: ClassyPrelude.Yesod build-depends: base >= 4 && < 5 , classy-prelude >= 1.2.0 && < 1.2.1 , classy-prelude-conduit >= 1.2.0 && < 1.2.1 , yesod >= 1.2 , yesod-newsfeed , yesod-static , http-types , http-conduit , persistent >= 1.1 , aeson , data-default source-repository head type: git location: https://github.com/snoyberg/mono-traversable.git classy-prelude-yesod-1.2.0/LICENSE0000644000000000000000000000207513041075636014773 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-1.2.0/README.md0000644000000000000000000000011613041075636015237 0ustar0000000000000000## classy-prelude-yesod classy-prelude together with the Yesod web framework classy-prelude-yesod-1.2.0/Setup.hs0000644000000000000000000000005613041075636015417 0ustar0000000000000000import Distribution.Simple main = defaultMain classy-prelude-yesod-1.2.0/ClassyPrelude/0000755000000000000000000000000013041075636016541 5ustar0000000000000000classy-prelude-yesod-1.2.0/ClassyPrelude/Yesod.hs0000644000000000000000000000106613041075636020163 0ustar0000000000000000{-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE TypeFamilies #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module ClassyPrelude.Yesod ( module X ) where import ClassyPrelude.Conduit as X hiding (delete, deleteBy, Handler (..)) 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 (..))