{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,7,31]],"date-time":"2026-07-31T12:12:20Z","timestamp":1785499940005,"version":"3.56.0"},"reference-count":42,"publisher":"Association for Computing Machinery (ACM)","issue":"ICFP","license":[{"start":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T00:00:00Z","timestamp":1503964800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by-nc-nd\/4.0\/"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Program. Lang."],"published-print":{"date-parts":[[2017,8,29]]},"abstract":"<jats:p>\n            Parallel programming, whether imperative or functional, has long focused on arrays as the central data type. Meanwhile, typed functional programming has explored a variety of data types, including lists and various forms of trees.\n            <jats:italic>Generic<\/jats:italic>\n            functional programming decomposes these data types into a small set of fundamental building blocks: sum, product, composition, and their associated identities. Definitions over these few fundamental type constructions then automatically assemble into algorithms for an infinite variety of data types\u2014some familiar and some new. This paper presents generic functional formulations for two important and well-known classes of parallel algorithms: parallel scan (generalized prefix sum) and fast Fourier transform (FFT). Notably, arrays play no role in these formulations. Consequent benefits include a simpler and more compositional style, much use of common algebraic patterns and freedom from possibility of run-time indexing errors. The functional generic style also clearly reveals deep commonality among what otherwise appear to be quite different algorithms. Instantiating the generic formulations, two well-known algorithms for each of parallel scan and FFT naturally emerge, as well as two possibly new algorithms.\n          <\/jats:p>","DOI":"10.1145\/3110251","type":"journal-article","created":{"date-parts":[[2017,8,29]],"date-time":"2017-08-29T18:19:41Z","timestamp":1504030781000},"page":"1-25","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":8,"title":["Generic functional parallel algorithms: scan and FFT"],"prefix":"10.1145","volume":"1","author":[{"given":"Conal","family":"Elliott","sequence":"first","affiliation":[{"name":"Target, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2017,8,29]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"Lecture Notes in Computer Science. Springer Berlin Heidelberg","author":"Backhouse Roland","year":"2007"},{"key":"e_1_2_1_2_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-03275-2_8"},{"key":"e_1_2_1_3_1","first-page":"67","volume-title":"Mathematics of Program Construction","author":"Bird Richard","year":"1998"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/289423.289440"},{"key":"e_1_2_1_6_1","doi-asserted-by":"publisher","DOI":"10.1145\/227234.227246"},{"key":"e_1_2_1_7_1","doi-asserted-by":"publisher","DOI":"10.1109\/TC.1982.1675982"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1090\/S0025-5718-1965-0178586-1"},{"key":"e_1_2_1_9_1","unstructured":"Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest and Clifford Stein. Introduction to Algorithms. The MIT Press 3rd edition 2009.  Thomas H. Cormen Charles E. Leiserson Ronald L. Rivest and Clifford Stein. Introduction to Algorithms. The MIT Press 3rd edition 2009."},{"key":"e_1_2_1_10_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0016-0032(42)90624-0"},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1145\/44304.44310"},{"key":"e_1_2_1_12_1","first-page":"684","volume-title":"Principles of Programming Languages","author":"Eisenberg Richard A.","year":"2014"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-662-49498-1_10"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/3110271"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1145\/301618.301661"},{"key":"e_1_2_1_17_1","doi-asserted-by":"publisher","DOI":"10.1007\/3-540-56625-2_11"},{"key":"e_1_2_1_18_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6423(99)00022-2"},{"key":"e_1_2_1_19_1","doi-asserted-by":"publisher","DOI":"10.1023\/A:1007981511582"},{"key":"e_1_2_1_20_1","volume-title":"2nd Arrays, functional languages, and parallel systems (ATABLE)","author":"Hartel Pieter H.","year":"1992"},{"key":"e_1_2_1_21_1","doi-asserted-by":"publisher","DOI":"10.1109\/MASSP.1984.1162257"},{"key":"e_1_2_1_22_1","first-page":"32","volume-title":"2nd Workshop on Generic Programming","author":"Hinze Ralf","year":"2000"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-540-27764-4_11"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796897002864"},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1016\/S0167-6423(99)00023-4"},{"key":"e_1_2_1_26_1","unstructured":"Darius Jahandarie Conor McBride and Jo\u00e3o Crist\u00f3v\u00e3o. newtype-generics 2014. Haskell library.  Darius Jahandarie Conor McBride and Jo\u00e3o Crist\u00f3v\u00e3o. newtype-generics 2014. Haskell library."},{"key":"e_1_2_1_28_1","unstructured":"Steven G. Johnson. Diagram to illustrate the general Cooley-Tukey FFT algorithm 2010. URL https:\/\/en.wikipedia.org\/wiki\/ Cooley%E2%80%93Tukey_FFT_algorithm#General_factorizations .  Steven G. Johnson. Diagram to illustrate the general Cooley-Tukey FFT algorithm 2010. URL https:\/\/en.wikipedia.org\/wiki\/ Cooley%E2%80%93Tukey_FFT_algorithm#General_factorizations ."},{"key":"e_1_2_1_29_1","volume-title":"Glasgow Workshop on Functional Programming","author":"Jones Geraint","year":"1989"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4471-3182-3_6"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","DOI":"10.1007\/BFb0097892"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/1863543.1863582"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1145\/1017753.1017794"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1145\/322217.322232"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1145\/1863523.1863529"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.4204\/EPTCS.76.6"},{"key":"e_1_2_1_37_1","volume-title":"GHC.Generics","author":"Pedro Jos\u00e9","year":"2011"},{"key":"e_1_2_1_38_1","unstructured":"Conor McBride. The derivative of a regular type is its type of one-hole contexts (extended abstract) 2001. Unpublished.  Conor McBride. The derivative of a regular type is its type of one-hole contexts (extended abstract) 2001. Unpublished."},{"key":"e_1_2_1_39_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796807006326"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1142\/S0129626494000302"},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1109\/EMPDP.1993.336410"},{"key":"e_1_2_1_42_1","volume-title":"Hardware Design and Functional Languages","author":"Sheeran Mary","year":"2007"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1017\/S0956796810000304"},{"key":"e_1_2_1_44_1","doi-asserted-by":"publisher","DOI":"10.1109\/TEC.1960.5219822"},{"key":"e_1_2_1_45_1","doi-asserted-by":"publisher","DOI":"10.1145\/2103786.2103795"}],"container-title":["Proceedings of the ACM on Programming Languages"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110251","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3110251","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T04:38:44Z","timestamp":1750221524000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3110251"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2017,8,29]]},"references-count":42,"journal-issue":{"issue":"ICFP","published-print":{"date-parts":[[2017,8,29]]}},"alternative-id":["10.1145\/3110251"],"URL":"https:\/\/doi.org\/10.1145\/3110251","relation":{},"ISSN":["2475-1421"],"issn-type":[{"value":"2475-1421","type":"electronic"}],"subject":[],"published":{"date-parts":[[2017,8,29]]},"assertion":[{"value":"2017-08-29","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}