Here's my obligatory dumb question of the day. What is the problem he is trying to solve with the macros? It seems super straightforward, so I suspect I'm missing something (being only conversational in Lisp and Haskell, although don't know macros even decently):
Here's the snippet of code that describes the problem (which I don't get):
do exists <- doesFileExist "lalala" if exists then ... else ...