core: RDF.Dataset.graphs returns a list of graphs

instead of the map from graph names to graphs
This commit is contained in:
Marcel Otto 2017-06-05 02:41:44 +02:00
parent 0271181bca
commit 9a128858b6

View file

@ -401,7 +401,7 @@ defmodule RDF.Dataset do
@doc """
The set of all graphs.
"""
def graphs(%RDF.Dataset{graphs: graphs}), do: graphs
def graphs(%RDF.Dataset{graphs: graphs}), do: Map.values(graphs)
@doc """