Steps to reproduce
Simply call the function as below:
Graph.find(graph, fn prim ->
IO.inspect(prim) # <-- logs the primitive id instead of the full primitive
true
end)
Expected Behavior
The docs state that the function should return the full primitive to the callback.
Actual Behavior
The value being passed to the callback is only the primitive's id.