packages feed

subG-instances (empty) → 0.1.0.0

raw patch · 5 files changed

+74/−0 lines, 5 filesdep +basedep +subGdep +vectorsetup-changed

Dependencies added: base, subG, vector

Files

+ CHANGELOG.md view
@@ -0,0 +1,5 @@+# Revision history for subG-instances++## 0.1.0.0 -- 2020-11-19++* First version. Released on an unsuspecting world.
+ Data/SubG/InstancesPlus.hs view
@@ -0,0 +1,22 @@+-- |+-- Module      :  Data.SubG.InstancesPlus+-- Copyright   :  (c) OleksandrZhabenko 2020+-- License     :  MIT+-- Stability   :  Experimental+-- Maintainer  :  olexandr543@yahoo.com+--+-- Additional instances for the InsertLeft class from Data.SubG module. Use+-- additional dependencies comparing to the package @subG@.++{-# LANGUAGE FlexibleInstances, MultiParamTypeClasses #-}++module Data.SubG.InstancesPlus where++import qualified Data.Vector as VB+import Data.SubG++-- | Is taken from the @phonetic-languages-common@ package to reduce the dependencies of the subG package to just base.+instance (Eq a) => InsertLeft VB.Vector a where+  (%@) = VB.cons+  (%^) = VB.cons+
+ LICENSE view
@@ -0,0 +1,20 @@+Copyright (c) 2020 OleksandrZhabenko++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.
+ Setup.hs view
@@ -0,0 +1,2 @@+import Distribution.Simple+main = defaultMain
+ subG-instances.cabal view
@@ -0,0 +1,25 @@+-- Initial subG-instances.cabal generated by cabal init.  For further+-- documentation, see http://haskell.org/cabal/users-guide/++name:                subG-instances+version:             0.1.0.0+synopsis:            Additional instances for the InsertLeft class from subG package.+description:         Additional instances for the InsertLeft class from subG package. Use additional dependencies comparing to the package subG.+homepage:            https://hackage.haskell.org/package/subG-instances+license:             MIT+license-file:        LICENSE+author:              OleksandrZhabenko+maintainer:          olexandr543@yahoo.com+copyright:           Oleksandr Zhabenko+category:            Data,Development+build-type:          Simple+extra-source-files:  CHANGELOG.md+cabal-version:       >=1.10++library+  exposed-modules:     Data.SubG.InstancesPlus+  -- other-modules:+  other-extensions:    FlexibleInstances, MultiParamTypeClasses+  build-depends:       base >=4.8 && <4.15, vector >=0.11 && <0.14, subG >=0.4.2 && <1+  -- hs-source-dirs:+  default-language:    Haskell2010