
21 Jun
2018
21 Jun
'18
12:03 a.m.
I'm not quite there yet. How can I create a fold over [Reader Config Text]? myFold :: [Reader Config Text] -> Reader Config Text (using `append` and "") I can easily handle [] and singleton but I'm lost when I get to longer lists. In any case, there must be a better way to do this. Maybe something with foldM? I tried implementing the more explicit [Config -> Text] -> (Config -> Text) but I didn't get any further. Can someone give me a hint?