Mauricio, The let variant is an expression, while the where one is not. An expression is allowed to happen inside a greater expression, you just need to place the parentheres properly as you did.
The where keyword does not construct a valid expression, it can only happen inside some other constructs (like module and function declarations). Cheers, Thiago Arrais _______________________________________________ Haskell-Cafe mailing list [email protected] http://www.haskell.org/mailman/listinfo/haskell-cafe
