Closed targodan closed 5 years ago
When calling run multiple times prolog retains any previous state. This leads to odd behavior and in particular odd output.
This is due to Prolog being a singleton class (grumble grumble grumble). Find a way to reset the state.
Prolog
Well, now it's a feature.
Pros:
Cons:
When calling run multiple times prolog retains any previous state. This leads to odd behavior and in particular odd output.
This is due to
Prolog
being a singleton class (grumble grumble grumble). Find a way to reset the state.