Proceedings of the 18th ACM SIGPLAN International Conference on Functional Programming 2013
DOI: 10.1145/2500365.2500599
|View full text |Cite
|
Sign up to set email alerts
|

System FC with explicit kind equality

Abstract: System FC, the core language of the Glasgow Haskell Compiler, is an explicitly-typed variant of System F with first-class type equality proofs called coercions. This extensible proof system forms the foundation for type system extensions such as type families (typelevel functions) and Generalized Algebraic Datatypes (GADTs). Such features, in conjunction with kind polymorphism and datatype promotion, support expressive compile-time reasoning.However, the core language lacks explicit kind equality proofs. As a … Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
1
1
1
1

Citation Types

0
6
0

Year Published

2013
2013
2021
2021

Publication Types

Select...
5
3
1

Relationship

2
7

Authors

Journals

citations
Cited by 23 publications
(6 citation statements)
references
References 29 publications
0
6
0
Order By: Relevance
“…Since GHC 8.0, Haskell allows dependency within type signatures [Weirich et al 2013], meaning that the straightforward left-to-right ordering of variables-even in a user-written type signature-might not be well-scoped. As a simple example, consider tr :: TypeRep (a :: k), where TypeRep :: ∀ k. k → Type allows runtime type representation and is part of GHC's standard library.…”
Section: A5 Implicit Generalisationmentioning
confidence: 99%
“…Since GHC 8.0, Haskell allows dependency within type signatures [Weirich et al 2013], meaning that the straightforward left-to-right ordering of variables-even in a user-written type signature-might not be well-scoped. As a simple example, consider tr :: TypeRep (a :: k), where TypeRep :: ∀ k. k → Type allows runtime type representation and is part of GHC's standard library.…”
Section: A5 Implicit Generalisationmentioning
confidence: 99%
“…It would be interesting to explore a similar encoding of our work into an appropriate λ-calculus such as F ω with product types. Weirich et al [2013] study an extension to the core language (System FC) of the Glasgow Haskell Compiler (GHC) with a notion of kind equality proofs, in order to allow type-level computation in Haskell to refer to kind-level functions. Their development, being based on System FC, is designed to manipulate explicit type and kind coercions as part of the core language itself, which have a nontrivial structure (as required by the various type features and extensions of GHC), and so differs significantly from our work which is designed to keep type and kind conversion as implicit as possible.…”
Section: Related Workmentioning
confidence: 99%
“…Recent work has laid out a design for Haskell extended with dependent types [Eisenberg 2016;Gundry 2013;Weirich et al 2013 and there is ongoing work dedicated to implementing this theory [Xie and Eisenberg 2018]. 2 Dependent types are desirable for Haskell because they increase the ability to create abstractions.…”
Section: Extending Ghc With Dependent Typesmentioning
confidence: 99%