haskell / alex

A lexical analyser generator for Haskell
https://hackage.haskell.org/package/alex
BSD 3-Clause "New" or "Revised" License
298 stars 82 forks source link

User guide has wrong return type for `alexScanUser` #186

Closed sgraf812 closed 3 years ago

sgraf812 commented 3 years ago

It appears that alexScanUser doesn't return Maybe (...) anymore since https://github.com/simonmar/alex/commit/1ad83f356698ef7a91301bd68cb6bc7665d5a6e3.

sgraf812 commented 3 years ago

Urgh, nevermind. It appears the User Guide at https://www.haskell.org/alex/doc/alex.pdf is just ancient.