• + 1 comment

    how do you know how many lines to read? In a situation where a user is inputting a variable set of inputs, would this work?

    If you run this it will just ask for inputs forever.

    also, I think that you don't need to define your own read if your run function has a definition run :: [Int] -> [String]