中文
相关论文

相关论文: State of structural typing support in Scala 3.3.0

200 篇论文

In this paper, we describe our experience incorporating gradual types in a statically typed functional language with Hindley-Milner style type inference. Where most gradually typed systems aim to improve static checking in a dynamically…

编程语言 · 计算机科学 2021-02-01 Bhargav Shivkumar , Enrique Naudon , Lukasz Ziarek

We report on a half-semester course focused around implementation of type systems in programming languages. The course assumes basics of classical compiler construction, in particular, the abstract syntax representation, the Visitor…

编程语言 · 计算机科学 2024-07-12 Abdelrahman Abounegm , Nikolai Kudasov , Alexey Stepanov

Extensible variants improve the modularity and expressiveness of programming languages: they allow program functionality to be decomposed into independent blocks, and allow seamless extension of existing code with both new cases of existing…

编程语言 · 计算机科学 2016-12-28 J. Garrett Morris

We present a comparative analysis of the parseability of structured outputs generated by small language models for open attribute-value extraction from clinical notes. We evaluate three widely used serialization formats: JSON, YAML, and…

计算与语言 · 计算机科学 2025-08-06 Nikita Neveditsin , Pawan Lingras , Vijay Mago

Refinement types -- types qualified with logical predicates -- have proven effective for lightweight verification in languages like Liquid Haskell, F*, and Dafny. However, in these systems refinements are either written in a separate…

编程语言 · 计算机科学 2026-05-12 Matt Bovel , Viktor Kunčak , Martin Odersky

Linear and substructural types are powerful tools, but adding them to standard functional programming languages often means introducing extra annotations and typing machinery. We propose a lightweight substructural type system design that…

编程语言 · 计算机科学 2015-02-18 Edward Gan , Jesse A. Tov , Greg Morrisett

Type inference is an application domain that is a natural fit for logic programming (LP). LP systems natively support unification, which serves as a basic building block of typical type inference algorithms. In particular, polymorphic type…

编程语言 · 计算机科学 2017-09-13 Ki Yung Ahn

Typed Clojure is an optional type system for Clojure, a dynamic language in the Lisp family that targets the JVM. Typed Clojure enables Clojure programmers to gain greater confidence in the correctness of their code via static type checking…

编程语言 · 计算机科学 2018-12-11 Ambrose Bonnaire-Sergeant , Rowan Davies , Sam Tobin-Hochstadt

Gradual typing combines static and dynamic typing in the same language, offering the benefits of both to programmers. Static typing provides error detection and strong guarantees while dynamic typing enables rapid prototyping and flexible…

编程语言 · 计算机科学 2016-10-27 Michael M. Vitousek , Jeremy G. Siek

Gradually-typed languages feature a dynamic type that supports implicit coercions, greatly weakening the type system but making types easier to adopt. Understanding how developers use this dynamic type is a critical question for the design…

编程语言 · 计算机科学 2025-03-13 Dibri Nsofor , Ben Greenman

Multi-stage programming is a proven technique that provides predictable performance characteristics by controlling code generation. We propose a core semantics for Typed Template Haskell, an extension of Haskell that supports multi staged…

编程语言 · 计算机科学 2021-12-08 Matthew Pickering , Andres Löh , Nicolas Wu

This dissertation introduces executable refinement types, which refine structural types by semi-decidable predicates, and establishes their metatheory and accompanying implementation techniques. These results are useful for undecidable type…

编程语言 · 计算机科学 2014-03-14 Kenneth Knowles

When scripts in untyped languages grow into large programs, maintaining them becomes difficult. A lack of explicit type annotations in typical scripting languages forces programmers to must (re)discover critical pieces of design information…

编程语言 · 计算机科学 2011-06-15 Sam Tobin-Hochstadt , Matthias Felleisen

Type classes are an elegant extension to traditional, Hindley-Milner based typing systems. They are used in modern, typed languages such as Haskell to support controlled overloading of symbols. Haskell 98 supports only single-parameter and…

编程语言 · 计算机科学 2007-05-23 Kevin Glynn , Martin Sulzmann , Peter J. Stuckey

Type-level programming is an increasingly popular way to obtain additional type safety. Unfortunately, it remains a second-class citizen in the majority of industrially-used programming languages. We propose a new dependently-typed system…

编程语言 · 计算机科学 2020-11-17 Georg Stefan Schmid , Olivier Blanvillain , Jad Hamza , Viktor Kunčak

Targeting to use contract-based design for the specification and refinement of extra-functional properties, this research abstract suggests to use type constraints and dependent types to ensure correct and consistent top-down decomposition…

编程语言 · 计算机科学 2019-06-28 Gregor Nitsche

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

Using a dependently typed host language, we give a well scoped-and-typed by construction presentation of a minimal two level simply typed calculus with a static and a dynamic stage. The staging function partially evaluating the part of a…

编程语言 · 计算机科学 2024-01-12 Guillaume Allais

The usual advantages put forward for including nullability declarations in the type systems of programming languages are that they improve program reliability or performance. But there is another, entirely different, reason for doing so. In…

编程语言 · 计算机科学 2011-08-25 William Harrison , Tim Walsh , Paul Biggar

Linguistic typology aims to capture structural and semantic variation across the world's languages. A large-scale typology could provide excellent guidance for multilingual Natural Language Processing (NLP), particularly for languages that…

‹ 上一页 1 2 3 10 下一页 ›