<div dir="ltr">Hello everyone! <div><br></div><div>I am really struggling with Haskell I/O. </div><div><br></div><div>I have written a mergesort program and as an input to that program I want to use a file containing a list of 1000 integers. Let's say the contents of the file look like this</div><div><br></div><div>[120, 400, 500 , 20, 100 ..] </div><div><br></div><div>How can I achieve that? I am trying to write a main function that takes the file as an input and passes the list to my mergesort function.. </div><div><br></div><div>Regards</div><div>Awsaf Rahman</div></div>