Provide span information in messages
Use a span, instead of just a position, in compiler messages to provide more precise errors/warnings. This would align with curry-frontend#87 (closed) and allow external tools (such as curry-language-server
) to provide better diagnostics.