> bottomUp t == > -- bottomUp takes an attributed tree, and returns the modeSet for it. > -- As a side-effect it also evaluates the tree. > @@ -258,6 +263,11 @@ > argModeSetList:= [bottomUp x for x in argl] > > ms := bottomUpForm(t,op,opName,argl,argModeSetList) > + -- If this is a type producing form, then we don't want > + -- to store the representation object in the environment. > + -- Rather, we want to record the reified canonical form. > + if ms is [m] and (m in '((Mode) (Domain) (SubDomain (Domain))) or > isCategoryForm(m,$e)) > + then putValue(t,objNew(devaluate objValUnwrap getValue t, m))
Where is $e defined? Ralf ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ open-axiom-devel mailing list open-axiom-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/open-axiom-devel