own-pt / cl-krr

Environment for knowledge representation, reasoning, and engineering.
Apache License 2.0
4 stars 3 forks source link

Use disambiguated names for constant-arity functions, but whose arity is not known #17

Open fcbr opened 5 years ago

fcbr commented 5 years ago

Related to #16, just writing down some initial thoughts.

Maybe we should do the same that we do for variable-arity names for constant-arity relations that have "unknown" arity.

For variable arity: https://github.com/own-pt/cl-krr/blob/master/suo-kif.lisp#L371-L401

I.e., if we don't know the arity of a relation and we know that this isn't a variable arity functions, we should suffix it, therefore disambiguating it.