Cetin Sert wrote:
main = do as <- getArgs
[...]
where lo = read $ as !! 0 hi = read $ as !! 1 tx = as !! 2Why is as not visible in the where block?
The where-block is outside the do-block. (Indentation cannot change that fact.)
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe