dlist-instances (empty) → 0.1
raw patch · 5 files changed
+74/−0 lines, 5 filesdep +basedep +dlistdep +semigroupssetup-changed
Dependencies added: base, dlist, semigroups
Files
- Data/DList/Instances.hs +7/−0
- LICENSE +31/−0
- README.md +3/−0
- Setup.hs +2/−0
- dlist-instances.cabal +31/−0
+ Data/DList/Instances.hs view
@@ -0,0 +1,7 @@+{-# OPTIONS_GHC -fno-warn-orphans #-}+module Data.DList.Instances () where++import Data.DList+import Data.Semigroup++instance Semigroup (DList a)
+ LICENSE view
@@ -0,0 +1,31 @@+Copyright (c) Don Stewart 2006-2009, (c) Sean Leather 2013++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 Don Stewart 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.
+ README.md view
@@ -0,0 +1,3 @@+orphan instances for dlist++currently just a Semigroup instance
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ dlist-instances.cabal view
@@ -0,0 +1,31 @@+name: dlist-instances+version: 0.1+synopsis: Difference lists instances+description:+ See the dlist packages.+ This package is the canonical source for some orphan instances.+ Orphan instances are placed here to avoid dependencies elsewhere.+category: Data+license: BSD3+license-file: LICENSE+author: Greg Weber+maintainer: Greg Weber <greg@gregweber.info>+copyright: 2013 Greg Weber+homepage: https://github.com/gregwebs/dlist-instances+bug-reports: https://github.com/gregwebs/dlist-instances/issues+extra-source-files: README.md+build-type: Simple+cabal-version: >= 1.9.2++source-repository head+ type: git+ location: git://github.com/gregwebs/dlist-instances.git++library+ build-depends:+ base >= 2 && < 5,+ semigroups,+ dlist++ ghc-options: -Wall+ exposed-modules: Data.DList.Instances