Last week I was using the monadUserState wrapper and I found the following error when compiling the .hs file:
/path/to/my/project/templates/wrappers.hs:243:16: error:
• Variable not in scope: alexEOF :: Alex AlexUserState
• Perhaps you meant data constructor ‘AlexEOF’ (line 2015)
then I looked at the generated .hs file and I see that, in effect, the variable was not defined.
This stackoverflow answer states that the alexEOF should be defined, but that doesn't appear on the alex documentation.
Last week I was using the
monadUserState
wrapper and I found the following error when compiling the .hs file:then I looked at the generated .hs file and I see that, in effect, the variable was not defined.
This stackoverflow answer states that the
alexEOF
should be defined, but that doesn't appear on the alex documentation.