packages feed

prelude2010 (empty) → 0.0

raw patch · 4 files changed

+85/−0 lines, 4 filesdep +prelude-compatsetup-changed

Dependencies added: prelude-compat

Files

+ LICENSE view
@@ -0,0 +1,30 @@+Copyright (c) 2016, Henning Thielemann++All rights reserved.++Redistribution and use in source and binary forms, with or without+modification, are permitted provided that the following conditions are met:++    * Redistributions of source code must retain the above copyright+      notice, this list of conditions and the following disclaimer.++    * Redistributions in binary form must reproduce the above+      copyright notice, this list of conditions and the following+      disclaimer in the documentation and/or other materials provided+      with the distribution.++    * Neither the name of Henning Thielemann nor the names of other+      contributors may be used to endorse or promote products derived+      from this software without specific prior written permission.++THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT+OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+ Setup.lhs view
@@ -0,0 +1,8 @@+#!/usr/bin/env runghc++> module Main where++> import Distribution.Simple++> main :: IO ()+> main = defaultMain
+ prelude2010.cabal view
@@ -0,0 +1,44 @@+Name:                prelude2010+Version:             0.0+Synopsis:            Provide Prelude with fixed content across GHC versions+Description:+  This package helps you to write code that works with GHC before 7.10+  and starting with 7.10.+  It provides the content of the "Prelude2010" module as "Prelude".+  This way you can replace a dependency on @base@ by+  .+  > Build-Depends: base-noprelude ==4.*, prelude2010 ==0.*+  .+  in your Cabal file and you do not have to alter modules.+  .+  Attention:+  While this works for package builds,+  GHCi will complain about conflicting Prelude modules.+  After installation of this package, you should run+  .+  > $ ghc-pkg hide prelude2010+License:             BSD3+License-File:        LICENSE+Author:              Henning Thielemann+Maintainer:          haskell@henning-thielemann.de+Category:            Prelude, Haskell2010+Build-Type:          Simple+Cabal-Version:       >=1.10+Tested-With:         GHC==6.12.3, GHC==7.0.4, GHC==7.2.2+Tested-With:         GHC==7.4.2, GHC==7.6.3, GHC==7.8.4, GHC==7.10.3++Source-Repository this+  Tag:         0.0+  Type:        darcs+  Location:    http://hub.darcs.net/thielema/prelude2010++Source-Repository head+  Type:        darcs+  Location:    http://hub.darcs.net/thielema/prelude2010++Library+  Exposed-Modules:     Prelude+  Build-Depends:       prelude-compat ==0.*+  Hs-Source-Dirs:      src+  Default-Language:    Haskell98+  GHC-Options:         -Wall
+ src/Prelude.hs view
@@ -0,0 +1,3 @@+module Prelude (module Prelude2010) where++import Prelude2010