Can not understand 'pMany' and 'pMany1' in the parser combinator

后端 未结 0 1859
甜味超标
甜味超标 2021-01-02 11:41

I am trying to understand the pMany and pMany1 functions in the parser combinator

newtype Parser s t = P([s] -> [(t, [s])])
pMany, pMany1 :: Parser s a → P         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题