doc-src/Ref/theory-syntax.tex
changeset 1379 8f693d2ffb59
parent 1375 d04af07266e8
child 1382 7e97232c1159
equal deleted inserted replaced
1378:042899454032 1379:8f693d2ffb59
    74 
    74 
    75 constType : simpleType | '(' constType ')' | '[' ( constType + "," ) ']'
    75 constType : simpleType | '(' constType ')' | '[' ( constType + "," ) ']'
    76             '=>' constType | constType '=>' constType;
    76             '=>' constType | constType '=>' constType;
    77 
    77 
    78 simpleType: id | ( tid ( () | '::' id ) ) |
    78 simpleType: id | ( tid ( () | '::' id ) ) |
    79             '(' ( constType + "," ) ')' id | simpleType id;
    79             '(' ( constType + "," ) ')' ( id + ',' ) | simpleType ( id + ',' );
    80 
    80 
    81 mixfix :  string ( () | ( () | ('[' (nat + ',') ']')) nat )
    81 mixfix :  string ( () | ( () | ('[' (nat + ',') ']')) nat )
    82        | infix
    82        | infix
    83        | 'binder' string nat ;
    83        | 'binder' string nat ;
    84 
    84