Commits

Doug Burke committed 91fbf81

Minor documentation (haddock) fix

  • Participants
  • Parent commits 371f45e
  • Tags 0.9.0.7

Comments (0)

Files changed (3)

+0.9.0.7
+
+  Minor documentation fix for Swish.RDF.Graph.quote.
+
 0.9.0.6:
 
   Turtle/N3 output: \f characters in literals are converted to

File src/Swish/RDF/Graph.hs

 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)
 -- | 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
 
 {-
 Name:               swish
-Version:            0.9.0.6
+Version:            0.9.0.7
 Stability:          experimental
 License:            LGPL
 License-file:       LICENSE 
   .
   * 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@.
   .