-
My understanding is that Is Edit: I meant |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 4 replies
-
You mean |
Beta Was this translation helpful? Give feedback.
-
Using
But also in the case of ground answers (thus just solutions), the code remains non-monotonic. (I am not so happy that you call this Viennese (or not). This is about program properties only, regardless where they came from. Maybe it is better to talk about purity, but then this is also overused) |
Beta Was this translation helpful? Give feedback.
-
Could you possibly explain a bit more? Is this not always the case (that the burden of correctness is relegated to the programmer)?
This is where I get confused. It seems to me this would mean "should be avoided whenever possible -- and it's always possible".
😅. |
Beta Was this translation helpful? Give feedback.
-
As long as you stay in the pure subset many properties hold without any deeper analysis of your code.
|
Beta Was this translation helpful? Give feedback.
-
The idea is a little bit less ambitious. Just make the pure, monotonic part of Prolog stronger. As declared |
Beta Was this translation helpful? Give feedback.
Using
findall/3
means that all the burden of correctness is relegated to the programmer. It is particularly cumbersome if the answers found contain variables even more so when attached with constraints. Note that Scryer (like SICStus) does not copy the constraintsBut also in the case of ground answers (thus just solutions), the code remains non-monotonic.
(I am not so happy that you call this Viennese (or not). This is about program properties only, regardless where they came from. Maybe it is better to talk about purity, but then this is also overused)