packages feed

torsor 0.1 → 0.1.0.1

raw patch · 4 files changed

+40/−28 lines, 4 filessetup-changednew-uploader

Files

+ CHANGELOG.md view
@@ -0,0 +1,9 @@+# Revision history for torsor++## 0.1.0.1 -- 2024-02-06++* Update package metadata.++## 0.1 -- 2017-10-23++* Initial release.
− Setup.hs
@@ -1,2 +0,0 @@-import Distribution.Simple-main = defaultMain
src/Torsor.hs view
@@ -1,4 +1,3 @@-{-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE FunctionalDependencies #-}  {- | The typeclasses provides in this module are equivalent@@ -7,11 +6,10 @@      instead of type families in order to improved error      messages. -}- module Torsor-  ( Additive(..)-  , Torsor(..)-  , Scaling(..)+  ( Additive (..)+  , Torsor (..)+  , Scaling (..)   ) where  import Data.Int@@ -23,7 +21,7 @@   plus :: v -> v -> v   minus :: v -> v -> v -class Additive v => Torsor p v | p -> v where+class (Additive v) => Torsor p v | p -> v where   add :: v -> p -> p   difference :: p -> p -> v @@ -172,4 +170,3 @@  instance Scaling Int8 Int8 where   scale = (*)-
torsor.cabal view
@@ -1,24 +1,32 @@-name: torsor-version: 0.1-synopsis: Torsor Typeclass-description: Torsor Typeclass-homepage: https://github.com/andrewthad/torsor#readme-license: BSD3-license-file: LICENSE-author: Andrew Martin-maintainer: andrew.thaddeus@gmail.com-copyright: 2017 Andrew Martin-category: Web-build-type: Simple-extra-source-files: README.md-cabal-version: >=1.10+cabal-version:   2.4+name:            torsor+version:         0.1.0.1+synopsis:        Torsor Typeclass+description:     Torsor Typeclass.+homepage:        https://github.com/byteverse/torsor+bug-reports:     https://github.com/byteverse/torsor/issues+license:         BSD-3-Clause+license-file:    LICENSE+author:          Andrew Martin+maintainer:      amartin@layer3com.com+copyright:       2017 Andrew Martin+category:        Web+build-type:      Simple+extra-doc-files:+  CHANGELOG.md+  README.md +common build-settings+  default-language: Haskell2010+  ghc-options:      -Wall -Wunused-packages+ library-  hs-source-dirs: src+  import:          build-settings+  hs-source-dirs:  src   exposed-modules: Torsor-  build-depends: base >= 4.7 && < 5-  default-language: Haskell2010+  build-depends:   base >=4.7 && <5+  ghc-options:     -O2  source-repository head-  type: git-  location: https://github.com/andrewthad/torsor+  type:     git+  location: git://github.com/byteverse/torsor.git