d32f5eb6fa4d151305e83fb20abfc2e0b8b8cac5
[ghc-hetmet.git] / ghc / compiler / parser / ttype.ugn
1 %{
2 #include "hspincl.h"
3 %}
4 %{{
5 module U_ttype where
6
7 #include "HsVersions.h"
8
9 import UgenUtil
10
11 import U_list
12 import U_qid
13 %}}
14 type ttype;
15         tname   : < gtypeid     : qid;  >;
16         namedtvar : < gnamedtvar : qid; >;
17         tllist  : < gtlist      : ttype; >;
18         ttuple  : < gttuple     : list; >;
19         tfun    : < gtin        : ttype;
20                     gtout       : ttype; >;
21         tapp    : < gtapp       : ttype;
22                     gtarg       : ttype; >;
23         tbang   : < gtbang      : ttype; >;
24         context : < gtcontextl  : list;
25                     gtcontextt  : ttype; >;
26 end;
27