Add transaction (a list of deltas) as a primitive for applying sets of changes

... and Fix idomaticness
This commit is contained in:
Barak Michener 2015-06-15 13:28:51 -04:00
parent 41f1a2b9a9
commit 7934252fb5
4 changed files with 62 additions and 3 deletions

View file

@ -14,10 +14,13 @@ type QuadWriter graph.QuadWriter
type Path path.Path
var StartMorphism = path.StartMorphism
var StartPath = path.StartPath
var (
StartMorphism = path.StartMorphism
StartPath = path.StartPath
var RawNext = graph.Next
RawNext = graph.Next
NewTransaction = graph.NewTransaction
)
type Handle struct {
graph.QuadStore