{"id":13445,"date":"2016-02-08T13:29:20","date_gmt":"2016-02-08T18:29:20","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=13445"},"modified":"2016-02-09T11:30:40","modified_gmt":"2016-02-09T16:30:40","slug":"the-evolution-of-a-haskell-programmer","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2016\/02\/08\/the-evolution-of-a-haskell-programmer\/","title":{"rendered":"The Evolution of a Haskell Programmer"},"content":{"rendered":"<p><a href=\"http:\/\/www.willamette.edu\/~fruehr\/haskell\/evolution.html\">Fritz Ruehr<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.willamette.edu\/~fruehr\/haskell\/evolution.html\"><p>Some time later, I came across Iavor&rsquo;s &ldquo;jokes&rdquo; page, including a \nfunny bit called\n&ldquo;<a href=\"http:\/\/www.cse.ogi.edu\/~diatchki\/jokes\/programmer.html\">The Evolution of a Programmer<\/a>&ldquo; \nin which the traditional imperative &ldquo;Hello, world&rdquo; program is\ndeveloped through several variations,\nfrom simple beginnings to a ridiculously complex extreme.\nA moment&rsquo;s thought turned up the factorial function as the best\nfunctional counterpart of &ldquo;Hello, world&rdquo;. \nSuddenly the Muse struck and I knew I must write out these examples,\nculminating (well, almost) in the heavily generalized categorical\nversion of factorial provided by Uustalu, Vene and Pardo.<\/p><p>[&#8230;]<\/p><p>On a more serious note, I think that the basic idea of the joke (successive variations on a theme, building in complexity) can serve a good pedagogical purpose as well as a humorous one.<\/p><\/blockquote>\n<p>Update (2016-02-09): Comments from <a href=\"https:\/\/news.ycombinator.com\/item?id=11060257\">Hacker News<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Fritz Ruehr: Some time later, I came across Iavor&rsquo;s &ldquo;jokes&rdquo; page, including a funny bit called &ldquo;The Evolution of a Programmer&ldquo; in which the traditional imperative &ldquo;Hello, world&rdquo; program is developed through several variations, from simple beginnings to a ridiculously complex extreme. A moment&rsquo;s thought turned up the factorial function as the best functional counterpart [&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":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","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":[361,71],"class_list":["post-13445","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-haskell","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13445","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=13445"}],"version-history":[{"count":2,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13445\/revisions"}],"predecessor-version":[{"id":13456,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/13445\/revisions\/13456"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=13445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=13445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=13445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}