aboutsummaryrefslogtreecommitdiff
path: root/locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-11-04 17:38:20 -0300
committernixpkgs-review <nixpkgs-review@example.com>2020-11-04 17:38:31 -0300
commit74e220677ac2cb1bef16d0f62092d56db6f62e1d (patch)
tree584206f01cc1b1a2dffedbffb943d4d7fb601ac2 /locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po
parentUpdate mdpo version: 0.2.36 -> 0.2.37 (diff)
downloadeuandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.gz
euandre.org-74e220677ac2cb1bef16d0f62092d56db6f62e1d.tar.xz
Add all code blocks to translation po files
Diffstat (limited to 'locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po')
-rw-r--r--locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po21
1 files changed, 21 insertions, 0 deletions
diff --git a/locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po b/locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po
index a5eea70..5340de6 100644
--- a/locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po
+++ b/locale/fr/LC_MESSAGES/_pastebins/2016-04-05-rpn-macro-setup.po
@@ -8,3 +8,24 @@ msgid ""
"layout: pastebin\n"
"lang: en"
msgstr ""
+
+msgid ""
+"(defmacro rpn (body)\n"
+" (rpn-expander body))\n"
+"\n"
+"(defun rpn-expander (body)\n"
+" (mapcar (lambda (x)\n"
+" (if (listp x)\n"
+" (rpn-expander x)\n"
+" x))\n"
+" (reverse body)))\n"
+"\n"
+"(rpn ((2 1 +) 2 *))\n"
+"; => 6\n"
+"\n"
+"#|\n"
+"Just a quick stub.\n"
+"\n"
+"One could easily improve #'RPN-EXPANDER in order to better suit one's needs.\n"
+"|#\n"
+msgstr ""