I have some data type X and a function which returns IO [X] but my computation is currently returning [IO X]. What is a general method for transforming [IO X] into IO [X]?
I have some data type X and a function which returns IO [X] but my computation is currently returning [IO X]. What is a general method for transforming [IO X] into IO [X]?