I happen to use Alex in a context where I have a custom Prelude and also
warnings enabled for the use of undefinedand to top things off I use
--pedantic when compiling on CI.
So basically its a bit inconvenient.
My question therefore is would it not be better perhaps to only use fully
qualified imports and fully qualified names in the templates/lexers to avoid
potential clashes with user imports/defines?
Solution
Because this is a very minor issue I'd happily take it upon myself to
"implement" it, so long as there are no objections.
Problem
I happen to use Alex in a context where I have a custom
Prelude
and also warnings enabled for the use ofundefined
and to top things off I use--pedantic
when compiling on CI.So basically its a bit inconvenient.
My question therefore is would it not be better perhaps to only use fully qualified imports and fully qualified names in the templates/lexers to avoid potential clashes with user imports/defines?
Solution
Because this is a very minor issue I'd happily take it upon myself to "implement" it, so long as there are no objections.