aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-coerce.boot.pamphlet
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-coerce.boot.pamphlet')
-rw-r--r--src/interp/i-coerce.boot.pamphlet13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/interp/i-coerce.boot.pamphlet b/src/interp/i-coerce.boot.pamphlet
index a3bc0760..ff43961f 100644
--- a/src/interp/i-coerce.boot.pamphlet
+++ b/src/interp/i-coerce.boot.pamphlet
@@ -1034,19 +1034,6 @@ coerceIntAlgebraicConstant(object,t2) ==
objNewWrap(getConstantFromDomain('(Zero),t2),t2)
NIL
-stripUnionTags doms ==
- [if dom is [":",.,dom'] then dom' else dom for dom in doms]
-
-isTaggedUnion u ==
- u is ['Union,:tl] and tl and first tl is [":",.,.] and true
-
-getUnionOrRecordTags u ==
- tags := nil
- if u is ['Union, :tl] or u is ['Record, :tl] then
- for t in tl repeat
- if t is [":",tag,.] then tags := cons(tag, tags)
- tags
-
coerceUnion2Branch(object) ==
[.,:unionDoms] := objMode object
doms := orderUnionEntries unionDoms