packages feed

swish 0.6.4.0 → 0.6.5.0

raw patch · 2 files changed

+28/−32 lines, 2 filesdep −arraydep ~filepath

Dependencies removed: array

Dependency ranges changed: filepath

Files

src/Swish/RDF/TurtleFormatter.hs view
@@ -39,6 +39,9 @@     , formatGraphAsBuilder     , formatGraphIndent       , formatGraphDiag+      +      -- ^ Auxillary routines+    , quoteText     ) where @@ -727,18 +730,12 @@ formatAnnotation a  | isLang a  = "@" `mappend` B.fromText (langTag a)                     | otherwise = "^^" `mappend` showScopedName a -{--We have to decide whether to use " or """ to quote-the string.--There is also no need to restrict the string to the-ASCII character set; this could be an option but we-can also leave Unicode as is (or at least convert to UTF-8).--If we use """ to surround the string then we protect the-last character if it is a " (assuming it isn't protected).+{-|+Convert text into a format for display in Turtle. The idea+is to use a single @"@ unless @"""@ is needed, and to+handle adding necessary @\@ characters, or conversion+for Unicode characters. -}- quoteText :: T.Text -> B.Builder quoteText txt =    let st = T.unpack txt -- TODO: fix
swish.cabal view
@@ -1,5 +1,5 @@ Name:               swish-Version:            0.6.4.0+Version:            0.6.5.0 Stability:          experimental License:            LGPL License-file:       LICENSE @@ -46,6 +46,9 @@   .   Changes:   .+  [Version 0.6.5.0] Export "Swish.RDF.TurtleFormatter.parseText".+  Updated @filepath@ dependency and removed unused @array@ one.+  .   [Version 0.6.4.0] Added support for xsd:decimal with "Swish.RDF.RDFDatatypeXsdDecimal"   and "Swish.RDF.MapXsdDecimal" thanks to William Waites <https://bitbucket.org/ww>.   Added "Swish.RDF.Vocabulary.Provenance".@@ -196,21 +199,18 @@ Library    Build-Depends:       base >=3 && < 5,-      text == 0.11.*,-      -- text-format == 0.2.*,-      -- split == 0.1.*,       binary == 0.5.*,       containers >= 0.3 && < 0.5,-      array == 0.3.*,-      polyparse >= 1.6 && < 1.8,-      old-locale == 1.0.*, -      time >= 1.1 && < 1.5,-      mtl >= 2 && < 3,-      network >= 2.2 && < 2.4,       directory >= 1.0 && < 1.2,-      filepath >= 1.1 && < 1.3,+      filepath >= 1.1 && < 1.4,       hashable == 1.1.*,-      intern == 0.8.*+      intern == 0.8.*,+      mtl >= 2 && < 3,+      network >= 2.2 && < 2.4,+      old-locale == 1.0.*, +      polyparse >= 1.6 && < 1.8,+      text == 0.11.*,+      time >= 1.1 && < 1.5     Hs-Source-Dirs: src/ @@ -703,16 +703,15 @@     Build-Depends:       base >=3 && < 5,-      text == 0.11.*,       binary == 0.5.*,       containers >= 0.3 && < 0.5,-      array == 0.3.*,-      polyparse >= 1.6 && < 1.8,-      old-locale == 1.0.*, -      time >= 1.1 && < 1.5,-      mtl >= 2 && < 3,-      network >= 2.2 && < 2.4,       directory >= 1.0 && < 1.2,-      filepath >= 1.1 && < 1.3,+      filepath >= 1.1 && < 1.4,       hashable == 1.1.*,-      intern == 0.8.*+      intern == 0.8.*,+      mtl >= 2 && < 3,+      network >= 2.2 && < 2.4,+      old-locale == 1.0.*, +      polyparse >= 1.6 && < 1.8,+      text == 0.11.*,+      time >= 1.1 && < 1.5