aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Waern <david.waern@gmail.com>2010-01-22 23:24:47 +0000
committerDavid Waern <david.waern@gmail.com>2010-01-22 23:24:47 +0000
commitccfaefee2d257de591d4f22e696a0e6bdc0957b8 (patch)
tree431b64b9b00e6f9c91732e04a6daba4e15746d8e /tests
parent3badcc6c7bf703ec1e8f638ee2119b739497d884 (diff)
Put parenthesis around type signature arguments of function type
Diffstat (limited to 'tests')
-rw-r--r--tests/tests/FunArgs.hs4
1 files changed, 3 insertions, 1 deletions
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