{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T23:05:35Z","timestamp":1779836735402,"version":"3.53.1"},"reference-count":29,"publisher":"Cambridge University Press (CUP)","issue":"3-4","license":[{"start":{"date-parts":[[2010,9,27]],"date-time":"2010-09-27T00:00:00Z","timestamp":1285545600000},"content-version":"unspecified","delay-in-days":88,"URL":"https:\/\/www.cambridge.org\/core\/terms"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["J. Funct. Prog."],"published-print":{"date-parts":[[2010,7]]},"abstract":"<jats:title>Abstract<\/jats:title>\n                  <jats:p>Term-rewriting systems can be expressed as generic programs parameterised over the shape of the terms being rewritten. Previous implementations of generic rewriting libraries require users to either adapt the datatypes that are used to describe these terms or to specify rewrite rules as functions. These are fundamental limitations: the former implies a lot of work for the user, while the latter makes it hard if not impossible to document, test, and analyze rewrite rules. In this article, we demonstrate how to overcome these limitations by making essential use of type-indexed datatypes. Our approach is lightweight in that it is entirely expressible in Haskell with GADTs and type families and can be readily packaged for use with contemporary Haskell distributions.<\/jats:p>","DOI":"10.1017\/s0956796810000183","type":"journal-article","created":{"date-parts":[[2010,9,27]],"date-time":"2010-09-27T07:26:22Z","timestamp":1285572382000},"page":"375-413","source":"Crossref","is-referenced-by-count":8,"title":["A lightweight approach to datatype-generic rewriting"],"prefix":"10.1017","volume":"20","author":[{"given":"THOMAS","family":"VAN NOORT","sequence":"first","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"ALEXEY","family":"RODRIGUEZ YAKUSHEV","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"STEFAN","family":"HOLDERMANS","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"JOHAN","family":"JEURING","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"BASTIAAN","family":"HEEREN","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"JOS\u00c9 PEDRO","family":"MAGALH\u00c3ES","sequence":"additional","affiliation":[],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"56","published-online":{"date-parts":[[2010,9,27]]},"reference":[{"key":"S0956796810000183_ref29","first-page":"224","volume-title":"Conference Record of POPL 2003: The 30th SIGPLAN-SIGACT Symposium on Principles of Programming Languages, New Orleans, Louisiana, January 15\u201317, 2003","author":"Xi","year":"2003"},{"key":"S0956796810000183_ref28","first-page":"1","volume-title":"Proceedings of the ACM SIGPLAN Workshop on Haskell, Pittsburgh, Pennsylvania, 2002","author":"Sheard","year":"2002"},{"key":"S0956796810000183_ref27","first-page":"86","volume-title":"Proceedings of the Sixth ACM SIGPLAN International Conference on Functional Programming (ICFP '01), Florence, Italy, September 3\u20135, 2001","author":"Sheard","year":"2001"},{"key":"S0956796810000183_ref25","first-page":"50","volume-title":"Proceedings of the 11th ACM SIGPLAN International Conference on Functional Programming, ICFP 2006, Portland, Oregon, USA, September 16\u201321, 2006","author":"Peyton Jones","year":"2006"},{"key":"S0956796810000183_ref24","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-30175-2_8"},{"key":"S0956796810000183_ref23","first-page":"13","volume-title":"Proceedings of the ACM SIGPLAN Workshop on Generic Programming, WGP 2008, Victoria, BC, Canada, September 20, 2008","author":"Noort","year":"2008"},{"key":"S0956796810000183_ref22","first-page":"49","volume-title":"Proceedings of the ACM SIGPLAN Workshop on Haskell, Haskell 2007, Freiburg, Germany, September 30, 2007","author":"Mitchell","year":"2007"},{"key":"S0956796810000183_ref21","first-page":"33","volume-title":"Proceedings of the 2010 ACM SIGPLAN Workshop on Partial Evaluation and Program Manipulation, PEPM 2010, Madrid, Spain, January 18\u201319, 2010","author":"Magalh\u00e3es","year":"2010"},{"key":"S0956796810000183_ref20","doi-asserted-by":"crossref","first-page":"137","DOI":"10.1007\/3-540-45587-6_10","volume-title":"Practical Aspects of Declarative Languages, 4th International Symposium, PADL 2002, Portland, OR, USA, January 19\u201320, 2002","author":"L\u00e4mmel","year":"2002"},{"key":"S0956796810000183_ref19","doi-asserted-by":"publisher","DOI":"10.1145\/604174.604179"},{"key":"S0956796810000183_ref18","first-page":"33","volume-title":"Proceedings Workshop on Generic Programming (WGP 2000), July 6, 2000, Ponte de Lima, Portugal","author":"Jansson","year":"2000"},{"key":"S0956796810000183_ref16","first-page":"68","volume-title":"Conference Record of POPL'97: The 24 ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, Papers Presented at the Symposium, Paris, France, 15\u201317 January 1997","author":"Jansson","year":"1997"},{"key":"S0956796810000183_ref26","first-page":"51","volume-title":"Proceedings of the 13th ACM SIGPLAN International Conference on Functional Programming, ICFP 2008, Victoria, BC, Canada, September 22\u201324, 2008","author":"Schrijvers","year":"2008"},{"key":"S0956796810000183_ref17","doi-asserted-by":"publisher","DOI":"10.1017\/S095679689800313X"},{"key":"S0956796810000183_ref11","volume-title":"Algebraic Semantics of Imperative Programs","author":"Goguen","year":"1997"},{"key":"S0956796810000183_ref3","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2007.11.003"},{"key":"S0956796810000183_ref15","first-page":"209","volume-title":"Mathemathics of Program Construction, 8th International Conference, MPC 2006, Kuressaare, Estonia, July 3\u20135, 2006, Proceedings","author":"Holdermans","year":"2006"},{"key":"S0956796810000183_ref7","first-page":"241","volume-title":"Proceedings of the 10th ACM SIGPLAN International Conference on Functional Programming, ICFP 2005, Tallinn, Estonia, September 26\u201328, 2005","author":"Chakravarty","year":"2005"},{"key":"S0956796810000183_ref8","first-page":"1","volume-title":"Proceedings of the 32nd ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages, POPL 2005, Long Beach, California, USA, January 12\u201314, 2005","author":"Chakravarty","year":"2005"},{"key":"S0956796810000183_ref10","doi-asserted-by":"publisher","DOI":"10.1142\/3163"},{"key":"S0956796810000183_ref6","first-page":"381","article-title":"Lambda calculus notation with nameless dummies: a tool for automatic formula manipulation, with application to the Church-rosser theorem","volume":"34","author":"Bruijn","year":"1972","journal-title":"Indagaciones Mathematische"},{"key":"S0956796810000183_ref9","first-page":"268","volume-title":"Proceedings of the Fifth ACM SIGPLAN International Conference on Functional Programming (ICFP '00), Montreal, Canada, September 18\u201321, 2000","author":"Claessen","year":"2000"},{"key":"S0956796810000183_ref1","first-page":"28","volume-title":"Advanced Functional Programming, Third International School, Braga, Portugal, September 12\u201319, 1998, Revised Lectures","author":"Backhouse","year":"1999"},{"key":"S0956796810000183_ref14","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2003.07.001"},{"key":"S0956796810000183_ref2","doi-asserted-by":"publisher","DOI":"10.1142\/S0129054101000412"},{"key":"S0956796810000183_ref4","first-page":"216","volume-title":"Proceedings of the 11th ACM SIGPLAN International Conference on Functional Programming, ICFP 2006, Portland, Oregon, USA, September 16\u201321, 2006","author":"Bringert","year":"2006"},{"key":"S0956796810000183_ref5","first-page":"304","volume-title":"Draft Proceedings of the Ninth Symposium on Trends in Functional Programming (TFP), May 26\u201328, 2008, Center Parcs \u201cHet Heijderbos\u201d, The Netherlands","author":"Brown","year":"2008"},{"key":"S0956796810000183_ref12","first-page":"430","volume-title":"Intelligent Computer Mathematics, 9th International Conference, AISC 2008, 15th Symposium, Calculemus 2008, 7th International Conference, MKM 2008, Birmingham, UK, July 28\u2013August 1, 2008, Proceedings","author":"Heeren","year":"2008"},{"key":"S0956796810000183_ref13","volume-title":"Generic Programs and Proofs","author":"Hinze","year":"2000"}],"container-title":["Journal of Functional Programming"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.cambridge.org\/core\/services\/aop-cambridge-core\/content\/view\/S0956796810000183","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,5,26]],"date-time":"2026-05-26T22:36:00Z","timestamp":1779834960000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.cambridge.org\/core\/product\/identifier\/S0956796810000183\/type\/journal_article"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2010,7]]},"references-count":29,"journal-issue":{"issue":"3-4","published-print":{"date-parts":[[2010,7]]}},"alternative-id":["S0956796810000183"],"URL":"https:\/\/doi.org\/10.1017\/s0956796810000183","relation":{},"ISSN":["0956-7968","1469-7653"],"issn-type":[{"value":"0956-7968","type":"print"},{"value":"1469-7653","type":"electronic"}],"subject":[],"published":{"date-parts":[[2010,7]]}}}