Add type to trapError
Remove unneeded dependencies on Main.hs
Add parenthesis for clarity on Main.hs
Use `_` instead of `otherwise` in case exprs
Remove useless import statement
Add type signature to helper functions
Simple formatting.
Add better error message when first element of list is not a symbol