Cetin Sert wrote: > main = do > as <- getArgs [...] > where > lo = read $ as !! 0 > hi = read $ as !! 1 > tx = as !! 2 > > Why is as not visible in the where block? The where-block is outside the do-block. (Indentation cannot change that fact.)