Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Parsec'sparse pattern "(some_input)" inputは、解析されたデータを返します ( pattern.
parse pattern "(some_input)" input
pattern
どのくらいinput消費したかを知る方法 (パターンは eof で固定されていません)。all の内部を介して長さの追跡を追加したくありませんpattern(入力の一部を破棄する場合)。
input
getInput
(回答は質問へのコメントに基づいています)