I have a function with signature read_F95_src :: String -> IO [String]
. This function is used elsewhere and cannot be changed.
I am reading in source lines and associated with a label as such src_lines = read_F95_src templ_src_name
, which compiles and runs fine.
The problem is that I now have a function which takes in [String]
, and no matter how I try, I can't figure out a way to get the [String]
value from src_lines
.