-
A predicate that can show a stacktrace or store a number of events up to a certain point:
```python
# defaults
class Backlog:
def __init__(self, filter, action=CallPrinter, size=None, stack=30…
-
```
There seems to be a problem with the following MLN, as it produces an empty
output:
prog.mln
---------------
*Smokes(human)
Friends(human,human)
1 Friends(x,y) v Smokes("B")
evidence.db
----…
-
Hi Nils!
I couldn't find a method to check if an Option is empty or satisfies a given predicate.
I'm looking for an equivalent for scala's `forall` behaviour on Option.
I'm seeing two ways of g…
-
Running the planner with the current pddl formulation for SUAVEsuave takes around 0.5 seconds. I believe this can be improved with a better typing system by adding specialized types for the objects, e…
-
```
$ cat m.pl
:- module(m, [foo/0]).
:- dynamic(foo/0).
foo.
$ scryer-prolog
?- use_module('m.pl').
true.
?- foo.
true.
?- retractall(foo).
error(permission_error(modify,static_…
-
**Use case**
I have a complex `Flow` that possesses many elements. I have a business rule that is, literally, to do something if any of them satisfies a condition.
If I were using `List` or `Set…
-
# Progress Tracker #
- [x] extend CLI
- [x] Can iterate over AST and collect necessary args to pass
- [x] Can generate a module that encodes exports correctly
- [ ] split out dynamic and static…
-
Right now, rify can't do IO. It can't do math on numeric literals. It can't answer questions like `is 1 < 2`.
Perhaps it could. It would need a way to message its caller, asking for the answers to …
bddap updated
3 years ago
-
I'm trying to express the concept of valid transitions between states for one of the domain entities in my system.
I have an fsm that does this nicely: `[1 (a/* [2 3]) 4]`.
Requests to move the doma…
-
In discussions on how to route URLs, the suggestion came up to have generic [predicate dispatch](http://www.youtube.com/watch?v=iCl9rB1tyxo) functionality; the URL patterns would be the predicates in …