跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 程序设计语言

arXiv:2304.04265 (cs)
[提交于 2023年4月11日]

标题:Dependently Typing R Vectors, Arrays, and Matrices

作者:John Wrenn, Anjali Pal, Alexa VanHattum, Shriram Krishnamurthi
查看论文《Dependently Typing R Vectors, Arrays, and Matrices》的 PDF
查看中文 PDF 查看原文 PDF EasyResearch 阅读
摘要:The R programming language is widely used in large-scale data analyses. It contains especially rich built-in support for dealing with vectors, arrays, and matrices. These operations feature prominently in the applications that form R's raison d'\^etre, making their behavior worth understanding. Furthermore, ostensibly for programmer convenience, their behavior in R is a notable extension over the corresponding operations in mathematics, thereby offering some challenges for specification and static verification. We report on progress towards statically typing this aspect of the R language. The interesting aspects of typing, in this case, warn programmers about violating bounds, so the types must necessarily be dependent. We explain the ways in which R extends standard mathematical behavior. We then show how R's behavior can be specified in LiquidHaskell, a dependently-typed extension to Haskell. In the general case, actually verifying library and client code is currently beyond LiquidHaskell's reach; therefore, this work provides challenges and opportunities both for typing R and for progress in dependently-typed programming languages.
评论: 10 pages
主题: 程序设计语言 (cs.PL)
引用方式: arXiv:2304.04265 [cs.PL]
  (或者 arXiv:2304.04265v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.2304.04265

提交历史

来自:Shriram Krishnamurthi
[v1] 2023年4月11日 星期二 00:00:00 UTC
全文链接:

访问论文:

  • 查看中文 PDF
  • 查看原文 PDF
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PL
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-04
切换浏览方式为:
cs

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站