[commit: ghc] master: Fix comment typo (e80089e)

git at git.haskell.org git at git.haskell.org
Wed May 28 15:28:04 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/e80089ecb772a9c8149b0a4f9dc03c57aa22418a/ghc

>---------------------------------------------------------------

commit e80089ecb772a9c8149b0a4f9dc03c57aa22418a
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Wed May 28 17:27:29 2014 +0200

    Fix comment typo


>---------------------------------------------------------------

e80089ecb772a9c8149b0a4f9dc03c57aa22418a
 compiler/typecheck/TcExpr.lhs | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/compiler/typecheck/TcExpr.lhs b/compiler/typecheck/TcExpr.lhs
index 12f2438..48c4cbf 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



More information about the ghc-commits mailing list