aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-04-29 12:18:13 +0200
committerCamil Staps2016-04-29 12:18:13 +0200
commit1b8f864f8d0482707eab6115458d6432f3d4731b (patch)
treeb0173401f729f6e80cc1aa11df6ba01e9c437978
parentNicer cli (diff)
fix toString for Push
-rw-r--r--Smurf.icl2
-rw-r--r--hello.smf1
2 files changed, 1 insertions, 2 deletions
diff --git a/Smurf.icl b/Smurf.icl
index 00da0aa..4c7e0c2 100644
--- a/Smurf.icl
+++ b/Smurf.icl
@@ -24,7 +24,7 @@ instance zero [a] where zero = []
instance toString Stm
where
- toString (Push s) = "\"" +++ s +++ "\""
+ toString (Push s) = quotify s
toString Input = "i"
toString Output = "o"
toString Cat = "+"
diff --git a/hello.smf b/hello.smf
deleted file mode 100644
index 6d8251f..0000000
--- a/hello.smf
+++ /dev/null
@@ -1 +0,0 @@
-"hello ""world"+o