Why does this parser do-block fail?

前端 未结 0 1470
余生分开走
余生分开走 2020-12-17 23:34

I am trying to understand do-blocks/sequencing actions, parsers and monads.

newtype Parser a = P ( String -> [ ( a, String ) ] )

item :: Parser Char item          


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