Revision ce1b0c05
b/src/Ganeti/THH.hs | ||
---|---|---|
596 | 596 |
|
597 | 597 |
pyType (ConT name) = return (pyTypeName name) |
598 | 598 |
pyType ListT = return "ht.TListOf" |
599 |
pyType (TupleT 0) = return "ht.TNone" |
|
599 | 600 |
pyType (TupleT _) = return "ht.TTupleOf" |
600 | 601 |
pyType typ = error $ "unhandled case for type " ++ show typ |
601 | 602 |
|
Also available in: Unified diff