没有合适的资源?快使用搜索试试~ 我知道了~
regex-applicative:具有应用接口的基于正则表达式的解析
共20个文件
hs:12个
md:4个
license:1个
需积分: 5 0 下载量 72 浏览量
2021-05-09
03:59:54
上传
评论
收藏 25KB ZIP 举报
温馨提示
正则表达式适用 regex-applicative是基于正则表达式的Haskell解析组合器库。 例子 import Text.Regex.Applicative data Protocol = HTTP | FTP deriving Show protocol :: RE Char Protocol protocol = HTTP <$ string " http " <|> FTP <$ string " ftp " type Host = String type Location = String data URL = URL Protocol Host Location deriving Show host :: RE Char Host host = many $ psym $ ( /= ' / ' ) url :: RE Char URL url = URL <$> proto
资源推荐
资源详情
资源评论
收起资源包目录
regex-applicative-master.zip (20个子文件)
regex-applicative-master
Setup.hs 46B
CREDITS.md 349B
regex-applicative.cabal 3KB
.travis.yml 7KB
CONTRIBUTING.md 728B
LICENSE 1KB
Text
Regex
Applicative.hs 2KB
Applicative
Object.hs 4KB
Reference.hs 2KB
StateQueue.hs 2KB
Types.hs 6KB
Common.hs 1007B
Interface.hs 11KB
Compile.hs 5KB
README.md 2KB
tests
StateQueue.hs 2KB
test.hs 6KB
benchmark
benchmark.hs 2KB
CHANGES.md 2KB
stack.yaml 70B
共 20 条
- 1
资源评论
空气安全讲堂
- 粉丝: 42
- 资源: 4795
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功