
15 Mar
2019
15 Mar
'19
7:16 a.m.
Hi All, I have a Alex lexer with wrapper "monadUserState-bytestring". The AlexUserState = AlexUserState {sheetNames:: {String], currSheet:: Int}. The lexer should check whether a found sheetname is in sheetNames. The sheetNames from AlexUserState come from outside. I want to invoke the lexer many times with different AlexUserStates. Therefore the alexInitUserState function is not what I want. I'de like to initialize the AlexUserState while starting the lexer, i.e. as a parameter to runAlex. Can that be done? Kees --- Dit e-mailbericht is gecontroleerd op virussen met Avast antivirussoftware. https://www.avast.com/antivirus