[m-rev.] for review: remove most non-core preds from hlds_goal.m

Zoltan Somogyi zoltan.somogyi at runbox.com
Thu Aug 21 03:21:09 AEST 2014


The idea is to two-fold: improve module cohesion, and reduce the need
to recompile everything that depends on hlds_goal.m (which IS almost
everything) when the definition of the goal type isn't what is being changed.

Since this change just moves things around, the diff itself does not need review.
What I could use feedback on is (a) whether people think this is a good
idea, and (b) whether I should move the remaining non-core predicates,
such as goal_to_conj_list, to other modules, leaving JUST the definitions
of the types involved in goals, and the access predicates for the abstract
goal info type.

Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.hlds_goal
Type: application/octet-stream
Size: 664 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20140820/55bf44a9/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.hlds_goal
Type: application/octet-stream
Size: 73437 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20140820/55bf44a9/attachment-0001.obj>


More information about the reviews mailing list