X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FFunctionalDependencies1.scl;h=26bc0b7a4f03d59b814b2922b922d2886c62b59d;hp=203de1dba43e9caf0a5d9e702f2362251a021348;hb=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=602614f4502aae85ecf3967abb7152d2d62903e3 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionalDependencies1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionalDependencies1.scl index 203de1dba..26bc0b7a4 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionalDependencies1.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/FunctionalDependencies1.scl @@ -1,11 +1,11 @@ -import "Prelude" - -class Container c a b | c -> a, c -> b where - get :: c -> a -> b - -instance Container [a] Integer a where - get = (!) - -main = get [1,2,3,4,5] 3 --- +import "Prelude" + +class Container c a b | c -> a, c -> b where + get :: c -> a -> b + +instance Container [a] Integer a where + get = (!) + +main = get [1,2,3,4,5] 3 +-- 4 \ No newline at end of file