One property of Cosmos is that there is no boolean type and relations are themselves booleans (q() would be false in this case). Hence, the code would be rather like this:
rel q()
true
false
...
rel main()
if(q())
...
Indeed, having an 'else' that negates the condition would get tough for complicated conditions. Negation-by-failure and soft-cut ('choose') have their own problems in certain circumstances.
Yeah, it's going to decide that | x = 0 | x = 2 (there is no CLP for strings).
Yeah, it's going to decide that | x = 0 | x = 2 (there is no CLP for strings).