cgag / selecth

A CLI fuzzy filter in Haskell (port of Selecta)
MIT License
20 stars 1 forks source link

Feature request: make a library interface. #1

Open ethercrow opened 10 years ago

ethercrow commented 10 years ago

This way haskell applications with interactive text interface can just reuse selecth and not reinvent something like this: https://github.com/yi-editor/yi/blob/master/yi/src/library/Yi/Completion.hs

cgag commented 10 years ago

The scoring code is all pure and in its own module so this should be easy, I'll figure out the proper way to do it soon soon. I'll also to see if there's anything I can learn from Yi's algorithms, thanks.