Commits

Doug Burke  committed 32dd5fe

Added Swish.RDF module

  • Participants
  • Parent commits 496fe71

Comments (0)

Files changed (4)

 
   - added xsd_dateTime export to Swish.RDF.Vocabulary
 
+  - added Swish and Swish.RDF modules for documentation purposes.
+
 0.3.0.3:
 
   - to be written
 --  "Swish.RDF.SwishScript".
 --
 --  Users wishing to process RDF data directly may prefer to look at
---  the following modules; "Swish.RDF.RDFGraph", "Swish.RDF.N3Parser",
+--  the following modules; "Swish.RDF", "Swish.RDF.N3Parser",
 --  "Swish.RDF.N3Formatter", "Swish.RDF.NTParser" and
 --  "Swish.RDF.NTFormatter".
 --

File Swish/RDF.hs

+--------------------------------------------------------------------------------
+--  See end of this file for licence information.
+--------------------------------------------------------------------------------
+-- |
+--  Module      :  RDF
+--  Copyright   :  (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011 Douglas Burke
+--  License     :  GPL V2
+--
+--  Maintainer  :  Douglas Burke
+--  Stability   :  experimental
+--  Portability :  FlexibleInstances, MultiParamTypeClasses, TypeSynonymInstances
+--
+--  This module provides an in-memory RDF Graph (it re-exports
+--  "Swish.RDF.RDFGraph").
+--
+--------------------------------------------------------------------------------
+
+module Swish.RDF (module Swish.RDF.RDFGraph) where
+
+import Swish.RDF.RDFGraph
+
+--------------------------------------------------------------------------------
+--
+--  Copyright (c) 2003, Graham Klyne, 2009 Vasili I Galchin, 2011 Douglas Burke
+--  All rights reserved.
+--
+--  This file is part of Swish.
+--
+--  Swish is free software; you can redistribute it and/or modify
+--  it under the terms of the GNU General Public License as published by
+--  the Free Software Foundation; either version 2 of the License, or
+--  (at your option) any later version.
+--
+--  Swish is distributed in the hope that it will be useful,
+--  but WITHOUT ANY WARRANTY; without even the implied warranty of
+--  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+--  GNU General Public License for more details.
+--
+--  You should have received a copy of the GNU General Public License
+--  along with Swish; if not, write to:
+--    The Free Software Foundation, Inc.,
+--    59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+--
+--------------------------------------------------------------------------------
   Major Changes:
   .
   [Version 0.3.1.0] Added the `Swish.RDF.RDFGraph.ToRDFLabel` and
-  `Swish.RDF.RDFGraph.FromRDFLabel` classes to
-  @Swish.RDF.RDFGraph@ and a number of instances for common Haskell
-  datatypes. Added instances:
-  @IsString RDFLabel@
-   and @Monoid NSGraph@.
-  A top-level module "Swish" has been introduced with most of the
-  documentation from "Swish.RDF.SwishMain".
+  `Swish.RDF.RDFGraph.FromRDFLabel` classes and the 
+  `Swish.RDF.RDFGraph.toRDFTriple` and `Swish.RDF.RDFGraph.fromRDFTriple`
+  functions.
+  Added instances: @IsString RDFLabel@ and @Monoid NSGraph@.
+  The modules "Swish" and "Swish.RDF" have been introduced to provide
+  documentation.
   .
   [Version 0.3.0.3] Changed @scripts/SwishExample.ss@ script so that the
   proof succeeds. Some documentation improvements, including a discussion
       filepath >= 1.1 && <= 1.2
    Exposed-Modules:
       Swish
+      Swish.RDF
       Swish.RDF.BuiltInDatatypes
       Swish.RDF.BuiltInMap
       Swish.RDF.BuiltInRules