trueagi-io / hyperon-experimental

OpenCog Hyperon experimental version
https://wiki.opencog.org/w/Hyperon
MIT License
122 stars 43 forks source link

`include` op to return results from evaluated sub-script #684

Closed luketpeterson closed 2 months ago

luketpeterson commented 2 months ago

This is a change requested by @TeamSPoon to match behavior of the old import op. With this change, the include op will return the last result from evaluating the sub-script.

vsbogd commented 2 months ago

@luketpeterson , please change type() method as well.

luketpeterson commented 2 months ago

Ah. Oops. Thanks for catching that.