次のパーサーを定義しているとしましょう。
let identifier = many1Satisfy isLetter //match an identifier
let parser = identifier //our parser is only to match identifiers
test parser " abc" //the text to parse contains a leading space which should yield us an error
解析すると、予想どおりエラーが発生します。
Failure: Error in Ln: 1 Col: 1
abc
^
Unknown Error(s)
なぜ彼が手紙を期待しているのに手紙が見つからないのかが問題だと判断できないのか興味があります。その情報を自分でパーサーに追加する予定はありますか?