Does the following code increase the level of recursion
once for each input line or is the recursive construct
converted to an iteration?

Thanks,
Dave Feustel

main :: IO ()
main = do
  line <- getLine
  processIt line
  main

processIt   :: String -> IO ()
processIt s = do
  print (length s)

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to