add dumb comments
This commit is contained in:
@@ -182,6 +182,8 @@ impl Machine {
|
|||||||
match instr {
|
match instr {
|
||||||
&QueryInstruction::Call(ref name, arity) => {
|
&QueryInstruction::Call(ref name, arity) => {
|
||||||
// why is Option<&T> not Deref?!?!?
|
// why is Option<&T> not Deref?!?!?
|
||||||
|
// is it because if the value is None, there's nothing to
|
||||||
|
// dereference?
|
||||||
let compiled_fact_index =
|
let compiled_fact_index =
|
||||||
self.code_dir.get(&(name.clone(), arity))
|
self.code_dir.get(&(name.clone(), arity))
|
||||||
.map(|index| *index);
|
.map(|index| *index);
|
||||||
|
|||||||
Reference in New Issue
Block a user