@@ -349,7 +349,7 @@ typeToPs = fromMaybe (error "Incomplete pattern") . pattern matchType
349349 operators :: OperatorTable Type String
350350 operators =
351351 OperatorTable $ [ AssocL typeApp $ \f x -> f ++ " " ++ x
352− , Split function $ \args ret -> "(" ++ intercalate "," (map typeToPs args) ++ ") -> " ++ typeToPs ret ]
352+ , Split function $ \args ret -> "(" ++ intercalate ", " (map typeToPs args) ++ ") -> " ++ typeToPs ret ]
353353
354354externToJs :: (String, Type) -> String
355355externToJs (name, ty) = "extern " ++ name ++ " :: " ++ typeToPs ty