
1 Jun
2017
1 Jun
'17
1:33 p.m.
Hello Francesco
maybe next time attach a simple .hs file which replicates the issue (with import modules, etc.), this way it is simpler to diagnose.
I will considere this next time.
Just by scanning the code, this raises a red flag:
detectorP ∷ ToPyFAI a ⇒ a → Parser a detectorP a = do _ ← "Detector: " *> string (toPyFAI a) <* endOfLine pure a
"Detector: " is a plain String, so i guess putting a `string` before it (or whatever is needed) should solve the issue.
Does that solve the problem?
I solved my problem doing something else, but thanks for your help. thanks a lot Fred