'fail' will just terminate the current parse branch, whereas here we have encountered a definite error. Also bring the code to get the current working directory inside 'getFilePaths', as it logically belongs there. |
||
|---|---|---|
| .. | ||
| Data | ||
| Read | ||
| Reports | ||
| Utils | ||
| Data.hs | ||
| Query.hs | ||
| Read.hs | ||
| Reports.hs | ||
| Utils.hs | ||