Using perfectly formatted input as a list in Haskell
I am making a program in Haskell (on the Haskell platform) and I know I am getting fully formatted inputs, so the input might look like
[ ['a'], ['b'], ['c'] ]
I want Haskell to be able to take this and use it as its own list. And, I would like this list to consist of several lines, i.e. I want this to work as well:
[ ['a'], ['b'], ['c'] ]
I can parse this input, but I was told that it is easy to do - it should be a "trivial" part of the assignment, but I don't understand it.
+2
a source to share