Closed linas closed 3 years ago
I just ported this unit test to opencog/atomspace#2811
@linas, since you provided that test on the atomspace repo where it belongs I'm gonna close that PR. I'll create another PR if I want to add the spacetime dependency (which should actually be optional as it's only required for the temporal reasoning part of PLN).
It would be wise to not have any dependency on spacetime. This is because spacetime, if/when it ever gets fixed, will probably store time in a format that is not suitable for whatever PLN needs. You'll just have compatibility headaches.
There are also a dozen-plus PLN atom definitions in the atomspace, that should probably be moved to PLN. It's not urgent, but it is important.
This adds a unit test for the cast to ScopeLink ... it passes (will pass) after pull req opencog/atomspace#2809 is merged.
This pull req is layers on top of pull req #41 that adds the assorted missing atom types that PLN wants.