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

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

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

arXiv:1701.00631 (cs)
[提交于 2017年1月4日]

标题:A Typeful Integration of SQL into Curry

作者:Michael Hanus, Julia Krone
查看论文《A Typeful Integration of SQL into Curry》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We present an extension of the declarative programming language Curry to support the access to data stored in relational databases via SQL. Since Curry is statically typed, our emphasis on this SQL integration is on type safety. Our extension respects the type system of Curry so that run-time errors due to ill-typed data are avoided. This is obtained by preprocessing SQL statements at compile time and translating them into type-safe database access operations. As a consequence, the type checker of the Curry system can spot type errors in SQL statements at compile time. To generate appropriately typed access operations, the preprocessor uses an entity-relationship (ER) model describing the structure of the relational data. In addition to standard SQL, SQL statements embedded in Curry can include program expressions and also relationships specified in the ER model. The latter feature is useful to avoid the error-prone use of foreign keys. As a result, our SQL integration supports a high-level and type-safe access to databases in Curry programs.
评论: In Proceedings WLP'15/'16/WFLP'16, arXiv:1701.00148
主题: 程序设计语言 (cs.PL); 数据库 (cs.DB)
引用方式: arXiv:1701.00631 [cs.PL]
  (或者 arXiv:1701.00631v1 [cs.PL] 对于此版本)
  https://doi.org/10.48550/arXiv.1701.00631
期刊参考: EPTCS 234, 2017, pp. 104-119
相关 DOI: https://doi.org/10.4204/EPTCS.234.8

提交历史

来自:EPTCS
[v1] 2017年1月4日 星期三 00:00:00 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

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

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

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