[Haskell-cafe] do/if/then/else confusion

Brandon S. Allbery KF8NH allbery at ece.cmu.edu
Thu Nov 1 13:52:08 EDT 2007

On Nov 1, 2007, at 13:47 , David Carter wrote:

>        else rest <- readdirAll d

You need another "do" here to use the <- syntax.

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