oh yeah, make this a clojure syntax block in the docs
This commit is contained in:
parent
b6d730c044
commit
0a362a2120
@ -418,6 +418,8 @@ Hy also supports **args and **kwargs. In Python::
|
|||||||
|
|
||||||
The Hy equivalent:
|
The Hy equivalent:
|
||||||
|
|
||||||
|
.. code-block:: clj
|
||||||
|
|
||||||
(defn some_func [foo bar &rest args &kwargs kwargs]
|
(defn some_func [foo bar &rest args &kwargs kwargs]
|
||||||
(import pprint)
|
(import pprint)
|
||||||
(pprint.pprint (, foo bar args kwargs)))
|
(pprint.pprint (, foo bar args kwargs)))
|
||||||
|
Loading…
Reference in New Issue
Block a user