{"id":11906,"date":"2015-08-01T11:45:54","date_gmt":"2015-08-01T15:45:54","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=11906"},"modified":"2019-01-22T15:41:45","modified_gmt":"2019-01-22T20:41:45","slug":"a-catalog-of-functional-refactorings","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/08\/01\/a-catalog-of-functional-refactorings\/","title":{"rendered":"A Catalog of Functional Refactorings"},"content":{"rendered":"<p>Simon Thompson and Claus Reinke (<a href=\"http:\/\/www.cs.kent.ac.uk\/projects\/refactor-fp\/publications\/refactoring-draft-catalogue.pdf\">PDF<\/a>) (via <a href=\"https:\/\/alpha.app.net\/jws\/post\/62813858\">Jeremy W. Sherman<\/a>):<\/p>\n<blockquote cite=\"http:\/\/www.cs.kent.ac.uk\/projects\/refactor-fp\/publications\/refactoring-draft-catalogue.pdf\"><p>This document is the first draft of a catalogue of refactorings for functional programs. Most are applicable to a variety of modern functional programming languages &#8211; with the example code begin written in Haskell &#8211; but some relate specifically to Haskell and are marked as such.<\/p><\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Simon Thompson and Claus Reinke (PDF) (via Jeremy W. Sherman): This document is the first draft of a catalogue of refactorings for functional programs. Most are applicable to a variety of modern functional programming languages &#8211; with the example code begin written in Haskell &#8211; but some relate specifically to Haskell and are marked as [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-01-22T20:41:47Z","apple_news_api_id":"e50af939-4d2e-4ae1-b2df-d31a2524cb3d","apple_news_api_modified_at":"2019-01-22T20:41:49Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/A5Qr5OU0uSuGy39MaJSTLPQ","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[27,361,71,816],"class_list":["post-11906","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-craft","tag-haskell","tag-programming","tag-refactoring"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11906","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=11906"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11906\/revisions"}],"predecessor-version":[{"id":11907,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/11906\/revisions\/11907"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=11906"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=11906"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=11906"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}