From 89dec9ef4487ef541438840be4682848afc145fa Mon Sep 17 00:00:00 2001 From: Foxboron Date: Mon, 8 Sep 2014 16:57:52 +0200 Subject: [PATCH] Fixed example to be streamlined --- docs/contrib/multi.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/contrib/multi.rst b/docs/contrib/multi.rst index dc4bf64..91d8cfa 100644 --- a/docs/contrib/multi.rst +++ b/docs/contrib/multi.rst @@ -11,13 +11,13 @@ args and/or kwargs. Inspired by clojures take on `defn`. => (require hy.contrib.multi) => (defmulti fun - ... ([a] a) + ... ([a] "a") ... ([a b] "a b") ... ([a b c] "a b c")) - => (fun 1 2 3) - 'a b c' - => (fun a b) - "a b" => (fun 1) - 1 + "a" + => (fun 1 2) + "a b" + => (fun 1 2 3) + "a b c"