head 1.2; access; symbols pkgsrc-2022Q4:1.1.0.8 pkgsrc-2022Q4-base:1.1 pkgsrc-2022Q3:1.1.0.6 pkgsrc-2022Q3-base:1.1 pkgsrc-2022Q2:1.1.0.4 pkgsrc-2022Q2-base:1.1 pkgsrc-2022Q1:1.1.0.2 pkgsrc-2022Q1-base:1.1; locks; strict; comment @# @; 1.2 date 2023.01.25.17.35.14; author pho; state dead; branches; next 1.1; commitid qhhEpSygNJICPWaE; 1.1 date 2022.02.16.10.02.14; author pho; state Exp; branches; next ; commitid 1GfF6C6GJnqMlPsD; desc @@ 1.2 log @math/hs-semirings: Fix build with hashable-1.4 @ text @$NetBSD: patch-semirings.cabal,v 1.1 2022/02/16 10:02:14 pho Exp $ Fix build with hashable-1.4 --- semirings.cabal.orig 2001-09-09 01:46:40.000000000 +0000 +++ semirings.cabal @@@@ -80,5 +80,5 @@@@ library if flag(unordered-containers) build-depends: - hashable >= 1.1 && < 1.4 + hashable >= 1.1 , unordered-containers >= 0.2 && < 0.3 @ 1.1 log @math/hs-semirings: import hs-semirings-0.6 Haskellers are usually familiar with monoids and semigroups. A monoid has an appending operation <> (or mappend), and an identity element, mempty. A semigroup has an appending <> operation, but does not require a mempty element. A Semiring has two appending operations, plus and times, and two respective identity elements, zero and one. More formally, a Semiring R is a set equipped with two binary relations + and *, such that: - (R,+) is a commutative monoid with identity element 0, - (R,*) is a monoid with identity element 1, - (*) left and right distributes over addition, and multiplication by '0' annihilates R. @ text @d1 1 a1 1 $NetBSD$ @