aboutsummaryrefslogtreecommitdiff
path: root/frontend/StdCompare.icl
diff options
context:
space:
mode:
authoralimarin2001-03-27 16:54:09 +0000
committeralimarin2001-03-27 16:54:09 +0000
commit05be0a0e287dc530724c17b297c274611d46136d (patch)
tree2c61c6e1a2efc949cd6b5bf929d20e9b0b66795f /frontend/StdCompare.icl
parentunfold all macros and local functions in macros (diff)
uniqueness support is added to generics
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@345 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/StdCompare.icl')
-rw-r--r--frontend/StdCompare.icl6
1 files changed, 6 insertions, 0 deletions
diff --git a/frontend/StdCompare.icl b/frontend/StdCompare.icl
index 495feba..b2eb24d 100644
--- a/frontend/StdCompare.icl
+++ b/frontend/StdCompare.icl
@@ -7,6 +7,12 @@ instance == TypeVar
where
(==) varid1 varid2 = varid1.tv_info_ptr == varid2.tv_info_ptr
+//AA..
+instance == AttributeVar
+where
+ (==) varid1 varid2 = varid1.av_info_ptr == varid2.av_info_ptr
+//..AA
+
instance == FunKind
where
(==) fk1 fk2 = equal_constructor fk1 fk2