{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,10]],"date-time":"2026-09-10T17:06:30Z","timestamp":1789059990048,"version":"build-2803163510"},"reference-count":54,"publisher":"Association for Computing Machinery (ACM)","issue":"OOPSLA","license":[{"start":{"date-parts":[[2017,10,12]],"date-time":"2017-10-12T00:00:00Z","timestamp":1507766400000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2017,10,12]]},"abstract":"<jats:p>Providing better supports for debugging type errors has been an active research area in the last three decades. Numerous approaches from different perspectives have been developed. Most approaches work well under certain conditions only, for example, when type errors are caused by single leaves and when type annotations are correct. However, the research community is still unaware of which conditions hold in practice and what the real debugging situations look like. We address this problem with a study of 3 program data sets, which were written in different years, using different compilers, and were of diverse sizes. They include more than 55,000 programs, among which more than 2,700 are ill typed. We investigated all the ill-typed programs, and our results indicate that current error debugging support is far from sufficient in practice since only about 35% of all type errors were caused by single leaves. In addition, type annotations cannot always be trusted in error debuggers since about 30% of the time type errors were caused by wrong type annotations. Our study also provides many insights about the debugging behaviors of students in functional programming, which could be exploited for developing more effective error debuggers.<\/jats:p>","DOI":"10.1145\/3133929","type":"journal-article","created":{"date-parts":[[2017,10,13]],"date-time":"2017-10-13T11:15:45Z","timestamp":1507893345000},"page":"1-27","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":8,"title":["How type errors were fixed and what students did?"],"prefix":"10.1145","volume":"1","author":[{"given":"Baijun","family":"Wu","sequence":"first","affiliation":[{"name":"University of Louisiana at Lafayette, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Sheng","family":"Chen","sequence":"additional","affiliation":[{"name":"University of Louisiana at Lafayette, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,10,12]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Stark","author":"Bernstein Karen L.","year":"1995","unstructured":"Karen L. Bernstein and Eugene W. Stark. 1995. Debugging Type Errors. Technical Report. State University of New York at Stony Brook."},{"key":"e_1_2_1_2_1","volume-title":"Int. Workshop on Implementation of Functional Languages.","author":"Bra\u00dfel Bernd","year":"2004","unstructured":"Bernd Bra\u00dfel. 2004. TypeHope: There is hope for your type errors. In Int. Workshop on Implementation of Functional Languages."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796803004805"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.5555\/2379703.2379745"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535863"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-319-07151-0_3"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/VLHCC.2014.6883038"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/2364527.2364535"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1145\/2518190"},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1145\/507635.507659"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-60675-0_51"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/2325296.2325318"},{"key":"e_1_2_1_13_1","doi-asserted-by":"crossref","unstructured":"Dominic Duggan and Frederick Bent. 1995. Explaining Type Inference. In Science of Computer Programming. 37\u201383.","DOI":"10.1016\/0167-6423(95)00007-0"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF03037279"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/1508865.1508973"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-36575-3_20"},{"key":"e_1_2_1_17_1","unstructured":"J. Hage. Helium benchmark programs (2002-2005). Private communication. (????)."},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","unstructured":"Jurriaan Hage and Bastiaan Heeren. 2007. Heuristics for Type Error Discovery and Recovery. In Implementation and Application of Functional Languages. 199\u2013216. 10.1007\/978-3-540-74130-5_12","DOI":"10.1007\/978-3-540-74130-5_12"},{"key":"e_1_2_1_19_1","volume-title":"Mining for Helium. Technical report UU-CS 2006-047","author":"Hage Jurriaan","year":"2006","unstructured":"Jurriaan Hage and Peter Van Keeken. 2006. Mining for Helium. Technical report UU-CS 2006-047 (2006)."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-00434-6_4"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1145\/871895.871902"},{"key":"e_1_2_1_22_1","unstructured":"Bastiaan J. Heeren. 2005. Top Quality Type Error Messages. Ph.D. Dissertation. Universiteit Utrecht The Netherlands. http:\/\/www.cs.uu.nl\/people\/bastiaan\/phdthesis"},{"key":"e_1_2_1_23_1","volume-title":"Haskell 98 language and libraries: the revised report","author":"Jones Simon Peyton","unstructured":"Simon Peyton Jones. 2003. Haskell 98 language and libraries: the revised report. Cambridge University Press."},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796800000599"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/45.4.436"},{"key":"e_1_2_1_26_1","doi-asserted-by":"publisher","DOI":"10.1145\/291891.291892"},{"key":"e_1_2_1_27_1","unstructured":"Oukseh Lee and Kwangkeun Yi. 2000. A Generalized Let-Polymorphic Type Inference Algorithm. Technical Report. Technical Memorandum ROPAS-2000-5 Research on Program Analysis System Korea Advanced Institute of Science and Technology."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1145\/1250734.1250783"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1145\/1159876.1159887"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","unstructured":"Calvin Loncaric Satish Chandra Cole Schlesinger and Manu Sridharan. 2016. A Practical Framework for Type Inference Error Explanation. In OOPSLA. 781\u2013799. 10.1145\/2983990.2983994","DOI":"10.1145\/2983990.2983994"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1145\/1953163.1953308"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/2048237.2048241"},{"key":"e_1_2_1_33_1","unstructured":"Bruce J McAdam. 2002. Repairing type errors in functional programs. Ph.D. Dissertation. University of Edinburgh. College of Science and Engineering. School of Informatics."},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.5555\/2835377.2835386"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1217856.1217859"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","unstructured":"Zvonimir Pavlinovic Tim King and Thomas Wies. 2014. Finding Minimum Type Error Sources. In OOPSLA. 525\u2013542. 10.1145\/2660193.2660230","DOI":"10.1145\/2660193.2660230"},{"key":"e_1_2_1_37_1","doi-asserted-by":"crossref","unstructured":"Zvonimir Pavlinovic Tim King and Thomas Wies. 2015. Practical SMT-based Type Error Localization. In ICFP. 412\u2013423.","DOI":"10.1145\/2784731.2784765"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-32037-8_1"},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1145\/1462166.1462169"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/871895.871903"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1145\/1017472.1017486"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1145\/2591708.2591726"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796815000179"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-41582-1_12"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.11309\/jssst.31.4_131"},{"key":"e_1_2_1_46_1","volume-title":"16th Workshop on Programming and Programming Languages (PPL","author":"Tsushima Kanae","year":"2014","unstructured":"Kanae Tsushima and Olaf Chitil. 2014. Enumerating Counter-Factual Type Error Messages with an Existing Type Checker. In 16th Workshop on Programming and Programming Languages (PPL 2014)."},{"key":"e_1_2_1_47_1","volume-title":"Analyzing Helium Programs Obtained Through Logging\u2013The process of mining novice Haskell programs. Master\u2019s thesis. Department of Information and Computing Sciences","author":"van Keeken Peter","unstructured":"Peter van Keeken. 2006. Analyzing Helium Programs Obtained Through Logging\u2013The process of mining novice Haskell programs. Master\u2019s thesis. Department of Information and Computing Sciences, Utrecht University."},{"key":"e_1_2_1_48_1","doi-asserted-by":"publisher","DOI":"10.1145\/512644.512648"},{"key":"e_1_2_1_49_1","unstructured":"Jeremy Richard Wazny. 2006. Type inference and type error diagnosis for Hindley\/Milner with extensions. Ph.D. Dissertation. The University of Melbourne."},{"key":"e_1_2_1_50_1","first-page":"1","article-title":"Learning User Friendly Type-error Messages","volume":"106","author":"Wu Baijun","year":"2017","unstructured":"Baijun Wu, John Peter Campora, and Sheng Chen. 2017. Learning User Friendly Type-error Messages. Proc. ACM Program. Lang. 1, OOPSLA, Article 106 (2017), 1 \u2013 29.","journal-title":"Proc. ACM Program. Lang. 1, OOPSLA, Article"},{"key":"e_1_2_1_51_1","volume-title":"Trends in Functional Programming","author":"Yang Jun","unstructured":"Jun Yang. 2000. Explaining Type Errors by Finding the Source of a Type Conflict. In Trends in Functional Programming. Intellect Books, 58\u201366."},{"key":"e_1_2_1_52_1","volume-title":"In Proceedings of 12th International Workshop on Implementation of Functional Languages. Citeseer.","author":"Yang Jun","year":"2000","unstructured":"Jun Yang, Greg Michaelson, Phil Trinder, and JB Wells. 2000. Improved type error reporting. In In Proceedings of 12th International Workshop on Implementation of Functional Languages. Citeseer."},{"key":"e_1_2_1_53_1","doi-asserted-by":"publisher","DOI":"10.1145\/2535838.2535870"},{"key":"e_1_2_1_54_1","doi-asserted-by":"publisher","DOI":"10.1145\/2737924.2738009"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3133929","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3133929","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,9,10]],"date-time":"2026-09-10T16:09:54Z","timestamp":1789056594000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3133929"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,10,12]]},"references-count":54,"journal-issue":{"issue":"OOPSLA","published-print":{"date-parts":[[2017,10,12]]}},"alternative-id":["10.1145\/3133929"],"URL":"https:\/\/doi.org\/10.1145\/3133929","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,10,12]]},"assertion":[{"value":"2017-10-12","order":3,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}