diff options
| author | aarne <unknown> | 2003-10-01 12:46:44 +0000 |
|---|---|---|
| committer | aarne <unknown> | 2003-10-01 12:46:44 +0000 |
| commit | c985dab565416251d9973f5b3bafe4d9d205b249 (patch) | |
| tree | ada69513d8a20338af8058d35ce2bc75e5495d4b /src/GF/Canon/PrintGFC.hs | |
| parent | 8ed7749eb674e3afe4485cfb3d4d50485a2cf097 (diff) | |
Putting def definitions in place.
Diffstat (limited to 'src/GF/Canon/PrintGFC.hs')
| -rw-r--r-- | src/GF/Canon/PrintGFC.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GF/Canon/PrintGFC.hs b/src/GF/Canon/PrintGFC.hs index c4f2e7d62..bc89ffd6f 100644 --- a/src/GF/Canon/PrintGFC.hs +++ b/src/GF/Canon/PrintGFC.hs @@ -163,6 +163,7 @@ instance Print Exp where EAtom atom -> prPrec i 2 (concat [prt 0 atom]) EAbs id exp -> prPrec i 0 (concat [["\\"] , prt 0 id , ["->"] , prt 0 exp]) EEq equations -> prPrec i 0 (concat [["{"] , prt 0 equations , ["}"]]) + EData -> prPrec i 2 (concat [["data"]]) instance Print Sort where prt i e = case e of @@ -185,7 +186,7 @@ instance Print APatt where APW -> prPrec i 0 (concat [["_"]]) prtList es = case es of - [x] -> (concat [prt 0 x]) + [] -> (concat []) x:xs -> (concat [prt 0 x , prt 0 xs]) instance Print Atom where |
