Open vacarsu opened 1 year ago
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)
The docs state that the function should return the full primitive to the callback.
The value being passed to the callback is only the primitive's id.
Steps to reproduce
Simply call the function as below:
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.