regex - Idris 支持正则表达式吗?

标签 regex idris

我在 Idris 文档中没有看到正则表达式,它是否以任何(最好是可移植的)方式支持?还是有计划的?

最佳答案

Idris 文档没有提及内置正则表达式引擎。 (有趣的是,Haskell has a regex module。)Idris Man page指出它可能缺少很多东西:

It is important to note that Idris is first and foremost a research tool and project. Thus the tooling provided and resulting programs created should not necessarily be seen as production ready nor for industrial use.

所以,使用 IdrisScript似乎是一个相关的解决方法。

关于regex - Idris 支持正则表达式吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29194560/

相关文章:

sql - 我们可以在sql中使用 "NOT LIKE "吗

正则表达式如何使组贪婪

php - 正则表达式:如何匹配转义的双引号字符串?

javascript - 3 位数的正则表达式(没关系顺序)?

implicit - GADT 数据构造函数参数在 Idris 中如何工作?

c - 在 Idris 中使用 C 函数

python - 正则表达式加入单个字符

primitive-types - 证明中的原始操作

wrapper - 我可以为表示包装其他类型的类型的 Wrapper 接口(interface)编写通用函数包装函数吗?

idris - 为什么 Idris 的 Refl 有时不进行类型检查?