arrow
Return

Bidirectional Typing

delete2021-05-25
delete36
delete
OA
AI
J
Jana Dunfield *
N
Neel Krishnaswami
DOI:10.1145/3450952delete
deleteOriginal
deleteShare
deleteSave
View PDF
Abstract

Abstract

En 中文
Bidirectional typing combines two modes of typing: type checking, which checks that a program satisfies a known type, and type synthesis, which determines a type from the program. Using checking enables bidirectional typing to support features for which inference is undecidable; using synthesis enables bidirectional typing to avoid the large annotation burden of explicitly typed languages. In addition, bidirectional typing improves error locality. We highlight the design principles that underlie bidirectional type systems, survey the development of bidirectional typing from the prehistoric period before Pierce and Turner's local type inference to the present day, and provide guidance for future investigations.
Keywords:
Type checking
type inference
Incremental Bidirectional Typing via Order Maintenance
err2025-10-01
err0
PREAI
errPorter, Thomas J.; Kirisame, Marisa; Wei, Ivan; Panchekha, Pavel; Omar, Cyrus
errShare
errSave
Local Contextual Type Inference
err2026-01-01
err0
PREAI
errXue, Xu; Cui, Chen; Jiang, Shengyi; Oliveira, Bruno C. D. S.
errShare
errSave
Generating Python Type Annotations from Type Inference: How Far Are We?
err2024-06-03
err3
errOAAI
errGuo, Yimeng; Chen, Zhifei; Chen, Lin; Xu, Wenjie; Li, Yanhui; Zhou, Yuming; Xu, Baowen
errShare
errSave
Data type definition and handling for supporting interoperability across organizational borders
err2014-02-24
err2
PREAI
errKarnok, David; Kemeny, Zsolt; Ilie-Zudor, Elisabeth; Monostori, Laszlo
errShare
errSave
Fully-Automatic Type Inference for Borrows with Lifetimes
err2026-04-01
err0
PREAI
errBrandon, William; Driscoll, Benjamin; Dai, Frank; Ragan-Kelley, Jonathan; Milano, Mae; Aiken, Alex
errShare
errSave
How do developers use type inference: an exploratory study in Kotlin
err2025-01-16
err0
PREAI
errFlint, Samuel W.; Keshk, Ali M.; Dyer, Robert; Bagheri, Hamid
errShare
errSave

Journal

ACM Computing Surveys cover
ACM Computing Surveys
IF:
28
Papers:
2.7K
Citations:
4.6W

Organization

Q
queens university - canada
Scholars:
1.8W
Papers: 1.7W
Citations: 2.1W
U
University of Cambridge
Scholars:
7.0K
Papers: 2.7K
Citations: 7.1W
Cited Papers

Cited Papers

errShare
errSave
errShare
errSave
Ordering of Fe and Zn Ions and the Magnetic Properties of FeZnMo3O8
err2019-08-27
err0
errOAAI
errS. V. Streltsov; D.-J. Huang; I. V. Solovyev; D. I. Khomskii
errShare
errSave
Prior infection- and/or vaccine-induced protection against Omicron BA.1, BA.2 and BA.4/BA.5-related hospitalisations in older adults: a test-negative case-control study in Quebec, Canada
err
IF0
err2022-12-27
err0
errOAAI
errSara Carazo; Danuta M. Skowronski; Marc Brisson; Chantal Sauvageau; Nicholas Brousseau; Judith Fafard; Rodica Gilca; Denis Talbot; Manale Ouakki; Yossi Febriani; Geneviève Deceuninck; Philippe De Wals; Gaston De Serres
errShare
errSave
Hyperbilirubinemia and Kernicterus
err2006-06-01
err0
PREAI
errSteven M. Shapiro; Vinod K. Bhutani; Lois Johnson
errShare
errSave
A multisample 7 T dynamic nuclear polarization polarizer for preclinical hyperpolarized MR
err2020-01-30
err0
errOAAI
errTian Cheng; Adam P. Gaunt; Irene Marco‐Rius; Marcel Gehrung; Albert P. Chen; Jacques J. van der Klink; Arnaud Comment
errShare
errSave
errShare
errSave
researcher View more