Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

base-noprelude instead of NoImplicitPrelude #111

Open
wants to merge 1 commit into
base: postgres
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions PROJECTNAME.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ library
Import
Import.NoFoundation
Model
Prelude
Settings
Settings.StaticFiles
Handler.Common
Expand Down Expand Up @@ -48,7 +49,7 @@ library
TupleSections
RecordWildCards

build-depends: base >= 4 && < 5
build-depends: base-noprelude >= 4 && < 5
, yesod >= 1.4.1 && < 1.5
, yesod-core >= 1.4.14 && < 1.5
, yesod-auth >= 1.4.0 && < 1.5
Expand Down Expand Up @@ -92,7 +93,7 @@ executable PROJECTNAME

main-is: main.hs
hs-source-dirs: app
build-depends: base, PROJECTNAME
build-depends: base-noprelude, PROJECTNAME

ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N

Expand All @@ -119,7 +120,7 @@ test-suite test
ViewPatterns
TupleSections

build-depends: base
build-depends: base-noprelude
, PROJECTNAME
, yesod-test >= 1.5.0.1 && < 1.6
, yesod-core
Expand Down
3 changes: 3 additions & 0 deletions Prelude.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module Prelude (module ClassyPrelude) where

import ClassyPrelude