File Download

There are no files associated with this item.

  Links for fulltext
     (May Require Subscription)
Supplementary

Conference Paper: Quantified class constraints

TitleQuantified class constraints
Authors
Issue Date2017
PublisherAssociation for Computing Machinery (ACM).
Citation
Proceedings of the 10th ACM SIGPLAN International Conference on Haskell (Haskell 2017), Oxford, UK, 7-8 September 2017, p. 148-161 How to Cite?
AbstractQuantified class constraints have been proposed many years ago to raise the expressive power of type classes from Horn clauses to the universal fragment of Hereditiary Harrop logic. Yet, while it has been much asked for over the years, the feature was never implemented or studied in depth. Instead, several workarounds have been proposed, all of which are ultimately stopgap measures. This paper revisits the idea of quantified class constraints and elaborates it into a practical language design. We show the merit of quantified class constraints in terms of more expressive modeling and in terms of terminating type class resolution. In addition, we provide a declarative specification of the type system as well as a type inference algorithm that elaborates into System F. Moreover, we discuss termination conditions of our system and also provide a prototype implementation.
DescriptionPart of the 22nd ACM SIGPLAN International Conference on Functional Programming (ICFP 2017)
Persistent Identifierhttp://hdl.handle.net/10722/301305
ISBN

 

DC FieldValueLanguage
dc.contributor.authorBottu, GJ-
dc.contributor.authorKarachalias, G-
dc.contributor.authorSchrijvers, T-
dc.contributor.authorDos Santos Oliveira, BC-
dc.contributor.authorWadler, P-
dc.date.accessioned2021-07-27T08:09:09Z-
dc.date.available2021-07-27T08:09:09Z-
dc.date.issued2017-
dc.identifier.citationProceedings of the 10th ACM SIGPLAN International Conference on Haskell (Haskell 2017), Oxford, UK, 7-8 September 2017, p. 148-161-
dc.identifier.isbn9781450351829-
dc.identifier.urihttp://hdl.handle.net/10722/301305-
dc.descriptionPart of the 22nd ACM SIGPLAN International Conference on Functional Programming (ICFP 2017)-
dc.description.abstractQuantified class constraints have been proposed many years ago to raise the expressive power of type classes from Horn clauses to the universal fragment of Hereditiary Harrop logic. Yet, while it has been much asked for over the years, the feature was never implemented or studied in depth. Instead, several workarounds have been proposed, all of which are ultimately stopgap measures. This paper revisits the idea of quantified class constraints and elaborates it into a practical language design. We show the merit of quantified class constraints in terms of more expressive modeling and in terms of terminating type class resolution. In addition, we provide a declarative specification of the type system as well as a type inference algorithm that elaborates into System F. Moreover, we discuss termination conditions of our system and also provide a prototype implementation.-
dc.languageeng-
dc.publisherAssociation for Computing Machinery (ACM).-
dc.relation.ispartofProceedings of the 10th ACM SIGPLAN International Symposium on Haskell-
dc.titleQuantified class constraints-
dc.typeConference_Paper-
dc.identifier.emailDos Santos Oliveira, BC: bruno@cs.hku.hk-
dc.identifier.authorityDos Santos Oliveira, BC=rp01786-
dc.description.naturelink_to_subscribed_fulltext-
dc.identifier.doi10.1145/3122955.3122967-
dc.identifier.hkuros323718-
dc.identifier.spage148-
dc.identifier.epage161-
dc.publisher.placeNew York, NY-

Export via OAI-PMH Interface in XML Formats


OR


Export to Other Non-XML Formats