X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.scl.compiler%2Ftests%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FBug4450.scl;fp=bundles%2Forg.simantics.scl.compiler%2Ftests%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FBug4450.scl;h=0000000000000000000000000000000000000000;hb=a8758de5bc19e5adb3f618d3038743a164f09912;hp=54e65c2e925897b41a86d4dfa5ee0c9725a9d8e1;hpb=12d9af17384d960b75d58c3935d2b7b46d93e87b;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Bug4450.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Bug4450.scl deleted file mode 100644 index 54e65c2e9..000000000 --- a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Bug4450.scl +++ /dev/null @@ -1,15 +0,0 @@ -import "Prelude" - -csvWrite :: String -> [[String]] -> () -csvWrite fname rows = () - -/// Like writeEntries but with a transformer function also for values. -/// kfun key + vfun value should have the length of header. -writeEntries' :: (k -> [String]) -> (v -> [String]) - -> String -> [String] -> [(k, v)] -> () -writeEntries' kfun vfun fname header rows = - csvWrite fname $ [header] + [kfun k + vfun v | (k, v) <- rows] - -main = "OK" --- -OK \ No newline at end of file