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 条
  • [1] Elaboration on Functional Dependencies: Functional Dependencies Are Dead, Long Live Functional Dependencies!
    Karachalias, Georgios
    Schrijvers, Tom
    ACM SIGPLAN NOTICES, 2017, 52 (10) : 133 - 147
  • [2] INCLUSION DEPENDENCIES AND THEIR INTERACTION WITH FUNCTIONAL-DEPENDENCIES
    CASANOVA, MA
    FAGIN, R
    PAPADIMITRIOU, CH
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1984, 28 (01) : 29 - 59
  • [3] A Unified Hierarchy for Functional Dependencies, Conditional Functional Dependencies and Association Rules
    Medina, Raoul
    Nourine, Lhouari
    FORMAL CONCEPT ANALYSIS, 2009, 5548 : 98 - 113
  • [4] Inclusion dependencies and their interaction with functional dependencies in SQL
    Koehler, Henning
    Link, Sebastian
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2017, 85 : 104 - 131
  • [5] Monoidal functional dependencies
    Vychodil, Vilem
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 2015, 81 (07) : 1357 - 1372
  • [6] Functional dependencies for XML
    Vincent, MW
    Liu, JX
    WEB TECHNOLOGIES AND APPLICATIONS, 2003, 2642 : 22 - 34
  • [7] Functional Dependencies for XML
    Chen, Haitao
    Liao, Husheng
    Gao, Zengqi
    WEB-AGE INFORMATION MANAGEMENT, 2010, 6185 : 110 - 115
  • [8] PageRank: Functional Dependencies
    Boldi, Paolo
    Santini, Massimo
    Vigna, Sebastiano
    ACM TRANSACTIONS ON INFORMATION SYSTEMS, 2009, 27 (04)
  • [9] Rough functional dependencies
    Beaubouef, T
    Petry, FE
    IKE '04: PROCEEDINGS OF THE INTERNATIONAL CONFERENCE ON INFORMATION AND KNOWLEDGE ENGNINEERING, 2004, : 175 - 179
  • [10] Functional Dependencies for Graphs
    Fan, Wenfei
    Wu, Yinghui
    Xu, Jingbo
    SIGMOD'16: PROCEEDINGS OF THE 2016 INTERNATIONAL CONFERENCE ON MANAGEMENT OF DATA, 2016, : 1843 - 1857