summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Stolarek <jan.stolarek@p.lodz.pl>2014-05-28 17:27:29 +0200
committerJan Stolarek <jan.stolarek@p.lodz.pl>2014-05-28 17:27:29 +0200
commite80089ecb772a9c8149b0a4f9dc03c57aa22418a (patch)
tree39a6dc30f157eb925d2ac9bf09c93eb4c4e37fa3
parent3c1f2f74897198638f84f8f3af06a2c80b02b29a (diff)
downloadhaskell-e80089ecb772a9c8149b0a4f9dc03c57aa22418a.tar.gz
Fix comment typo
-rw-r--r--compiler/typecheck/TcExpr.lhs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/typecheck/TcExpr.lhs b/compiler/typecheck/TcExpr.lhs
index 12f2438389..48c4cbfd87 100644
--- a/compiler/typecheck/TcExpr.lhs
+++ b/compiler/typecheck/TcExpr.lhs
@@ -500,7 +500,8 @@ for conditionals:
to support expressions like this:
ifThenElse :: Maybe a -> (a -> b) -> b -> b
- ifThenElse (Just a) f _ = f a ifThenElse Nothing _ e = e
+ ifThenElse (Just a) f _ = f a
+ ifThenElse Nothing _ e = e
example :: String
example = if Just 2