summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCamil Staps2016-11-08 21:18:20 +0000
committerCamil Staps2016-11-08 21:18:20 +0000
commit00310d600194867ed3a5bef922a87069ec8bffc0 (patch)
tree9ea7dc8b00bcd05fe0f958048c278d8a3eaf0a57
parentAdapted more examples to be standalone (diff)
Fix pascal.icl
-rw-r--r--pascal.icl2
1 files changed, 1 insertions, 1 deletions
diff --git a/pascal.icl b/pascal.icl
index f1aafbc..d916aa8 100644
--- a/pascal.icl
+++ b/pascal.icl
@@ -57,7 +57,7 @@ repeatn n x = take n (repeat x)
spaces :: !.Int -> [Char]
spaces n = repeatn n ' '
-class toString a :: a -> String
+class toString a :: !a -> String
instance toString [Char] where toString a = {c \\ c <- a}
instance toString Int where toString a = code inline {