swish 0.9.0.6 → 0.9.0.7
raw patch · 2 files changed
+12/−8 lines, 2 files
Files
- src/Swish/RDF/Graph.hs +5/−5
- swish.cabal +7/−3
src/Swish/RDF/Graph.hs view
@@ -693,7 +693,7 @@ processChar :: Char -> (T.Text, Bool) -- ^ the boolean is @True@ if the returned text has been- -- expanded so that it begins with @\@+ -- expanded so that it begins with @\\@ processChar '"' = ("\\\"", True) processChar '\\' = ("\\\\", True) processChar '\n' = ("\\n", True)@@ -785,17 +785,17 @@ -- | Turtle-style quoting rules for a string. -- -- At present the choice is between using one or three--- double quote (@"@) characters to surround the string; i.e. using+-- double quote (@\"@) characters to surround the string; i.e. using -- single quote (@'@) characters is not supported. -- --- As of Swish 0.9.0.6, the @\f@ character is converted to--- @\u000C@ rather than left as is to aid interoperability+-- As of Swish 0.9.0.6, the @\\f@ character is converted to+-- @\\u000C@ rather than left as is to aid interoperability -- with some other tools. -- quote :: Bool -- ^ @True@ if the string is to be displayed using one rather than three quotes. -> String -- ^ String to quote.- -> String -- ^ The string does *not* contain the surrounding quote marks.+ -> String -- ^ The string does /not/ contain the surrounding quote marks. quote f = T.unpack . quoteT f . T.pack {-
swish.cabal view
@@ -1,5 +1,5 @@ Name: swish-Version: 0.9.0.6+Version: 0.9.0.7 Stability: experimental License: LGPL License-file: LICENSE @@ -44,10 +44,14 @@ . * Complete, ready-to-run, command-line and script-driven programs. .+ Changes in version @0.9.0.7@:+ .+ * Minor documentation fix for @Swish.RDF.Graph.quote@.+ . Changes in version @0.9.0.6@: .- * Turtle/N3 output: @\f@ characters in literals are converted to- @\u000C@ to work around some interoperability issues.+ * Turtle/N3 output: @\\f@ characters in literals are converted to+ @\\u000C@ to work around some interoperability issues. . * Changed the test handling to use @test-framework@. .