aboutsummaryrefslogtreecommitdiff
path: root/frontend/typeproperties.icl
diff options
context:
space:
mode:
authorjohnvg2002-06-17 11:29:50 +0000
committerjohnvg2002-06-17 11:29:50 +0000
commit2503354503ecdd697bb1dbea7c9fb8fee3f77ae6 (patch)
tree3abf7a922862ca12c2c78a3fc03220290f8e9549 /frontend/typeproperties.icl
parentremoved hello and bye, replace testArgs by [] (diff)
removed ingnored !'s
git-svn-id: https://svn.cs.ru.nl/repos/clean-compiler/trunk@1097 1f8540f1-abd5-4d5b-9d24-4c5ce8603e2d
Diffstat (limited to 'frontend/typeproperties.icl')
-rw-r--r--frontend/typeproperties.icl6
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/typeproperties.icl b/frontend/typeproperties.icl
index d646e06..5f6e04d 100644
--- a/frontend/typeproperties.icl
+++ b/frontend/typeproperties.icl
@@ -81,7 +81,7 @@ treeInsert new_key new_el tree=:(BT_Node el left right)
= BT_Node el (treeInsert new_key new_el left) right
= BT_Node el left (treeInsert new_key new_el right)
-treeRetrieve :: !k !(BinTree (m k)) -> !Optional (m k) | =< k & key m
+treeRetrieve :: !k !(BinTree (m k)) -> Optional (m k) | =< k & key m
treeRetrieve search_key BT_Empty
= No
treeRetrieve search_key tree=:(BT_Node el left right)
@@ -124,7 +124,7 @@ retrieveSignClassification :: ![SignClassification] !TypeClassification -> Optio
retrieveSignClassification cons_classes {tc_signs}
= treeRetrieve cons_classes tc_signs
-addSignClassification :: ![SignClassification] !SignClassification !TypeClassification -> !TypeClassification
+addSignClassification :: ![SignClassification] !SignClassification !TypeClassification -> TypeClassification
addSignClassification hio_signs sign_class tc=:{tc_signs}
= { tc & tc_signs = treeInsert hio_signs { ts_cons_var_signs = hio_signs, ts_type_sign = sign_class } tc_signs }
@@ -132,7 +132,7 @@ retrievePropClassification :: ![PropClassification] !TypeClassification -> Optio
retrievePropClassification cons_classes {tc_props}
= treeRetrieve cons_classes tc_props
-addPropClassification :: ![PropClassification] !PropClassification !TypeClassification -> !TypeClassification
+addPropClassification :: ![PropClassification] !PropClassification !TypeClassification -> TypeClassification
addPropClassification hio_props prop_class tc=:{tc_props}
= { tc & tc_props = treeInsert hio_props { ts_cons_var_props = hio_props, ts_type_prop = prop_class } tc_props }