Please, add the subsequence predicate function
还没有人认领这个 Issue。
评估
调研方向
使用 Data.List.isSubsequenceOf 作为行为参考,然后检查 repository 中现有的 Text API 和测试组织方式,以选择合适的入口点。添加 Text 专用的谓词,并编写覆盖子序列匹配和不匹配情况的测试,然后运行相关测试套件以确认其行为。
由索引模型根据 Issue 内容生成。
描述
The subsequence predicate function use example is the textual fuzzy search.
In the most basic implementation, fuzzy search == subsequence search, as a defining feature of it. Examples of subsequence search being the main feature of fuzzy search are several I know of, the closest to me would be Emacs helm fuzzy-find, which for file name search does plain subsequence search to be fast.
The isSubsequenceOf exists in Data.List.
To implement textual fuzzy search, the Text-specialized function needs to exist, so while being at it, would try to submit it.
- 主要语言
- Haskell
- 星标
- 424
- 派生
- 167
- 平均合并
- 1 天 21 小时
- 30 天内合并 PR
- 6
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
haskell/text 的其他 Issue
-
Relax constraints on decimal / hexadecimal from Data.Text.Read and Data.Text.Lazy.Read可能已有人在做 @Lysxia 于 148 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 64/100
-
难度 3/5 1-2 天 新手友好度 38/100
-
难度 3/5 1-2 天 新手友好度 42/100
-
难度 2/5 1-3 小时 新手友好度 45/100
-
Shrinking is Insanely Slow for `write_read`可能已有人在做 @BebeSparkelSparkel 于 926 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 30/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
haskell/bytestring#730 · 1 条评论 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
seal-harness/seal-harness#399 ·
维护者通常 1 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 65/100
fmidue/codeworld-tasks#124 ·
-
难度 2/5 1-3 小时 新手友好度 62/100
reflex-frp/reflex#563 ·