aboutsummaryrefslogtreecommitdiff
path: root/CStack.icl
diff options
context:
space:
mode:
Diffstat (limited to 'CStack.icl')
-rw-r--r--CStack.icl2
1 files changed, 2 insertions, 0 deletions
diff --git a/CStack.icl b/CStack.icl
index ae9cceb..74ca885 100644
--- a/CStack.icl
+++ b/CStack.icl
@@ -7,6 +7,8 @@ import ABC.Misc
:: CStack :== [InstrId]
+instance toString CStack where toString xs = "[" <++ (",", xs) <+ "]"
+
cs_init :: CStack
cs_init = []