-
Notifications
You must be signed in to change notification settings - Fork 96
Description
I recently noticed while working on a project that initializing an RDF::List tends to write to the graph, and with the current set of parameters to the constructor, it appears to be very difficult to get it to not do that.
Ideally I would like a constructor to which I could pass what I suspect to be the head of an existing list and it reads the graph and slurps up the rest of it in a way that I can guarantee will not modify the existing graph. The current constructor appears to have a bias toward modifying, so I'm proposing either adding something like a :no_mutate flag to the current constructor, or creating a new constructor (I sketched one out elsewhere), or both. I have some time now so I can look into it; just registering the issue here.