sdiehl / write-you-a-haskell

Building a modern functional compiler from first principles. (http://dev.stephendiehl.com/fun/)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Parsers - Lexer: using `emptyDef`?

NicolasT opened this issue · comments

In the Parsers chapter, under Lexer, lexer is defined as Tok.makeTokenParser emptyDef. Shouldn't this be Tok.makeTokenParser langDef, using the definition of langDef given above it?

Fixed in 065e55d.