dlist-instances-0.1.1.1/Data/0000755000000000000000000000000012743535154014024 5ustar0000000000000000dlist-instances-0.1.1.1/Data/DList/0000755000000000000000000000000012743535154015043 5ustar0000000000000000dlist-instances-0.1.1.1/Data/DList/Instances.hs0000644000000000000000000000046712743535154017335 0ustar0000000000000000{-# LANGUAGE CPP #-} {-# OPTIONS_GHC -fno-warn-orphans #-} module Data.DList.Instances () where -- don't define instance for dlist>=0.8 && base>=4.9 #if !(MIN_VERSION_base(4,9,0)) || !(MIN_VERSION_dlist(0,8,0)) import Data.DList import Data.Semigroup instance Semigroup (DList a) where (<>) = append #endif dlist-instances-0.1.1.1/LICENSE0000644000000000000000000000275612743535154014172 0ustar0000000000000000Copyright (c) Greg Weber 2014 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. dlist-instances-0.1.1.1/Setup.hs0000644000000000000000000000006012744740504014601 0ustar0000000000000000import Distribution.Simple main = defaultMain dlist-instances-0.1.1.1/dlist-instances.cabal0000644000000000000000000000210312744740513017235 0ustar0000000000000000name: dlist-instances version: 0.1.1.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 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 dlist-instances-0.1.1.1/README.md0000644000000000000000000000010012743535154014421 0ustar0000000000000000orphan instances for dlist currently just a Semigroup instance