I’m using: SWI-Prolog version 8.0.2
I want the code to: convert the type of position from Node?position to position as a a pair of integers (X,Y)
But what I’m getting is: @2349857/position
My code looks like this:
show_position(Node) :->
“show position of a node”::
point(X,Y)=Node?position, %this type conversion does not work