Skip to main content

Showing 1–2 of 2 results for author: Marntirosian, K

Searching in archive cs. Search in all archives.
.
  1. arXiv:2010.06216  [pdf, other

    cs.PL cs.LO

    Resolution as Intersection Subtyping via Modus Ponens

    Authors: Koar Marntirosian, Tom Schrijvers, Bruno C. d. S. Oliveira, Georgios Karachalias

    Abstract: Resolution and subtyping are two common mechanisms in programming languages. Resolution is used by features such as type classes or Scala-style implicits to synthesize values automatically from contextual type information. Subtyping is commonly used to automatically convert the type of a value into another compatible type. So far the two mechanisms have been considered independently of each other.… ▽ More

    Submitted 15 October, 2020; v1 submitted 13 October, 2020; originally announced October 2020.

    Comments: 43 pages, 20 figures; typos corrected, link to artifact added

  2. Coherence of Type Class Resolution

    Authors: Gert-Jan Bottu, Ningning Xie, Koar Marntirosian, Tom Schrijvers

    Abstract: Elaboration-based type class resolution, as found in languages like Haskell, Mercury and PureScript, is generally nondeterministic: there can be multiple ways to satisfy a wanted constraint in terms of global instances and locally given constraints. Coherence is the key property that keeps this sane; it guarantees that, despite the nondeterminism, programs still behave predictably. Even though ela… ▽ More

    Submitted 15 July, 2019; v1 submitted 1 July, 2019; originally announced July 2019.

    Comments: Accepted to ICFP 2019

    MSC Class: 68N15; 68N18 ACM Class: D.3.1