--- a/doc-src/Ref/theory-syntax.tex Fri Dec 01 13:03:34 1995 +0100
+++ b/doc-src/Ref/theory-syntax.tex Fri Dec 01 13:41:48 1995 +0100
@@ -70,13 +70,13 @@
consts : 'consts' ( ( constDecl ( () | ( '(' mixfix ')' ) ) ) + )
;
-constDecl : ( name + ',') '::' (string | constType);
+constDecl : ( name + ',') '::' (string | type);
-constType : simpleType | '(' constType ')' | '[' ( constType + "," ) ']'
- '=>' constType | constType '=>' constType;
+type : simpleType | '(' type ')' | type '=>' type |
+ '[' ( type + "," ) ']' '=>' type;
simpleType: id | ( tid ( () | '::' id ) ) |
- '(' ( constType + "," ) ')' ( id + ',' ) | simpleType ( id + ',' );
+ '(' ( type + "," ) ')' id | simpleType id;
mixfix : string ( () | ( () | ('[' (nat + ',') ']')) nat )
| infix