packages feed

swish 0.10.10.0 → 0.10.11.0

raw patch · 4 files changed

+20/−10 lines, 4 filesdep ~basedep ~containersdep ~timePVP: major bump suggested

API removals or changes: PVP suggests a major version bump

Dependency ranges changed: base, containers, time

API changes (from Hackage documentation)

- Data.String.ShowLines: class (Show sh) => ShowLines sh
+ Data.String.ShowLines: class Show sh => ShowLines sh
- Swish.Datatype: type BinMaybeFnApply a = (a -> Bool) -> BinMaybeFnDescr a -> [Maybe a] -> Maybe [a]
+ Swish.Datatype: type BinMaybeFnApply a = a -> Bool -> BinMaybeFnDescr a -> [Maybe a] -> Maybe [a]
- Swish.Datatype: type BinaryFnApply a = (a -> Bool) -> BinaryFnDescr a -> [Maybe a] -> Maybe [a]
+ Swish.Datatype: type BinaryFnApply a = a -> Bool -> BinaryFnDescr a -> [Maybe a] -> Maybe [a]
- Swish.Datatype: type ListFnApply a = (a -> Bool) -> ListFnDescr a -> [Maybe a] -> Maybe [a]
+ Swish.Datatype: type ListFnApply a = a -> Bool -> ListFnDescr a -> [Maybe a] -> Maybe [a]
- Swish.Datatype: type UnaryFnApply a = (a -> Bool) -> UnaryFnDescr a -> [Maybe a] -> Maybe [a]
+ Swish.Datatype: type UnaryFnApply a = a -> Bool -> UnaryFnDescr a -> [Maybe a] -> Maybe [a]
- Swish.GraphClass: addGraphs :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.GraphClass: addGraphs :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.GraphClass: class LDGraph lg lb
+ Swish.GraphClass: class LDGraph (lg :: Type -> Type) lb
- Swish.GraphClass: delete :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.GraphClass: delete :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.GraphClass: extract :: (LDGraph lg lb, Ord lb) => Selector lb -> lg lb -> lg lb
+ Swish.GraphClass: extract :: LDGraph lg lb => Selector lb -> lg lb -> lg lb
- Swish.GraphClass: labels :: (LDGraph lg lb, Ord lb) => lg lb -> Set lb
+ Swish.GraphClass: labels :: LDGraph lg lb => lg lb -> Set lb
- Swish.GraphClass: nodes :: (LDGraph lg lb, Ord lb) => lg lb -> Set lb
+ Swish.GraphClass: nodes :: LDGraph lg lb => lg lb -> Set lb
- Swish.GraphClass: type ArcSet lb = Set (Arc lb)
+ Swish.GraphClass: type ArcSet lb = Set Arc lb
- Swish.GraphMatch: data (Label lb) => GenLabelEntry lb lv
+ Swish.GraphMatch: data Label lb => GenLabelEntry lb lv
- Swish.GraphMatch: data (Label lb) => ScopedLabel lb
+ Swish.GraphMatch: data Label lb => ScopedLabel lb
- Swish.GraphMem: addGraphs :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.GraphMem: addGraphs :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.GraphMem: delete :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.GraphMem: delete :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.GraphMem: extract :: (LDGraph lg lb, Ord lb) => Selector lb -> lg lb -> lg lb
+ Swish.GraphMem: extract :: LDGraph lg lb => Selector lb -> lg lb -> lg lb
- Swish.GraphMem: labels :: (LDGraph lg lb, Ord lb) => lg lb -> Set lb
+ Swish.GraphMem: labels :: LDGraph lg lb => lg lb -> Set lb
- Swish.RDF.Graph: addGraphs :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.RDF.Graph: addGraphs :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.RDF.Graph: class LDGraph lg lb
+ Swish.RDF.Graph: class LDGraph (lg :: Type -> Type) lb
- Swish.RDF.Graph: delete :: (LDGraph lg lb, Ord lb) => lg lb -> lg lb -> lg lb
+ Swish.RDF.Graph: delete :: LDGraph lg lb => lg lb -> lg lb -> lg lb
- Swish.RDF.Graph: extract :: (LDGraph lg lb, Ord lb) => Selector lb -> lg lb -> lg lb
+ Swish.RDF.Graph: extract :: LDGraph lg lb => Selector lb -> lg lb -> lg lb
- Swish.RDF.Graph: labels :: (LDGraph lg lb, Ord lb) => lg lb -> Set lb
+ Swish.RDF.Graph: labels :: LDGraph lg lb => lg lb -> Set lb
- Swish.RDF.Graph: nodes :: (LDGraph lg lb, Ord lb) => lg lb -> Set lb
+ Swish.RDF.Graph: nodes :: LDGraph lg lb => lg lb -> Set lb
- Swish.RDF.Graph: type Formula lb = LookupFormula lb (NSGraph lb)
+ Swish.RDF.Graph: type Formula lb = LookupFormula lb NSGraph lb
- Swish.RDF.Graph: type FormulaMap lb = Map lb (NSGraph lb)
+ Swish.RDF.Graph: type FormulaMap lb = Map lb NSGraph lb
- Swish.RDF.Graph: type NamespaceMap = Map (Maybe Text) URI
+ Swish.RDF.Graph: type NamespaceMap = Map Maybe Text URI
- Swish.Rule: class (Eq ex) => Expression ex
+ Swish.Rule: class Eq ex => Expression ex
- Swish.Rule: type RuleMap ex = Map ScopedName (Rule ex)
+ Swish.Rule: type RuleMap ex = Map ScopedName Rule ex
- Swish.Ruleset: type RulesetMap ex = Map Namespace (Ruleset ex)
+ Swish.Ruleset: type RulesetMap ex = Map Namespace Ruleset ex

Files

CHANGELOG view
@@ -1,6 +1,11 @@+0.10.11.0:++  Allow building with base version 4.22 (GHC 9.14), containers+  0.8, and time 1.15.+ 0.10.10.0: -  Allow building with base version 4.22 (GHC 9.12).+  Allow building with base version 4.21 (GHC 9.12).    The -v flag for Swish now includes the GHC version and   platform information.
README.md view
@@ -42,7 +42,7 @@      (c) 2003, 2004 G. Klyne     (c) 2009 Vasili I Galchin-    (c) 2011 - 2024 Doug Burke+    (c) 2011 - 2024, 2026 Doug Burke  All rights reserved. 
swish.cabal view
@@ -1,12 +1,12 @@ Cabal-Version:      2.4  Name:               swish-Version:            0.10.10.0+Version:            0.10.11.0 Stability:          experimental License:            LGPL-2.1-or-later License-file:       LICENSE  Author:             Graham Klyne - GK@ninebynine.org-Copyright:          (c) 2003, 2004 G. Klyne; 2009 Vasili I Galchin; 2011 - 2024 Doug Burke; All rights reserved.+Copyright:          (c) 2003, 2004 G. Klyne; 2009 Vasili I Galchin; 2011 - 2024, 2026 Doug Burke; All rights reserved. Maintainer:         dburke.gw@gmail.com Category:           Semantic Web Synopsis:           A semantic web toolkit. @@ -97,8 +97,8 @@ Library    Default-Language:    Haskell2010    Build-Depends:-      base >= 4.8 && < 4.22,-      containers >= 0.5 && < 0.8,+      base >= 4.8 && < 4.23,+      containers >= 0.5 && < 0.9,       directory >= 1.0 && < 1.4,       filepath >= 1.1 && < 1.6,       -- Early versions of hashable 1.2 are problematic@@ -109,7 +109,7 @@       text >= 0.11 && < 2.2,       -- I don't think 1.9.0 will work and it was quickly replaced       -- so do not support it           -      time (>= 1.5 && < 1.9) || (>= 1.9.1 && < 1.15)+      time (>= 1.5 && < 1.9) || (>= 1.9.1 && < 1.16)     if flag(network-uri)      build-depends: network-uri >= 2.6 && < 2.8
tests/RDFGraphTest.hs view
@@ -6,7 +6,7 @@ -------------------------------------------------------------------------------- -- | --  Module      :  RDFGraphTest---  Copyright   :  (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011, 2012, 2013, 2014, 2017, 2021 Douglas Burke+--  Copyright   :  (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011, 2012, 2013, 2014, 2017, 2021, 2026 Douglas Burke --  License     :  GPL V2 -- --  Maintainer  :  Douglas Burke@@ -74,8 +74,11 @@  import Network.URI (URI, parseURI) -#if MIN_VERSION_time(1,9,0)+#if MIN_VERSION_time(1,15,0) import Data.Time (UTCTime(..), Day, fromGregorian, defaultTimeLocale)+import Data.Time.Format (parseTimeM)+#elif MIN_VERSION_time(1,9,0)+import Data.Time (UTCTime(..), Day, fromGregorian, defaultTimeLocale) import Data.Time.Format.Internal (buildTime) #elif MIN_VERSION_time(1,5,0) import Data.Time (UTCTime(..), Day, fromGregorian, buildTime, defaultTimeLocale)@@ -522,7 +525,9 @@   ]    utc1, utc2 :: UTCTime-#if MIN_VERSION_time(1,6,0)+#if MIN_VERSION_time(1,15,0)+utc1 = fromJust (parseTimeM False defaultTimeLocale "" "")+#elif MIN_VERSION_time(1,6,0) utc1 = fromJust (buildTime defaultTimeLocale []) #else utc1 = buildTime defaultTimeLocale []