-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
This works:
{-# LANGUAGE TemplateHaskell #-}
module ResponseTest where
import Test.Framework.TH
import Test.Framework.Providers.QuickCheck2
main = $(defaultMainGenerator)
prop_reverse xs = reverse (reverse xs) == xs
where types = xs::[Int]
But the following does not:
{-# LANGUAGE TemplateHaskell #-}
module ResponseTest where
import Test.Framework.TH
import Test.Framework.Providers.QuickCheck2
main = $(defaultMainGenerator)
prop_reverse xs = reverse (reverse xs) == xs
where types = xs::[Int]
{-
prop_foo = foo
-}
Metadata
Metadata
Assignees
Labels
No labels