{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,26]],"date-time":"2026-09-26T12:30:29Z","timestamp":1790425829608,"version":"4.1.0"},"reference-count":55,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2010,1,1]],"date-time":"2010-01-01T00:00:00Z","timestamp":1262304000000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"funder":[{"DOI":"10.13039\/100000001","name":"National Science Foundation","doi-asserted-by":"publisher","award":["CCR-0341179CCR-0707885"],"award-info":[{"award-number":["CCR-0341179CCR-0707885"]}],"id":[{"id":"10.13039\/100000001","id-type":"DOI","asserted-by":"publisher"}]}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Program. Lang. Syst."],"published-print":{"date-parts":[[2010,1]]},"abstract":"<jats:p>Traditional static type systems are effective for verifying basic interface specifications. Dynamically checked contracts support more precise specifications, but these are not checked until runtime, resulting in incomplete detection of defects. Hybrid type checking is a synthesis of these two approaches that enforces precise interface specifications, via static analysis where possible, but also via dynamic checks where necessary. This article explores the key ideas and implications of hybrid type checking, in the context of the \u03bb-calculus extended with<jats:italic>contract types<\/jats:italic>, that is, with dependent function types and with arbitrary refinements of base types.<\/jats:p>","DOI":"10.1145\/1667048.1667051","type":"journal-article","created":{"date-parts":[[2010,8,24]],"date-time":"2010-08-24T13:16:40Z","timestamp":1282655800000},"page":"1-34","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":89,"title":["Hybrid type checking"],"prefix":"10.1145","volume":"32","author":[{"given":"Kenneth","family":"Knowles","sequence":"first","affiliation":[{"name":"University of California at Santa Cruz, Santa Cruz, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Cormac","family":"Flanagan","sequence":"additional","affiliation":[{"name":"University of California at Santa Cruz, Santa Cruz, CA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2010,2,8]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1145\/355602.361309"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1145\/75277.75296"},{"key":"e_1_2_1_3_1","volume-title":"Proceedings of the Conference on Verification, Model Checking, and Abstract Interpretation. 149--160","author":"Agarwal R."},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/174675.177847"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/289423.289451"},{"key":"e_1_2_1_6_1","unstructured":"Blei D. Harrelson C. Jhala R. Majumdar R. Necula G. C. Rahul S. P. Weimer W. and Weitz D. 2000. Vampyre. http:\/\/www-cad.eecs.berkeley.edu\/~rupak\/Vampyre\/. Blei D. Harrelson C. Jhala R. Majumdar R. Necula G. C. Rahul S. P. Weimer W. and Weitz D. 2000. Vampyre. http:\/\/www-cad.eecs.berkeley.edu\/~rupak\/Vampyre\/."},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796806005971"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1016\/0890-5401(91)90055-7"},{"key":"e_1_2_1_9_1","volume-title":"8th International Workshop on Formal Methods for Industrial Critical Systems (FMICS '03)","volume":"80","author":"Burdy L."},{"key":"e_1_2_1_10_1","unstructured":"Cardelli L. 1988a. Phase distinctions in type theory. Manuscript. http:\/\/lucacardelli.name\/Papers\/PhaseDistinctions.pdf. Cardelli L. 1988a. Phase distinctions in type theory. Manuscript. http:\/\/lucacardelli.name\/Papers\/PhaseDistinctions.pdf."},{"key":"e_1_2_1_11_1","series-title":"Lecture Notes in Computer Science","volume-title":"Foundations of Logic and Functional Programming","author":"Cardelli L."},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/351240.351259"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.5555\/647321.721207"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/1066100.1066102"},{"key":"e_1_2_1_15_1","unstructured":"Fagan M. 1990. Soft typing. Ph.D. thesis Rice University. Fagan M. 1990. Soft typing. Ph.D. thesis Rice University."},{"key":"e_1_2_1_16_1","unstructured":"Findler R. B. 2002. Behavioral software contracts. Ph.D. thesis Rice University. Findler R. B. 2002. Behavioral software contracts. Ph.D. thesis Rice University."},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1145\/581478.581484"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1145\/1111037.1111059"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1145\/231379.231387"},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1145\/512529.512558"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/113445.113468"},{"key":"e_1_2_1_22_1","doi-asserted-by":"crossref","unstructured":"Frisch A. Castagna G. and Benzaken V. 2002. Semantic subtyping. In Logic in Computer Science. 137--146. Frisch A. Castagna G. and Benzaken V. 2002. Semantic subtyping. In Logic in Computer Science. 137--146.","DOI":"10.1109\/LICS.2002.1029823"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1145\/1065010.1065036"},{"key":"e_1_2_1_24_1","unstructured":"Gomes B. Stoutamire D. Vaysman B. and Klawitter H. 1996. A language manual for Sather 1.1. http:\/\/www.icsi.berkeley.edu\/~sather\/Documentation\/LanguageDescription\/webmaker\/index.html. Gomes B. Stoutamire D. Vaysman B. and Klawitter H. 1996. A language manual for Sather 1.1. http:\/\/www.icsi.berkeley.edu\/~sather\/Documentation\/LanguageDescription\/webmaker\/index.html."},{"key":"e_1_2_1_25_1","unstructured":"Gosling J. Joy B. and Steele G. 1996. The Java Language Specification. Addison-Wesley. Gosling J. Joy B. and Steele G. 1996. The Java Language Specification. Addison-Wesley."},{"key":"e_1_2_1_26_1","unstructured":"Gronski J. and Flanagan C. 2007. Unifying hybrid types and contracts. In Trends in Functional Programming. Gronski J. and Flanagan C. 2007. Unifying hybrid types and contracts. In Trends in Functional Programming."},{"key":"e_1_2_1_27_1","volume-title":"Proceedings of the Workshop on Scheme and Functional Programming. 93--104","author":"Gronski J."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/197320.197346"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(94)00004-2"},{"key":"e_1_2_1_30_1","unstructured":"Herman D. Tomb A. and Flanagan C. 2007. Space-Efficient gradual typing. In Trends in Functional Programming. 404--419. Herman D. Tomb A. and Flanagan C. 2007. Space-Efficient gradual typing. In Trends in Functional Programming. 404--419."},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/53580.53581"},{"key":"e_1_2_1_32_1","volume-title":"Proceedings of the European Symposium on Programming. 505--519","author":"Knowles K."},{"key":"e_1_2_1_33_1","volume-title":"Blue: Language specification, version 0.94.","author":"K\u00f6lling M.","year":"1997"},{"key":"e_1_2_1_34_1","unstructured":"Leavens G. T. and Cheon Y. 2005. Design by contract with JML. http:\/\/www.cs.iastate.edu\/~leavens\/JML\/. Leavens G. T. and Cheon Y. 2005. Design by contract with JML. http:\/\/www.cs.iastate.edu\/~leavens\/JML\/."},{"key":"e_1_2_1_35_1","doi-asserted-by":"crossref","unstructured":"Luckham D. 1990. Programming with specifications. Texts and Monographs in Computer Science. Luckham D. 1990. Programming with specifications. Texts and Monographs in Computer Science.","DOI":"10.1007\/978-1-4613-9685-7"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1145\/944705.944725"},{"key":"e_1_2_1_37_1","unstructured":"Meyer B. 1988. Object-Oriented Software Construction. Prentice Hall. Meyer B. 1988. Object-Oriented Software Construction. Prentice Hall."},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/319301.319345"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/263699.263712"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/503272.503286"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/781498.781528"},{"key":"e_1_2_1_42_1","volume-title":"Proceedings of the IFIP International Conference on Theoretical Computer Science. 437--450","author":"Ou X."},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/1375581.1375602"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-73589-2_2"},{"key":"e_1_2_1_45_1","volume-title":"Proceedings of the Workshop on Scheme and Functional Programming.","author":"Siek J. G."},{"key":"e_1_2_1_46_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0019-9958(85)80001-2"},{"key":"e_1_2_1_47_1","doi-asserted-by":"publisher","DOI":"10.1145\/249069.231414"},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/96709.96747"},{"key":"e_1_2_1_49_1","volume-title":"Proceedings of the European Symposium on Programming. 249--263","author":"Vitek J."},{"key":"e_1_2_1_50_1","doi-asserted-by":"publisher","DOI":"10.1145\/504282.504288"},{"key":"e_1_2_1_51_1","volume-title":"Proceedings of the Workshop on Scheme and Functional Programming.","author":"Wadler P."},{"key":"e_1_2_1_52_1","doi-asserted-by":"publisher","DOI":"10.1145\/182409.182485"},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1994.1093"},{"key":"e_1_2_1_54_1","volume-title":"Proceedings of the Annual IEEE Symposium on Logic in Computer Science (LICS'00)","author":"Xi H.","year":"2000"},{"key":"e_1_2_1_55_1","doi-asserted-by":"publisher","DOI":"10.1145\/292540.292560"}],"container-title":["ACM Transactions on Programming Languages and Systems"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1667048.1667051","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/1667048.1667051","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T12:41:30Z","timestamp":1750250490000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/1667048.1667051"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,1]]},"references-count":55,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2010,1]]}},"alternative-id":["10.1145\/1667048.1667051"],"URL":"https:\/\/doi.org\/10.1145\/1667048.1667051","relation":{},"ISSN":["0164-0925","1558-4593"],"issn-type":[{"value":"0164-0925","type":"print"},{"value":"1558-4593","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,1]]},"assertion":[{"value":"2008-07-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2009-05-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2010-02-08","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}