Stomme puntjes
[cc1516.git] / AST.icl
diff --git a/AST.icl b/AST.icl
index 305e8f3..24d2af1 100644 (file)
--- a/AST.icl
+++ b/AST.icl
@@ -113,7 +113,7 @@ instance toString Expr where
     toString e = concat $ print e
 
 printSelectors :: [FieldSelector] -> [String]
-printSelectors x = case x of [] = [""]; _ = [".":printersperse "." x]
+printSelectors fs = printersperse "." fs
 
 printFunCall :: String [Expr] [FieldSelector] -> [String]
 printFunCall s args fs = [s, "(":printersperse "," args] ++ [")"] ++