YZP3U4U47IUCVCVOSGGXZA7KZ3VE53VJQR5KEWV7QHDE5OXSDPHQC
cabal-version: 1.12
name: pareto-optimal
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/pareto#readme>
homepage: https://github.com/githubuser/pareto#readme
bug-reports: https://github.com/githubuser/pareto/issues
author: Author name here
maintainer: example@example.com
copyright: 2022 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/githubuser/pareto
library
exposed-modules:
Math.ParetoOptimal
other-modules:
Paths_pareto_optimal
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
default-language: Haskell2010
test-suite pareto-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_pareto
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, pareto
default-language: Haskell2010
module Math.ParetoOptimal (
) where
data Comparison =
Dominates |
Dominated |
WeakTie |
StrongTie
deriving(Ord,Eq,Show,Read)
instance Semigroup Comparison where
WeakTie <> b = b
a <> WeakTie = a
Dominates <> Dominates = Dominates
Dominated <> Dominated = Dominated
_ <> _ = StrongTie
instance Monoid Comparison where
mempty = WeakTie
module Math.ParetoFront (
) where
data Comparison =
Dominates |
Dominated |
WeakTie |
StrongTie
deriving(Ord,Eq,Show,Read)
instance Semigroup Comparison where
WeakTie <> b = b
a <> WeakTie = a
Dominates <> Dominates = Dominates
Dominated <> Dominated = Dominated
_ <> _ = StrongTie
instance Monoid Comparison where
mempty = WeakTie
cabal-version: 1.12
name: pareto-front
version: 0.1.0.0
description: Please see the README on GitHub at <https://github.com/githubuser/pareto#readme>
homepage: https://github.com/githubuser/pareto#readme
bug-reports: https://github.com/githubuser/pareto/issues
author: Author name here
maintainer: example@example.com
copyright: 2022 Author name here
license: BSD3
license-file: LICENSE
build-type: Simple
extra-source-files:
README.md
ChangeLog.md
source-repository head
type: git
location: https://github.com/githubuser/pareto
library
exposed-modules:
Math.ParetoFront
other-modules:
Paths_pareto_front
hs-source-dirs:
src
build-depends:
base >=4.7 && <5
default-language: Haskell2010
test-suite pareto-test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules:
Paths_pareto
hs-source-dirs:
test
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-depends:
base >=4.7 && <5
, pareto-front
default-language: Haskell2010