lojix/wam_prolog/src/main/com/thesett/aima/logic/fol/wam/compiler/WAMCompiledQuery.java
public void setHead(Functor head, SizeableList<WAMInstruction> instructions)
    {
        this.head = head;

        addInstructions(instructions);
    }
public void setHead(Functor head, SizeableList<WAMInstruction> instructions)
    {
        this.head = head;

        addInstructions(instructions);
    }
Sets a compiled head functor to this clause.

@param head         The head of this clause.
@param instructions A list of instructions to add to the head.