Closed jorgefandinno closed 2 years ago
I don't like it. The purpose of the example is to show how different program parts are grounded. But that's not to say we cannot make base the default part to ground. Then I would additionally overload the add function to be callable with just one string for the program to add and probably make two separate examples.
I don't like it. The purpose of the example is to show how different program parts are grounded. But that's not to say we cannot make base the default part to ground. Then I would additionally overload the add function to be callable with just one string for the program to add and probably make two separate examples.
it makes sense to me.
It would be nice to be able to call
Control.ground()
without parameters.This may be achievable by setting the default value of
parts
to be tuple(("base", ()),)
The example in https://potassco.org/clingo/python-api/current/clingo/control.html could look as follows