Fix require to new syntax

This commit is contained in:
Tuukka Turto 2016-11-03 14:32:23 +02:00
parent 77bc767907
commit bae4d61e04
2 changed files with 2 additions and 3 deletions

View File

@ -11,7 +11,7 @@ on the code by `Adam Bard`_.
.. code-block:: clj
=> (require [hy.contrib.multi [defmulti defmethod]])
=> (require [hy.contrib.multi [defmulti defmethod default-method]])
=> (defmulti area [shape]
... "calculate area of a shape"
... (:type shape))

View File

@ -19,8 +19,7 @@
;; FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
;; DEALINGS IN THE SOFTWARE.
(require [hy.contrib.multi [defmulti]])
(require [hy.contrib.multi [defmulti defmethod default-method]])
(defn test-different-signatures []
"NATIVE: Test multimethods with different signatures"