I currently have a 2D array of the form UArray (Int, Int) Char
, I would like to turn this into a List
like so:
["ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff",
"ffffffffff"]
Each f
is originally a character in the UArray.
Where the Char
s for each line in the 2D array is turned into a String
, which, in turn is parsed into a List
as such [String]
, however, I have had no luck with the toList
method from Data.Foldable
, what functions should I be looking at to achieve this?
Thanks for any help!