rdf 0.1.0.0 → 0.1.0.1
raw patch · 5 files changed
+11/−8 lines, 5 filesdep ~dlistPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: dlist
API changes (from Hackage documentation)
Files
- ChangeLog.md +6/−1
- bench/Main.hs +1/−1
- rdf.cabal +2/−2
- src/Data/RDF/Graph.hs +1/−1
- src/Data/RDF/ToRDF.hs +1/−3
ChangeLog.md view
@@ -1,3 +1,8 @@-* 0.1.0.0+# 0.1.0.1+- Fix the benchmarks.+- Minor cosmetic changes.+- Add `dlist` version constraints.++# 0.1.0.0 Initial release. RDF generation DSL needs more instances.
bench/Main.hs view
@@ -7,7 +7,7 @@ import qualified Data.ByteString.Builder as B import Data.RDF.Types-import Data.RDF.Encode.NQuads+import Data.RDF.Encoder.NQuads import Data.RDF.Parser.NQuads import Data.String
rdf.cabal view
@@ -1,5 +1,5 @@ name: rdf-version: 0.1.0.0+version: 0.1.0.1 synopsis: Representation and Incremental Processing of RDF Data description: Data structures, parsers, and encoders for RDF data sets based on the@@ -31,7 +31,7 @@ , attoparsec >=0.13 && <0.14 , bytestring >=0.10 && <0.11 , deepseq >=1.4 && <1.5- , dlist+ , dlist >= 0.7 && <0.9 , fgl >=5.5 && <5.6 , text >=1.2 && <1.3 , transformers >=0.4 && <0.6
src/Data/RDF/Graph.hs view
@@ -96,7 +96,7 @@ -- | Convert a 'G.Graph' into an 'RDFGraph'. This will fail if the graph -- contains any 'LiteralGNode's with an outward degree greater than zero, -- since such a graph is illegal in RDF.-graphRDF :: G.Graph g => (Maybe IRI) -> g GNode GEdge -> Either String RDFGraph+graphRDF :: G.Graph g => Maybe IRI -> g GNode GEdge -> Either String RDFGraph graphRDF l = (RDFGraph l <$>) . graphTriples -- | Convert a 'G.Graph' into a list of 'Triple's. This will fail if the graph
src/Data/RDF/ToRDF.hs view
@@ -10,9 +10,7 @@ This module provides a simple DSL for mapping Haskell data to RDF graphs. -} -{-# LANGUAGE BangPatterns- , DefaultSignatures- , FlexibleContexts+{-# LANGUAGE FlexibleContexts , FlexibleInstances , TupleSections #-}