{"id":4938,"date":"2016-02-02T09:59:00","date_gmt":"2016-02-02T14:59:00","guid":{"rendered":"http:\/\/irreal.org\/blog\/?p=4938"},"modified":"2016-02-02T09:59:54","modified_gmt":"2016-02-02T14:59:54","slug":"emacs-pcase","status":"publish","type":"post","link":"https:\/\/irreal.org\/blog\/?p=4938","title":{"rendered":"Emacs <code>pcase<\/code>"},"content":{"rendered":"<p> Pattern matching is a powerful paradigm in programming. Recent versions of Emacs Lisp implement this paradigm with the <code>pcase<\/code> macro. Unfortunately, <code>pcase<\/code> can be a bit difficult to understand. Fortunately, our Emacs maintainer, John Wiegley, has published an <a href=\"http:\/\/newartisans.com\/2016\/01\/pattern-matching-with-pcase\/\">excellent tutorial on its use<\/a>. <\/p>\n<p> The tutorial doesn&#8217;t address how to leverage pattern matching in your programming but it <i>does<\/i> cover the use of <code>pcase<\/code>. It&#8217;s a powerful idea and can often be useful. Take a look at Wiegley&#8217;s tutorial to get started. <\/p>\n","protected":false},"excerpt":{"rendered":"<p>Pattern matching is a powerful paradigm in programming. Recent versions of Emacs Lisp implement this paradigm with the pcase macro. Unfortunately, pcase can be a bit difficult to understand. Fortunately, our Emacs maintainer, John Wiegley, has published an excellent tutorial &hellip; <a href=\"https:\/\/irreal.org\/blog\/?p=4938\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[18],"class_list":["post-4938","post","type-post","status-publish","format-standard","hentry","category-programming","tag-emacs"],"_links":{"self":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4938","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4938"}],"version-history":[{"count":1,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4938\/revisions"}],"predecessor-version":[{"id":4939,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4938\/revisions\/4939"}],"wp:attachment":[{"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4938"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4938"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/irreal.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4938"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}