Elaboration on functional dependencies: Functional dependencies are dead, long live functional dependencies!

被引:0
|
作者
Karachalias G. [1 ]
Schrijvers T. [1 ]
机构
来源
ACM SIGPLAN Not. | / 10卷 / 133-147期
基金
欧盟地平线“2020”;
关键词
functional dependencies; Haskell; System FC;
D O I
10.1145/3122955.3122966
中图分类号
TP182 [专家系统、知识工程];
学科分类号
1111 ;
摘要
Functional dependencies are a popular extension to Haskell's type-class system because they provide fine-grained control over type inference, resolve ambiguities and even enable type-level computations. Unfortunately, several aspects of Haskell's functional dependencies are ill-understood. In particular, the GHC compiler does not properly enforce the functional dependency property, and rejects well-typed programs because it does not know how to elaborate them into its core language, System FC. This paper presents a novel formalization of functional dependencies that addresses these issues: We explicitly capture the functional dependency property in the type system, in the form of explicit type equalities. We also provide a type inference algorithm and an accompanying elaboration strategy which allows all well-typed programs to be elaborated into System FC,. © 2017 ACM.
引用
收藏
页码:133 / 147
页数:14
相关论文
共 50 条
  • [41] Discovery and Ranking of Functional Dependencies
    Wei, Ziheng
    Link, Sebastian
    2019 IEEE 35TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2019), 2019, : 1526 - 1537
  • [42] PRESERVING FUNCTIONAL-DEPENDENCIES
    BEERI, C
    HONEYMAN, P
    SIAM JOURNAL ON COMPUTING, 1981, 10 (03) : 647 - 656
  • [43] Designing functional dependencies for XML
    Lee, ML
    Ling, TW
    Low, WL
    ADVANCES IN DATABASE TECHNOLOGY - EDBT 2002, 2002, 2287 : 124 - 141
  • [44] Distributed Discovery of Functional Dependencies
    Saxena, Hemant
    Golab, Lukasz
    Ilyas, Ihab F.
    2019 IEEE 35TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2019), 2019, : 1590 - 1593
  • [45] Functional treewidth: Bounding complexity in the presence of functional dependencies
    Zabiyaka, Yuliya
    Darwiche, Adnan
    THEORY AND APPLICATIONS OF SATISFIABILITY TESTING - SAT 2006, PROCEEDINGS, 2006, 4121 : 116 - 129
  • [46] Discovery of Temporal Graph Functional Dependencies
    Noronha, Levin
    Chiang, Fei
    PROCEEDINGS OF THE 30TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, CIKM 2021, 2021, : 3348 - 3352
  • [47] Functional dependencies among the elderly on hemodialysis
    Cook, W. L.
    Jassal, S. V.
    KIDNEY INTERNATIONAL, 2008, 73 (11) : 1289 - 1295
  • [48] Ordered functional dependencies in relational databases
    Ng, W
    INFORMATION SYSTEMS, 1999, 24 (07) : 535 - 554
  • [49] Mining functional dependencies from data
    Hong Yao
    Howard J. Hamilton
    Data Mining and Knowledge Discovery, 2008, 16 : 197 - 219
  • [50] Functional Dependencies and Inference Rules XML
    Ahmad, Kamsuriah
    Ibrahim, Hamidah
    INTERNATIONAL SYMPOSIUM OF INFORMATION TECHNOLOGY 2008, VOLS 1-4, PROCEEDINGS: COGNITIVE INFORMATICS: BRIDGING NATURAL AND ARTIFICIAL KNOWLEDGE, 2008, : 494 - +