aboutsummaryrefslogtreecommitdiff
path: root/src/interp/buildom.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/buildom.boot')
-rw-r--r--src/interp/buildom.boot18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/interp/buildom.boot b/src/interp/buildom.boot
index 11e96b24..586251b2 100644
--- a/src/interp/buildom.boot
+++ b/src/interp/buildom.boot
@@ -62,7 +62,7 @@ Record0 args ==
dom.1 :=
[function lookupInTable,dom,
[["_=",[[["Boolean"],"_$","_$"],:12]],
- ["coerce",[[$Expression,"_$"],:14]]]]
+ ["coerce",[[$OutputForm,"_$"],:14]]]]
dom.2 := NIL
dom.3 := ["RecordCategory",:QCDR dom.0]
dom.4 :=
@@ -95,7 +95,7 @@ RecordEqual(x,y,dom) ==
RecordPrint(x,dom) == coerceRe2E(x,dom.3)
coerceVal2E(x,m) ==
- objValUnwrap coerceByFunction(objNewWrap(x,m),$Expression)
+ objValUnwrap coerceByFunction(objNewWrap(x,m),$OutputForm)
findEqualFun(dom) ==
compiledLookup("_=",[$Boolean,"$","$"],dom)
@@ -126,7 +126,7 @@ Union(:args) ==
dom.1 :=
[function lookupInTable,dom,
[["_=",[[["Boolean"],"_$","_$"],:12]],
- ["coerce",[[$Expression,"_$"],:14]]]]
+ ["coerce",[[$OutputForm,"_$"],:14]]]]
dom.2 := NIL
dom.3 :=
'(SetCategory)
@@ -178,7 +178,7 @@ Mapping(:args) ==
dom.1 :=
[function lookupInTable,dom,
[["_=",[[["Boolean"],"_$","_$"],:12]],
- ["coerce",[[$Expression,"_$"],:14]]]]
+ ["coerce",[[$OutputForm,"_$"],:14]]]]
dom.2 := NIL
dom.3 :=
'(SetCategory)
@@ -209,7 +209,7 @@ Enumeration(:"args") ==
dom.1 :=
[function lookupInTable,dom,
[["_=",[[["Boolean"],"_$","_$"],:12]],
- ["coerce",[[$Expression,"_$"],:14], [["_$", $Symbol], :16]]
+ ["coerce",[[$OutputForm,"_$"],:14], [["_$", $Symbol], :16]]
]]
dom.2 := NIL
dom.3 := ["EnumerationCategory",:QCDR dom.0]
@@ -260,7 +260,7 @@ mkMappingFunList(nam,mapForm,e) ==
dc := GENSYM()
sigFunAlist:=
[["_=",[["Boolean"],nam ,nam],["ELT",dc,6]],
- ["coerce",[$Expression,nam],["ELT",dc,7]]]
+ ["coerce",[$OutputForm,nam],["ELT",dc,7]]]
[substitute(nam,dc,substitute("$",'Rep,sigFunAlist)),e]
mkRecordFunList(nam,["Record",:Alist],e) ==
@@ -277,7 +277,7 @@ mkRecordFunList(nam,["Record",:Alist],e) ==
[["construct",[nam,:[A for [.,a,A] in Alist]],"mkRecord"],
["_=",[["Boolean"],nam ,nam],["ELT",dc,6]],
- ["coerce",[$Expression,nam],["ELT",dc,7]],:
+ ["coerce",[$OutputForm,nam],["ELT",dc,7]],:
[["elt",[A,nam,PNAME a],["XLAM",["$1","$2"],["RECORDELT","$1",i,len]]]
for i in 0.. for [.,a,A] in Alist],:
[["setelt",[A,nam,PNAME a,A],["XLAM",["$1","$2","$3"],
@@ -293,7 +293,7 @@ mkNewUnionFunList(name,form is ["Union",:listOfEntries],e) ==
--2. create coercions from subtypes to subUnion
cList:=
[["_=",[["Boolean"],name ,name],["ELT",dc,6]],
- ["coerce",[$Expression,name],["ELT",dc,7]],:
+ ["coerce",[$OutputForm,name],["ELT",dc,7]],:
("append"/
[[["construct",[name,type],["XLAM",["#1"],["CONS",i,"#1"]]],
["elt",[type,name,tag],cdownFun],
@@ -330,7 +330,7 @@ mkUnionFunList(op,form is ["Union",:listOfEntries],e) ==
--2. create coercions from subtypes to subUnion
cList:=
[["_=",[["Boolean"],g ,g],["ELT",op,6]],
- ["coerce",[$Expression,g],["ELT",op,7]],:
+ ["coerce",[$OutputForm,g],["ELT",op,7]],:
("append"/
[[["autoCoerce",[g,t],upFun],
["coerce",[t,g],cdownFun],