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.
これが私がやろうとしていることです:
def parser = parser_a >> { case a => val c = compute(a) ; parser_b(c) } ^^ { case a ~ b => (a, b) }
^^演算子の後の関数は の結果しか取得しないため、もちろん機能しませんparser_b。の結果を保持するにはどうすればよいparser_aですか?
^^
parser_b
parser_a