中文
相关论文

相关论文: Type Classes and Constraint Handling Rules

200 篇论文

Effective program synthesis requires a way to minimise the number of candidate programs being searched. A type signature, for example, places some small restrictions on the structure of potential candidates. We introduce and motivate a…

编程语言 · 计算机科学 2019-07-15 Bruce Collie , Michael O'Boyle

Programming languages and techniques based on logic and constraints, such as the Constraint Handling Rules (CHR), can support many common programming tasks that can be expressed in the form of a search for feasible or optimal solutions.…

编程语言 · 计算机科学 2013-08-20 Dragan Ivanović

Signal Temporal Logic (STL) has been widely adopted as a specification language for specifying desirable behaviors of hybrid systems. By monitoring a given STL specification, we can detect the executions that violate it, which are often…

软件工程 · 计算机科学 2026-01-21 Zhenya Zhang , Parv Kapoor , Jie An , Eunsuk Kang

We present an approach for modeling the Semantic Web as a type system. By using a type system, we can use symbolic representation for representing linked data. Objects with only data properties and references to external resources are…

计算机科学中的逻辑 · 计算机科学 2015-03-06 Rod Moten

In this paper we show how prescritive type checking and constraint solving can be combined to increase automation during software verification. We do so by defining a type system and implementing a typechecker for {log} (read `setlog'), a…

计算机科学中的逻辑 · 计算机科学 2025-01-22 Maximiliano Cristiá , Gianfranco Rossi

Erlang's dynamic typing discipline can lead to runtime errors that persist even after process restarts. Some of these runtime errors could be prevented through static type checking. While Erlang provides a type specification language, the…

编程语言 · 计算机科学 2026-03-24 Albert Schimpf , Stefan Wehr , Annette Bieniusa

Type soundness is an important property of modern programming languages. In this paper we explore the idea that "well-typed languages are sound": the idea that the appropriate typing discipline over language specifications guarantees that…

编程语言 · 计算机科学 2016-11-17 Matteo Cimini , Dale Miller , Jeremy G. Siek

Designing programming languages that enable intuitive and safe manipulation of data structures is a critical research challenge. Conventional destructive memory operations using pointers are complex and prone to errors. Existing type…

编程语言 · 计算机科学 2026-01-21 Jin Sano , Naoki Yamamoto , Kazunori Ueda

Polymorphic variants are a useful feature of the OCaml language whose current definition and implementation rely on kinding constraints to simulate a subtyping relation via unification. This yields an awkward formalization and results in a…

编程语言 · 计算机科学 2016-07-06 Giuseppe Castagna , Tommaso Petrucciani , Kim Nguyen

This paper presents preliminary work on a general system for integrating dependent types into substructural type systems such as linear logic and linear type theory. Prior work on this front has generally managed to deliver type systems…

计算机科学中的逻辑 · 计算机科学 2024-01-30 C. B. Aberlé

We present gradual type theory, a logic and type theory for call-by-name gradual typing. We define the central constructions of gradual typing (the dynamic type, type casts and type error) in a novel way, by universal properties relative to…

编程语言 · 计算机科学 2023-06-22 Max S. New , Daniel R. Licata

Computational interpretations of linear logic allow static control of memory resources: the data produced by the program are endowed through its type with attributes that determine its life cycle, and guarantee safe deallocation. The use of…

编程语言 · 计算机科学 2025-10-09 Hector Gramaglia

Intersection types are an essential tool in the analysis of operational and denotational properties of lambda-terms and functional programs. Among them, non-idempotent intersection types provide precise quantitative information about the…

计算机科学中的逻辑 · 计算机科学 2019-11-06 Thomas Ehrhard

Recent constraint logic programming (CLP) languages, such as HAL and Mercury, require type, mode and determinism declarations for predicates. This information allows the generation of efficient target code and the detection of many errors…

编程语言 · 计算机科学 2010-09-03 Maria Garcia de la Banda , Warwick Harvey , Kim Marriott , Peter J. Stuckey , Bart Demoen

We present techniques for reasoning about constructor classes that (like the monad class) fix polymorphic operations and assert polymorphic axioms. We do not require a logic with first-class type constructors, first-class polymorphism, or…

计算机科学中的逻辑 · 计算机科学 2012-07-16 Brian Huffman

Nowadays there are several classes of constrained codes intended for different applications. The following two large classes can be distinguished. The first class contains codes with local constraints; for example, the source data must be…

信息论 · 计算机科学 2024-05-27 Boris Ryabko

We view channels as the main form of resources in a message-passing programming paradigm. These channels need to be carefully managed in settings where resources are scarce. To study this problem, we extend the pi-calculus with primitives…

计算机科学中的逻辑 · 计算机科学 2010-04-08 Edsko de Vries , Adrian Francalanza , Matthew Hennessy

Can we use the flow of information to understand type systems? I present two familiar type systems in pursuit of an `Information Aware' style, using information effects to reveal data flow and help in implementing them. I also calculate a…

编程语言 · 计算机科学 2024-12-24 Philippa Cowderoy

Ontologies are traditionally expressed in the Web Ontology Language (OWL), that provides a syntax for expressing taxonomies with axioms regulating class membership. The semantics of OWL, based on Description Logic (DL), allows for the use…

信息论 · 计算机科学 2023-09-07 Veronika Heimsbakk , Kristian Torkelsen

We investigate a technique from the literature, called the phantom-types technique, that uses parametric polymorphism, type constraints, and unification of polymorphic types to model a subtyping hierarchy. Hindley-Milner type systems, such…

编程语言 · 计算机科学 2007-05-23 Matthew Fluet , Riccardo Pucella