judah / haskeline

A Haskell library for line input in command-line programs.
https://hackage.haskell.org/package/haskeline
BSD 3-Clause "New" or "Revised" License
221 stars 75 forks source link

Add versions of completeWord{,withPrev} that take predicates for word break chars #164

Closed wz1000 closed 3 years ago

wz1000 commented 3 years ago

If we are completing symbols, word break chars are any non symbol characters, which are too long to enumerate. See https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6160