I'm trying to get into HiLog and am stuck from the very beginning. Even when boiled down to the most textbook example :
:- hilog sum.
sum(X,Y,Z):-Z is X + Y.
:- import bagReduce/4 from aggregs.
f(_):- bagReduce([1,2],Res,sum,0).
the compiler barfs :
[Existence (No procedure usermod : apply / 2 exists)]
Surely something very basic is missing ( Does apply really have to be imported? If so - from where? )