From ccfaefee2d257de591d4f22e696a0e6bdc0957b8 Mon Sep 17 00:00:00 2001 From: David Waern Date: Fri, 22 Jan 2010 23:24:47 +0000 Subject: Put parenthesis around type signature arguments of function type --- tests/tests/FunArgs.hs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/tests/FunArgs.hs b/tests/tests/FunArgs.hs index 0389afe9..aadbf236 100644 --- a/tests/tests/FunArgs.hs +++ b/tests/tests/FunArgs.hs @@ -1,7 +1,9 @@ module FunArgs where -f :: Ord a => Int -- ^ First argument +f :: forall a. Ord a + => Int -- ^ First argument -> a -- ^ Second argument -> Bool -- ^ Third argument + -> (a -> a) -- ^ Fourth argument -> () -- ^ Result f = undefined -- cgit v1.2.3