j
k
j a
j l
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?
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.)
Back to the thread
Back to the list