X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Fcompiler%2Ftests%2Fstranal%2Ftest.lhs;fp=ghc%2Fcompiler%2Ftests%2Fstranal%2Ftest.lhs;h=d1e192593d31ec0c887ff9b70ba4f03e5a1daede;hb=e7d21ee4f8ac907665a7e170c71d59e13a01da09;hp=0000000000000000000000000000000000000000;hpb=e48474bff05e6cfb506660420f025f694c870d38;p=ghc-hetmet.git diff --git a/ghc/compiler/tests/stranal/test.lhs b/ghc/compiler/tests/stranal/test.lhs new file mode 100644 index 0000000..d1e1925 --- /dev/null +++ b/ghc/compiler/tests/stranal/test.lhs @@ -0,0 +1,5 @@ +> data LList t = Nill | Conss t (LList t) +> data BBool = TTrue | FFalse + +> f Nill = TTrue +> f (Conss a as) = FFalse