-
Notifications
You must be signed in to change notification settings - Fork 150
Document some predicates in reif #2981
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Operationalizing language.
Please suggest edits as necessary. I don't have the conceptual precision to do better than this. |
Not sure what you mean by "Operationalizing language" or which language you're talking about. Please explain further if not addressed by latest commit. |
It should have much more substance and be more correct and precise – like when you write a specification – choice of words matters. For example: % Reified equality predicate. Duh, one way it could'be been even worse is Do you see my point? With that sentence you haven't explain anything you just added to the total word count. P.S. I actually don't know how to write really good documentation, also maybe %% if_(A = B, Then_0, Else_0).
% ...
%% if_(dif(A,B), Then_0, Else_0).
% ... |
I must have done a poor job. I thought “reified” here suggests that The weird conceptual leap reif needs is that e.g. It’s not clear how better to word that but I can give it another crack tomorrow. |
I'm not really a maintainer here, I have only 1 or 2 commits merged to master, please look for someone's else approval :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reject - as before.
See also previous attempt at this: #2407. |
@bakaq Thanks for the context!
I think most people understand the more ubiquitous Unfortunately, the term "reify" seems very operational to start with. What language could I use to not "operationalize" this? Would you like to suggest a description of |
I think the documentation, whether it is Operationalizy or not, is fine the way it is and a large improvement over no documentation. I would request the PR be merged in as it is, until someone wants to improve it even more. Another improvement would be to have an example or two for each predicate. |
The author of the library already requested to point to the paper first and foremost, and to leave the documentation alone. He also said that everyone interested in explaining these features should start with a separate tutorial. Please respect these requests. |
The goal here is as a welcome mat to explain to interested user what the library is for and why to use it. As it is, the would-be user sees this skeleton of a page: https://www.scryer.pl/reif Module reif - Scryer Prolog documentation.pdf Using a file name like " Deliberately omitting documentation is user-hostile. Plus this library diverges from the predicates mentioned in the paper, so it's clear that the linked paper is at least outdated wrt this code. |
Reif currently lacks per-predicate documentation, only linking to external paper "Indexing dif/2".
Added some contextual docs to explain the
if_/3
,=/3
,dif/3
predicates.