You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For a student project, we need a feature to be able to filter derived facts according to some (quite involved) function.
It would be nice, if we could just pass this to the execution engine to be applied as another filter on top of the derived facts.
Basically, if l is the list of derived facts, we want to call l.filter(p) where p : Fact -> Bool is our predicate function that we pass to the execution engine.
That should already be all we need. I hope the description is clear enough :)
@aannleax It would help me, if you can create some stubs for functions that would be required for this. I'm not sure where the best place to inject this would be. I can then fill in the gaps if you want me to :)
Also feel free to add the appropriate labels to this issue since I'm not sure which layers would actually be affected here.
The text was updated successfully, but these errors were encountered:
For a student project, we need a feature to be able to filter derived facts according to some (quite involved) function.
It would be nice, if we could just pass this to the execution engine to be applied as another filter on top of the derived facts.
Basically, if
l
is the list of derived facts, we want to calll.filter(p)
wherep : Fact -> Bool
is our predicate function that we pass to the execution engine.That should already be all we need. I hope the description is clear enough :)
@aannleax It would help me, if you can create some stubs for functions that would be required for this. I'm not sure where the best place to inject this would be. I can then fill in the gaps if you want me to :)
Also feel free to add the appropriate labels to this issue since I'm not sure which layers would actually be affected here.
The text was updated successfully, but these errors were encountered: