aboutsummaryrefslogtreecommitdiff
path: root/src/interp/i-analy.boot
diff options
context:
space:
mode:
Diffstat (limited to 'src/interp/i-analy.boot')
-rw-r--r--src/interp/i-analy.boot4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/interp/i-analy.boot b/src/interp/i-analy.boot
index 6dbd19fe..cfd483e5 100644
--- a/src/interp/i-analy.boot
+++ b/src/interp/i-analy.boot
@@ -633,6 +633,10 @@ conceptualType type ==
categoryForm?(type) => $Category
$Domain
+++ Returns true is `t' conceptually describes a domain or package.
+isConceptualCategory: %Mode -> %Boolean
+isConceptualCategory t ==
+ t = $Type or t = $Category or t = $Domain or categoryForm? t
bottomUpType(t, type) ==
mode := conceptualType type