[Haskell-cafe] Indentation Creep

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Fri Jul 13 18:56:40 EDT 2007


On Jul 13, 2007, at 16:59 , Thomas Conway wrote:

>                            case re of
>                                False -> writeTVar m Nothing
>                                True  -> writeTVar p Empty

 > uncurry writeTVar $
 >   if re then (p,Empty) else (m,Nothing)

>        case v of
>            Nothing -> return True
>            Just _  -> return False

 > return (isJust v)

-- 
brandon s. allbery [solaris,freebsd,perl,pugs,haskell] allbery at kf8nh.com
system administrator [openafs,heimdal,too many hats] allbery at ece.cmu.edu
electrical and computer engineering, carnegie mellon university    KF8NH




More information about the Haskell-Cafe mailing list