aboutsummaryrefslogtreecommitdiff
path: root/locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2021-04-24 18:28:27 -0300
committerEuAndreh <eu@euandre.org>2021-04-24 18:30:06 -0300
commit75423d429d637a311748adff0599136c70522f12 (patch)
tree063d5163077ebd89ad4ad4a4fd5777464f5c74f5 /locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po
parentProofread TIL on Clojure auto currying (diff)
downloadeuandre.org-75423d429d637a311748adff0599136c70522f12.tar.gz
euandre.org-75423d429d637a311748adff0599136c70522f12.tar.xz
Add references section to TIL on CLOS
Diffstat (limited to 'locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po')
-rw-r--r--locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po79
1 files changed, 43 insertions, 36 deletions
diff --git a/locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po b/locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po
index 67c4f2e..8e448d0 100644
--- a/locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po
+++ b/locale/fr/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po
@@ -18,13 +18,6 @@ msgid "ref: clojure-auto-curry"
msgstr ""
msgid ""
-"A simple macro defined by [Loretta "
-"He](http://lorettahe.github.io/clojure/2016/09/22/clojure-auto-curry) to "
-"create Clojure functions that are curried on all arguments, relying on "
-"Clojure's multi-arity support:"
-msgstr ""
-
-msgid ""
"(defmacro defcurry\n"
" [fname args & body]\n"
" (let [partials (map (fn [n]\n"
@@ -90,41 +83,55 @@ msgstr ""
msgid "Same Clojure as before, now with auto-currying via macros."
msgstr ""
-msgid "Comparison with Common Lisp"
+msgid ""
+"Here's a simple macro defined by [Loretta "
+"He](http://lorettahe.github.io/clojure/2016/09/22/clojure-auto-curry) to "
+"create Clojure functions that are curried on all arguments, relying on "
+"Clojure's multi-arity support:"
msgstr ""
-msgid "My attempt at writing an equivalent for Common Lisp gives me:"
-msgstr ""
+#~ msgid ""
+#~ "A simple macro defined by [Loretta "
+#~ "He](http://lorettahe.github.io/clojure/2016/09/22/clojure-auto-curry) to "
+#~ "create Clojure functions that are curried on all arguments, relying on "
+#~ "Clojure's multi-arity support:"
+#~ msgstr ""
-msgid ""
-"Without built-in multi-arity support, we have to do more work, like tracking"
-" the number of arguments consumed so far. That is, without dependending on "
-"any library, sticking to ANSI Common Lisp."
-msgstr ""
+#~ msgid "Comparison with Common Lisp"
+#~ msgstr ""
-msgid ""
-"This also require `funcall`s, since we return a `lambda` that doesn't live "
-"in the function namespace."
-msgstr ""
+#~ msgid "My attempt at writing an equivalent for Common Lisp gives me:"
+#~ msgstr ""
-msgid ""
-"Like the Clojure one, it doesn't support optional parameters, `&rest` rest "
-"arguments, docstrings, etc., but it also could evolve to do so."
-msgstr ""
+#~ msgid ""
+#~ "Without built-in multi-arity support, we have to do more work, like tracking"
+#~ " the number of arguments consumed so far. That is, without dependending on "
+#~ "any library, sticking to ANSI Common Lisp."
+#~ msgstr ""
-msgid ""
-"(defun curry-n (n fn)\n"
-" (if (= 0 n)\n"
-" (funcall fn)\n"
-" (lambda (&rest rest)\n"
-" (curry-n (something n) fn))))\n"
-"\n"
-"(defun add (a b c d e)\n"
-" (curry-n\n"
-" (length '(a b c d e))\n"
-" (lambda (&rest rest)\n"
-" (apply #'+ rest))))\n"
-msgstr ""
+#~ msgid ""
+#~ "This also require `funcall`s, since we return a `lambda` that doesn't live "
+#~ "in the function namespace."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "Like the Clojure one, it doesn't support optional parameters, `&rest` rest "
+#~ "arguments, docstrings, etc., but it also could evolve to do so."
+#~ msgstr ""
+
+#~ msgid ""
+#~ "(defun curry-n (n fn)\n"
+#~ " (if (= 0 n)\n"
+#~ " (funcall fn)\n"
+#~ " (lambda (&rest rest)\n"
+#~ " (curry-n (something n) fn))))\n"
+#~ "\n"
+#~ "(defun add (a b c d e)\n"
+#~ " (curry-n\n"
+#~ " (length '(a b c d e))\n"
+#~ " (lambda (&rest rest)\n"
+#~ " (apply #'+ rest))))\n"
+#~ msgstr ""
#~ msgid ""
#~ "(defun curry-n (n fn)\n"