diff options
author | EuAndreh <eu@euandre.org> | 2021-04-24 17:50:22 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2021-04-24 17:50:44 -0300 |
commit | b7bc24827c15e802c867eefdc562fab0db1b49af (patch) | |
tree | d5259134fd3bd9af234df0b331e7fb1a9415b117 /locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po | |
parent | Add po files for new TILs, update whitespace of others (diff) | |
download | euandre.org-b7bc24827c15e802c867eefdc562fab0db1b49af.tar.gz euandre.org-b7bc24827c15e802c867eefdc562fab0db1b49af.tar.xz |
Proofread TIL on CLOS
Diffstat (limited to 'locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po')
-rw-r--r-- | locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po | 42 |
1 files changed, 28 insertions, 14 deletions
diff --git a/locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po b/locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po index 67ff1b4..67c4f2e 100644 --- a/locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po +++ b/locale/pt/LC_MESSAGES/_tils/2021-04-24-clojure-auto-curry.po @@ -97,20 +97,6 @@ msgid "My attempt at writing an equivalent for Common Lisp gives me:" 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 "" "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." @@ -125,3 +111,31 @@ 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" +#~ " (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 "" |