Commit 5db0076d authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Whitespace only

parent abe9e6fc
...@@ -330,11 +330,11 @@ newMetaUnique ...@@ -330,11 +330,11 @@ newMetaUnique
newUnique :: TcRnIf gbl lcl Unique newUnique :: TcRnIf gbl lcl Unique
newUnique newUnique
= do { env <- getEnv ; = do { env <- getEnv ;
let { u_var = env_us env } ; let { u_var = env_us env } ;
us <- readMutVar u_var ; us <- readMutVar u_var ;
case splitUniqSupply us of { (us1,_) -> do { case splitUniqSupply us of { (us1,_) -> do {
writeMutVar u_var us1 ; writeMutVar u_var us1 ;
return $! uniqFromSupply us }}} return $! uniqFromSupply us }}}
-- NOTE 1: we strictly split the supply, to avoid the possibility of leaving -- NOTE 1: we strictly split the supply, to avoid the possibility of leaving
-- a chain of unevaluated supplies behind. -- a chain of unevaluated supplies behind.
-- NOTE 2: we use the uniq in the supply from the MutVar directly, and -- NOTE 2: we use the uniq in the supply from the MutVar directly, and
...@@ -345,11 +345,11 @@ newUnique ...@@ -345,11 +345,11 @@ newUnique
newUniqueSupply :: TcRnIf gbl lcl UniqSupply newUniqueSupply :: TcRnIf gbl lcl UniqSupply
newUniqueSupply newUniqueSupply
= do { env <- getEnv ; = do { env <- getEnv ;
let { u_var = env_us env } ; let { u_var = env_us env } ;
us <- readMutVar u_var ; us <- readMutVar u_var ;
case splitUniqSupply us of { (us1,us2) -> do { case splitUniqSupply us of { (us1,us2) -> do {
writeMutVar u_var us1 ; writeMutVar u_var us1 ;
return us2 }}} return us2 }}}
newLocalName :: Name -> TcRnIf gbl lcl Name newLocalName :: Name -> TcRnIf gbl lcl Name
newLocalName name -- Make a clone newLocalName name -- Make a clone
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment