]> Repositorios git - scryer-prolog.git/commitdiff
preface the 'spelling error' with an explainer comment (#687)
authorMark Thom <[email protected]>
Sun, 6 Sep 2020 00:07:58 +0000 (18:07 -0600)
committerMark Thom <[email protected]>
Sun, 6 Sep 2020 00:07:58 +0000 (18:07 -0600)
src/lib/tabling/batched_worklist.pl

index f39f8422877d892f9d64a29a3f7a90aac1e6db16..99f0619bee73f2b288377ce560d79769ae3ac992 100644 (file)
@@ -161,6 +161,8 @@ wkl_p_swap_answer_continuation(Worklist,InnerAnswerClusterPointer,SuspensionClus
   wkl_p_update_righmost_inner_answer_cluster_pointer(Worklist,InnerAnswerClusterPointer).
 
 % Update the pointer if the answer cluster it points to is no longer the rightmost inner answer cluster.
+% Strangely, this predicate was intentionally named "wkl_p_update_righmost_inner_answer_cluster_pointer"
+% in the original library.
 wkl_p_update_righmost_inner_answer_cluster_pointer(Worklist,InnerAnswerClusterPointer) :-
   ( wkl_p_answer_cluster_currently_moved_completely(Worklist,InnerAnswerClusterPointer) ->
     wkl_p_find_new_rightmost_inner_answer_cluster_pointer(Worklist,InnerAnswerClusterPointer,NewRiacPointer),