I am compiling this code and receving the error of "parse error on input '='`
import System.IO
import Data.List.Split
main = do
handle <- openFile "ac/abc" ReadMode
contents <- hGetContents handle
let xs = splitOneOf "; \n " contents
print xs
readStrList contents = do
print contents
hClose handle
please suggest what is wrong
readStrListline?