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

Fix #228: Remove unused function `Util.brack`. #229

Closed ivanperez-keera closed 1 year ago

ivanperez-keera commented 1 year ago

The function Util.brack is not used by any part of alex. A quick search through the tree with grep shows this.

Since alex doesn't expose an API and the function is not used internally, it might as well be removed from the module completely.

This pull request removes the function brack from the module Util.