Implementing a lexer using the Free Monad

前端 未结 0 449
南方客
南方客 2021-01-24 18:31

I am thinking about a use case of the free monad which would be a simple lexing DSL. So far I came up with some primitive operations:

data LexF r where
  POP  ::          


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